@docx-editor.dev/vue 2.32.0 → 2.34.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 +322 -15
- package/dist/index.d.ts +322 -15
- package/dist/index.js +3 -3
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -7,16 +7,17 @@ import * as vue from 'vue';
|
|
|
7
7
|
import { Ref, VNode, PropType, SlotsType, VNodeChild, CSSProperties, Component, FunctionalComponent, VNodeProps, AllowedComponentProps, ComponentCustomProps, ShallowRef, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter as MaybeRefOrGetter$1 } from 'vue';
|
|
8
8
|
import * as _docx_editor_dev_core_editor from '@docx-editor.dev/core/editor';
|
|
9
9
|
import { UnsupportedElementRule, UnsupportedElement, RevisionMarkupDialogSession, ResolvedRevisionMarkup, RevisionMarkupOptions, ChromeExportFormat, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, InvalidTextFormFieldSession, TextFormFieldDialogSession, ParagraphDialogFields, ParagraphDialogMixed, BookmarkSortOrder, SplitCellLimits, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, FontConfigurationFragment, FontResolver, FontShapingOptions, EditorModule, ReviewDisplayMode, FieldResultsMode, ContentLockPolicy, LockedControlNavigation, 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';
|
|
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, UnsupportedElement, UnsupportedElementLayout, UnsupportedElementRule, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createDocumentRefresh, createFontSource, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
|
|
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, UnsupportedElement, UnsupportedElementLayout, UnsupportedElementRule, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createDocumentRefresh, createFontSource, deferFonts, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
|
|
11
11
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
12
12
|
import * as _docx_editor_dev_core from '@docx-editor.dev/core';
|
|
13
13
|
import { ContentControlType, ContentControlSummary } from '@docx-editor.dev/core';
|
|
14
|
-
import { Editor, ViewScope, EditorCommand, WatermarkState, BookmarkSummary, DocumentSource, FontConfiguration, ZoomMode, DocumentChange, EditorFontError, TextMatch, ExecResult, DocumentOpenFailure, DocumentHandle, EditorExecOptions, EditorScope, EditorSnapshot, EditorEvents, HighlightOptions, HighlightResult, HighlightRange, HighlightHit, PageSetup, IndentFormatting, Watermark, ColorValue, Theme } from '@docx-editor.dev/core/contracts/editor';
|
|
14
|
+
import { Editor, ViewScope, EditorCommand, WatermarkState, BookmarkSummary, DocumentSource, FontConfiguration, ZoomMode, TableInteractionLabelKey, DocumentChange, EditorFontError, TextMatch, ExecResult, DocumentOpenFailure, DocumentHandle, EditorExecOptions, EditorScope, EditorSnapshot, EditorEvents, HighlightOptions, HighlightResult, HighlightRange, HighlightHit, PageSetup, IndentFormatting, Watermark, ColorValue, Theme } from '@docx-editor.dev/core/contracts/editor';
|
|
15
15
|
export { AnchorHighlightAnimation, AnchorHighlightOptions, ClearAnchorHighlightOptions, DocumentOpenFailure, DocumentOpenFailureReason, Editor, EditorCommand, EditorFontError, EditorFontErrorCode, EditorQuery, EditorScope, EditorSnapshot, FontConfiguration, FontFaceRequest, FontSource, FontSourceSubstitution, HighlightHit, HighlightOptions, HighlightRange, HighlightRect, HighlightResult, PageSetup, ScrollToAnchorOptions, TextMatch, Watermark, WatermarkState } from '@docx-editor.dev/core/contracts/editor';
|
|
16
16
|
import * as _docx_editor_dev_i18n from '@docx-editor.dev/i18n';
|
|
17
17
|
import { TFunction, Translations, LocaleStrings } from '@docx-editor.dev/i18n';
|
|
18
18
|
export { TranslationKey } from '@docx-editor.dev/i18n';
|
|
19
19
|
export { DocxDocument } from '@docx-editor.dev/core/contracts/types';
|
|
20
|
+
export { DrawingGraphicKind, DrawingSupport, DrawingSupportIssue } from '@docx-editor.dev/core/store';
|
|
20
21
|
|
|
21
22
|
/** @public */
|
|
22
23
|
declare const VERSION: string;
|
|
@@ -36,16 +37,33 @@ type DocxEditorChildren = VNode;
|
|
|
36
37
|
|
|
37
38
|
/** Props for a registered unsupported-content renderer. @public */
|
|
38
39
|
interface DocxEditorUnsupportedElementProps extends UnsupportedElementRule {
|
|
40
|
+
/**
|
|
41
|
+
* Include partially rendered drawings (`support: 'partial'`). Defaults to `false`.
|
|
42
|
+
* Excludes fully supported drawings, hidden drawings, and drawings without a layout position.
|
|
43
|
+
* Excludes shapes with editable text. Partially rendered shapes without text remain eligible.
|
|
44
|
+
*/
|
|
45
|
+
includePartial?: UnsupportedElementRule['includePartial'];
|
|
39
46
|
}
|
|
40
47
|
/**
|
|
41
48
|
* Register a renderer under DocxEditor or DocxEditor.Root.
|
|
42
49
|
* The first mounted matching declaration wins. Prop updates retain its priority.
|
|
43
|
-
* Omit match for a catch-all. Empty slot content
|
|
44
|
-
*
|
|
50
|
+
* Omit match for a catch-all. Empty slot content, or a child component that renders nothing,
|
|
51
|
+
* keeps what the editor shows. The default slot
|
|
52
|
+
* renders once for each occurrence; put composables in a child component that it renders. To
|
|
53
|
+
* build a preview DOCX in that component, use `drawingPreviewDocx` from
|
|
54
|
+
* `@docx-editor.dev/core/editor`.
|
|
55
|
+
* Layout uses points and only sizes content without an existing layout box. Custom content
|
|
56
|
+
* gets the occurrence's box (`element.bounds`); size it to 100% of the width and height.
|
|
57
|
+
* Clicking a custom preview selects the underlying drawing for moving, resizing, or deletion.
|
|
58
|
+
* Links, buttons, and form fields retain their normal behavior.
|
|
45
59
|
* Components can remount when pagination or virtualization removes an occurrence.
|
|
46
60
|
* @public
|
|
47
61
|
*/
|
|
48
62
|
declare const DocxEditorUnsupportedElement: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
63
|
+
includePartial: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
49
67
|
match: {
|
|
50
68
|
type: PropType<UnsupportedElementRule['match']>;
|
|
51
69
|
default: undefined;
|
|
@@ -57,6 +75,10 @@ declare const DocxEditorUnsupportedElement: vue.DefineComponent<vue.ExtractPropT
|
|
|
57
75
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
58
76
|
[key: string]: any;
|
|
59
77
|
}>[], {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
78
|
+
includePartial: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
60
82
|
match: {
|
|
61
83
|
type: PropType<UnsupportedElementRule['match']>;
|
|
62
84
|
default: undefined;
|
|
@@ -66,6 +88,7 @@ declare const DocxEditorUnsupportedElement: vue.DefineComponent<vue.ExtractPropT
|
|
|
66
88
|
default: undefined;
|
|
67
89
|
};
|
|
68
90
|
}>> & Readonly<{}>, {
|
|
91
|
+
includePartial: boolean;
|
|
69
92
|
match: ((element: UnsupportedElement) => boolean) | undefined;
|
|
70
93
|
layout: _docx_editor_dev_core_editor.UnsupportedElementLayout | undefined;
|
|
71
94
|
}, SlotsType<{
|
|
@@ -5148,6 +5171,109 @@ declare const ContextMenuPasteFormatting: {
|
|
|
5148
5171
|
interface ContextMenuTableRowProps extends ContextMenuCommandProps {
|
|
5149
5172
|
destructive?: boolean;
|
|
5150
5173
|
}
|
|
5174
|
+
/** Select every cell of the table at the selection. @public */
|
|
5175
|
+
declare const ContextMenuSelectTable: {
|
|
5176
|
+
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<vue.ExtractPropTypes<{
|
|
5177
|
+
icon: {
|
|
5178
|
+
type: PropType<VNode>;
|
|
5179
|
+
default: undefined;
|
|
5180
|
+
};
|
|
5181
|
+
labelKey: {
|
|
5182
|
+
type: StringConstructor;
|
|
5183
|
+
default: undefined;
|
|
5184
|
+
};
|
|
5185
|
+
className: {
|
|
5186
|
+
type: StringConstructor;
|
|
5187
|
+
default: undefined;
|
|
5188
|
+
};
|
|
5189
|
+
hidden: {
|
|
5190
|
+
type: BooleanConstructor;
|
|
5191
|
+
default: undefined;
|
|
5192
|
+
};
|
|
5193
|
+
destructive: {
|
|
5194
|
+
type: BooleanConstructor;
|
|
5195
|
+
default: undefined;
|
|
5196
|
+
};
|
|
5197
|
+
}>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
|
|
5198
|
+
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
5199
|
+
[key: string]: any;
|
|
5200
|
+
}>;
|
|
5201
|
+
labelKey: string;
|
|
5202
|
+
className: string;
|
|
5203
|
+
hidden: boolean;
|
|
5204
|
+
destructive: boolean;
|
|
5205
|
+
}, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
5206
|
+
P: {};
|
|
5207
|
+
B: {};
|
|
5208
|
+
D: {};
|
|
5209
|
+
C: {};
|
|
5210
|
+
M: {};
|
|
5211
|
+
Defaults: {};
|
|
5212
|
+
}, Readonly<vue.ExtractPropTypes<{
|
|
5213
|
+
icon: {
|
|
5214
|
+
type: PropType<VNode>;
|
|
5215
|
+
default: undefined;
|
|
5216
|
+
};
|
|
5217
|
+
labelKey: {
|
|
5218
|
+
type: StringConstructor;
|
|
5219
|
+
default: undefined;
|
|
5220
|
+
};
|
|
5221
|
+
className: {
|
|
5222
|
+
type: StringConstructor;
|
|
5223
|
+
default: undefined;
|
|
5224
|
+
};
|
|
5225
|
+
hidden: {
|
|
5226
|
+
type: BooleanConstructor;
|
|
5227
|
+
default: undefined;
|
|
5228
|
+
};
|
|
5229
|
+
destructive: {
|
|
5230
|
+
type: BooleanConstructor;
|
|
5231
|
+
default: undefined;
|
|
5232
|
+
};
|
|
5233
|
+
}>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, {
|
|
5234
|
+
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
5235
|
+
[key: string]: any;
|
|
5236
|
+
}>;
|
|
5237
|
+
labelKey: string;
|
|
5238
|
+
className: string;
|
|
5239
|
+
hidden: boolean;
|
|
5240
|
+
destructive: boolean;
|
|
5241
|
+
}>;
|
|
5242
|
+
__isFragment?: never;
|
|
5243
|
+
__isTeleport?: never;
|
|
5244
|
+
__isSuspense?: never;
|
|
5245
|
+
} & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
|
|
5246
|
+
icon: {
|
|
5247
|
+
type: PropType<VNode>;
|
|
5248
|
+
default: undefined;
|
|
5249
|
+
};
|
|
5250
|
+
labelKey: {
|
|
5251
|
+
type: StringConstructor;
|
|
5252
|
+
default: undefined;
|
|
5253
|
+
};
|
|
5254
|
+
className: {
|
|
5255
|
+
type: StringConstructor;
|
|
5256
|
+
default: undefined;
|
|
5257
|
+
};
|
|
5258
|
+
hidden: {
|
|
5259
|
+
type: BooleanConstructor;
|
|
5260
|
+
default: undefined;
|
|
5261
|
+
};
|
|
5262
|
+
destructive: {
|
|
5263
|
+
type: BooleanConstructor;
|
|
5264
|
+
default: undefined;
|
|
5265
|
+
};
|
|
5266
|
+
}>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
|
|
5267
|
+
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
5268
|
+
[key: string]: any;
|
|
5269
|
+
}>;
|
|
5270
|
+
labelKey: string;
|
|
5271
|
+
className: string;
|
|
5272
|
+
hidden: boolean;
|
|
5273
|
+
destructive: boolean;
|
|
5274
|
+
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
5275
|
+
docxRow: string;
|
|
5276
|
+
};
|
|
5151
5277
|
/** @public */
|
|
5152
5278
|
declare const ContextMenuInsertRowAbove: {
|
|
5153
5279
|
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<vue.ExtractPropTypes<{
|
|
@@ -6251,6 +6377,94 @@ declare const ContextMenuRefreshTocPageNumbers: {
|
|
|
6251
6377
|
docxRow: string;
|
|
6252
6378
|
};
|
|
6253
6379
|
/** @public */
|
|
6380
|
+
declare const ContextMenuRemoveToc: {
|
|
6381
|
+
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<vue.ExtractPropTypes<{
|
|
6382
|
+
icon: {
|
|
6383
|
+
type: PropType<VNode>;
|
|
6384
|
+
default: undefined;
|
|
6385
|
+
};
|
|
6386
|
+
labelKey: {
|
|
6387
|
+
type: StringConstructor;
|
|
6388
|
+
default: undefined;
|
|
6389
|
+
};
|
|
6390
|
+
className: {
|
|
6391
|
+
type: StringConstructor;
|
|
6392
|
+
default: undefined;
|
|
6393
|
+
};
|
|
6394
|
+
hidden: {
|
|
6395
|
+
type: BooleanConstructor;
|
|
6396
|
+
default: undefined;
|
|
6397
|
+
};
|
|
6398
|
+
}>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
|
|
6399
|
+
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
6400
|
+
[key: string]: any;
|
|
6401
|
+
}>;
|
|
6402
|
+
labelKey: string;
|
|
6403
|
+
className: string;
|
|
6404
|
+
hidden: boolean;
|
|
6405
|
+
}, true, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
6406
|
+
P: {};
|
|
6407
|
+
B: {};
|
|
6408
|
+
D: {};
|
|
6409
|
+
C: {};
|
|
6410
|
+
M: {};
|
|
6411
|
+
Defaults: {};
|
|
6412
|
+
}, Readonly<vue.ExtractPropTypes<{
|
|
6413
|
+
icon: {
|
|
6414
|
+
type: PropType<VNode>;
|
|
6415
|
+
default: undefined;
|
|
6416
|
+
};
|
|
6417
|
+
labelKey: {
|
|
6418
|
+
type: StringConstructor;
|
|
6419
|
+
default: undefined;
|
|
6420
|
+
};
|
|
6421
|
+
className: {
|
|
6422
|
+
type: StringConstructor;
|
|
6423
|
+
default: undefined;
|
|
6424
|
+
};
|
|
6425
|
+
hidden: {
|
|
6426
|
+
type: BooleanConstructor;
|
|
6427
|
+
default: undefined;
|
|
6428
|
+
};
|
|
6429
|
+
}>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, {
|
|
6430
|
+
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
6431
|
+
[key: string]: any;
|
|
6432
|
+
}>;
|
|
6433
|
+
labelKey: string;
|
|
6434
|
+
className: string;
|
|
6435
|
+
hidden: boolean;
|
|
6436
|
+
}>;
|
|
6437
|
+
__isFragment?: never;
|
|
6438
|
+
__isTeleport?: never;
|
|
6439
|
+
__isSuspense?: never;
|
|
6440
|
+
} & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
|
|
6441
|
+
icon: {
|
|
6442
|
+
type: PropType<VNode>;
|
|
6443
|
+
default: undefined;
|
|
6444
|
+
};
|
|
6445
|
+
labelKey: {
|
|
6446
|
+
type: StringConstructor;
|
|
6447
|
+
default: undefined;
|
|
6448
|
+
};
|
|
6449
|
+
className: {
|
|
6450
|
+
type: StringConstructor;
|
|
6451
|
+
default: undefined;
|
|
6452
|
+
};
|
|
6453
|
+
hidden: {
|
|
6454
|
+
type: BooleanConstructor;
|
|
6455
|
+
default: undefined;
|
|
6456
|
+
};
|
|
6457
|
+
}>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
|
|
6458
|
+
icon: VNode<vue.RendererNode, vue.RendererElement, {
|
|
6459
|
+
[key: string]: any;
|
|
6460
|
+
}>;
|
|
6461
|
+
labelKey: string;
|
|
6462
|
+
className: string;
|
|
6463
|
+
hidden: boolean;
|
|
6464
|
+
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
6465
|
+
docxRow: string;
|
|
6466
|
+
};
|
|
6467
|
+
/** @public */
|
|
6254
6468
|
interface ContextMenuItemProps {
|
|
6255
6469
|
label: string;
|
|
6256
6470
|
icon?: DocxEditorChildren;
|
|
@@ -6412,6 +6626,7 @@ interface DocxEditorContextMenuNamespace {
|
|
|
6412
6626
|
readonly PasteWithoutFormatting: typeof ContextMenuPasteWithoutFormatting;
|
|
6413
6627
|
readonly Delete: typeof ContextMenuDelete;
|
|
6414
6628
|
readonly SelectAll: typeof ContextMenuSelectAll;
|
|
6629
|
+
readonly SelectTable: typeof ContextMenuSelectTable;
|
|
6415
6630
|
readonly InsertRowAbove: typeof ContextMenuInsertRowAbove;
|
|
6416
6631
|
readonly InsertRowBelow: typeof ContextMenuInsertRowBelow;
|
|
6417
6632
|
readonly InsertColumnLeft: typeof ContextMenuInsertColumnLeft;
|
|
@@ -6424,6 +6639,7 @@ interface DocxEditorContextMenuNamespace {
|
|
|
6424
6639
|
readonly CellVerticalAlignment: typeof ContextMenuCellVerticalAlignment;
|
|
6425
6640
|
readonly RefreshToc: typeof ContextMenuRefreshToc;
|
|
6426
6641
|
readonly RefreshTocPageNumbers: typeof ContextMenuRefreshTocPageNumbers;
|
|
6642
|
+
readonly RemoveToc: typeof ContextMenuRemoveToc;
|
|
6427
6643
|
readonly Item: typeof ContextMenuItem;
|
|
6428
6644
|
readonly Slot: typeof MenuItem;
|
|
6429
6645
|
readonly Row: typeof MenuRow;
|
|
@@ -6550,8 +6766,16 @@ interface DocxEditorRootProps {
|
|
|
6550
6766
|
* ignored, with a development warning.
|
|
6551
6767
|
*/
|
|
6552
6768
|
lockedControlNavigation?: LockedControlNavigation;
|
|
6553
|
-
tableInteractionLabel?: (key:
|
|
6769
|
+
tableInteractionLabel?: (key: TableInteractionLabelKey) => string;
|
|
6554
6770
|
imageDecodePort?: ImageDecodePort;
|
|
6771
|
+
/**
|
|
6772
|
+
* Colour theme of the composed chrome, as on `DocxEditor`. `'dark'` puts `.dark` beside
|
|
6773
|
+
* `.docx-editor` on every part that scopes itself (toolbar, menu bar, viewport, dialogs),
|
|
6774
|
+
* and `'system'` follows the OS setting as it changes. Defaults to `'light'`. The page
|
|
6775
|
+
* content in the viewport is shown inverted in dark mode, as in `DocxEditor`. Changes
|
|
6776
|
+
* apply without a remount.
|
|
6777
|
+
*/
|
|
6778
|
+
colorMode?: 'light' | 'dark' | 'system';
|
|
6555
6779
|
onReady?: (editor: Editor) => void;
|
|
6556
6780
|
onChange?: (change: DocumentChange) => void;
|
|
6557
6781
|
onFontError?: (error: EditorFontError) => void;
|
|
@@ -6689,6 +6913,10 @@ declare const DocxEditorRoot: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
6689
6913
|
type: PropType<ImageDecodePort>;
|
|
6690
6914
|
default: undefined;
|
|
6691
6915
|
};
|
|
6916
|
+
colorMode: {
|
|
6917
|
+
type: PropType<'light' | 'dark' | 'system'>;
|
|
6918
|
+
default: undefined;
|
|
6919
|
+
};
|
|
6692
6920
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
6693
6921
|
[key: string]: any;
|
|
6694
6922
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -6760,6 +6988,10 @@ declare const DocxEditorRoot: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
6760
6988
|
type: PropType<ImageDecodePort>;
|
|
6761
6989
|
default: undefined;
|
|
6762
6990
|
};
|
|
6991
|
+
colorMode: {
|
|
6992
|
+
type: PropType<'light' | 'dark' | 'system'>;
|
|
6993
|
+
default: undefined;
|
|
6994
|
+
};
|
|
6763
6995
|
}>> & Readonly<{
|
|
6764
6996
|
onChange?: ((_change: DocumentChange) => any) | undefined;
|
|
6765
6997
|
onFontError?: ((_error: unknown) => any) | undefined;
|
|
@@ -6779,8 +7011,9 @@ declare const DocxEditorRoot: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
6779
7011
|
lockedControlNavigation: LockedControlNavigation;
|
|
6780
7012
|
zoom: number;
|
|
6781
7013
|
zoomMode: "auto" | ZoomMode;
|
|
6782
|
-
tableInteractionLabel: ((key:
|
|
7014
|
+
tableInteractionLabel: ((key: _docx_editor_dev_core.TableInteractionLabelKey) => string) | undefined;
|
|
6783
7015
|
imageDecodePort: ImageDecodePort;
|
|
7016
|
+
colorMode: "dark" | "light" | "system";
|
|
6784
7017
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
6785
7018
|
|
|
6786
7019
|
/** @public */
|
|
@@ -7357,7 +7590,7 @@ interface DocxEditorToolbarSlotProps {
|
|
|
7357
7590
|
*/
|
|
7358
7591
|
hidden?: boolean;
|
|
7359
7592
|
/**
|
|
7360
|
-
* Content for the slot's "⋯" panel row when
|
|
7593
|
+
* Content for the slot's "⋯" panel row when the slot leaves the bar. Without it the panel row
|
|
7361
7594
|
* shows the default slot content under the slot's label.
|
|
7362
7595
|
*/
|
|
7363
7596
|
overflowContent?: () => DocxEditorChildren;
|
|
@@ -9668,15 +9901,51 @@ interface UseEditorStateOptions {
|
|
|
9668
9901
|
/** @public */
|
|
9669
9902
|
declare function useEditorState<T>(selector: (snapshot: EditorSnapshot) => T, isEqual?: (a: T, b: T) => boolean, options?: UseEditorStateOptions): Readonly<ShallowRef<T>>;
|
|
9670
9903
|
|
|
9671
|
-
/** Coalesced deferred notifier for editor state ticks. @internal */
|
|
9672
9904
|
/** Decide the scheduling lane for one coalesced notification. @internal */
|
|
9673
9905
|
declare function notificationYieldsToTask(): boolean;
|
|
9674
9906
|
|
|
9675
9907
|
/** @public */
|
|
9676
9908
|
declare function useReviewAuthors(): Readonly<ShallowRef<readonly ReviewAuthorInfo[]>>;
|
|
9677
9909
|
|
|
9678
|
-
/**
|
|
9679
|
-
|
|
9910
|
+
/**
|
|
9911
|
+
* The scope class a part you build adds to its own root element: `'docx-editor '`, with `dark`
|
|
9912
|
+
* under a `DocxEditorRoot` whose `colorMode` resolved dark, or `''` when an ancestor is already
|
|
9913
|
+
* scoped. Call it in `setup`; it reads the theme once, so read it again to follow a change.
|
|
9914
|
+
*
|
|
9915
|
+
* @public
|
|
9916
|
+
*/
|
|
9917
|
+
declare function useScopeClassName(): '' | 'docx-editor ' | 'docx-editor dark ';
|
|
9918
|
+
|
|
9919
|
+
/**
|
|
9920
|
+
* The theme the enclosing editor resolved from `colorMode`, never `'system'`, as {@link useEditorColorMode} reports it.
|
|
9921
|
+
*
|
|
9922
|
+
* @public
|
|
9923
|
+
*/
|
|
9924
|
+
type ResolvedColorMode = 'light' | 'dark';
|
|
9925
|
+
/**
|
|
9926
|
+
* What {@link useEditorColorMode} returns.
|
|
9927
|
+
*
|
|
9928
|
+
* @public
|
|
9929
|
+
*/
|
|
9930
|
+
interface UseEditorColorModeReturn {
|
|
9931
|
+
/** The resolved theme: `'dark'` or `'light'`. Updates when `colorMode` or the OS setting changes. */
|
|
9932
|
+
readonly colorMode: ComputedRef<ResolvedColorMode>;
|
|
9933
|
+
}
|
|
9934
|
+
/**
|
|
9935
|
+
* The theme the enclosing `DocxEditorRoot` resolved from its `colorMode`, so parts you build
|
|
9936
|
+
* yourself can match the editor chrome. `'system'` resolves to the operating system's current
|
|
9937
|
+
* setting and updates when it changes. Outside a `DocxEditorRoot`, or without `colorMode`, the
|
|
9938
|
+
* answer is `'light'`. Call it in `setup`.
|
|
9939
|
+
*
|
|
9940
|
+
* @example
|
|
9941
|
+
* ```ts
|
|
9942
|
+
* const { colorMode } = useEditorColorMode();
|
|
9943
|
+
* const panelClass = computed(() => (colorMode.value === 'dark' ? 'panel panel--dark' : 'panel'));
|
|
9944
|
+
* ```
|
|
9945
|
+
*
|
|
9946
|
+
* @public
|
|
9947
|
+
*/
|
|
9948
|
+
declare function useEditorColorMode(): UseEditorColorModeReturn;
|
|
9680
9949
|
|
|
9681
9950
|
/** @public */
|
|
9682
9951
|
interface EditorCommandState {
|
|
@@ -9944,7 +10213,13 @@ interface UseHyperlinkPopupResult {
|
|
|
9944
10213
|
}
|
|
9945
10214
|
/** @public */
|
|
9946
10215
|
declare function isFieldLink(link: SurfaceHyperlink): boolean;
|
|
9947
|
-
/**
|
|
10216
|
+
/**
|
|
10217
|
+
* The hyperlink popover's behavior. Inside `DocxEditor.Root` it is the shared state that
|
|
10218
|
+
* `DocxEditor.HyperLink` renders, and calling it marks the component as a view of that
|
|
10219
|
+
* state. Outside a root it is a standalone instance that registers with the engine itself.
|
|
10220
|
+
*
|
|
10221
|
+
* @public
|
|
10222
|
+
*/
|
|
9948
10223
|
declare function useHyperlinkPopup(): UseHyperlinkPopupResult;
|
|
9949
10224
|
/** @public */
|
|
9950
10225
|
declare function useHyperlinkPopupInstance(active?: boolean): UseHyperlinkPopupResult;
|
|
@@ -10038,7 +10313,8 @@ declare function useScopedChromeAnchor(findAnchor: (viewport: HTMLElement) => HT
|
|
|
10038
10313
|
*/
|
|
10039
10314
|
type RulerPageSetup = NonNullable<ReturnType<Editor['getPageSetup']>>;
|
|
10040
10315
|
/**
|
|
10041
|
-
* A tab stop the ruler paints. `position` is twips from the
|
|
10316
|
+
* A tab stop the ruler paints. `position` is twips from the paragraph's leading margin
|
|
10317
|
+
* (the right one for a right-to-left paragraph) —
|
|
10042
10318
|
* the same value the `removeTabMark` command takes as `positionTwips`.
|
|
10043
10319
|
*/
|
|
10044
10320
|
interface RulerTabStop {
|
|
@@ -10703,6 +10979,15 @@ declare const DocumentOutline: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
10703
10979
|
/** @public */
|
|
10704
10980
|
interface LocaleProviderProps {
|
|
10705
10981
|
i18n?: Translations;
|
|
10982
|
+
/**
|
|
10983
|
+
* The writing direction of the editor chrome. Defaults to the catalog's `_dir`, then to a
|
|
10984
|
+
* right-to-left `_lang`, then to the direction of an outer provider. With `'rtl'`, the
|
|
10985
|
+
* toolbar, menu bar, dialogs, context menu, panes, and review column mirror without a
|
|
10986
|
+
* wrapper element. `'ltr'` keeps a left-to-right chrome on a right-to-left host page.
|
|
10987
|
+
* Without any of these, as with the shipped left-to-right catalogs, the chrome inherits
|
|
10988
|
+
* the host page direction.
|
|
10989
|
+
*/
|
|
10990
|
+
dir?: 'ltr' | 'rtl';
|
|
10706
10991
|
children?: DocxEditorChildren;
|
|
10707
10992
|
}
|
|
10708
10993
|
/** @public */
|
|
@@ -10711,6 +10996,10 @@ declare const LocaleProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
10711
10996
|
type: PropType<Translations>;
|
|
10712
10997
|
default: undefined;
|
|
10713
10998
|
};
|
|
10999
|
+
dir: {
|
|
11000
|
+
type: PropType<'ltr' | 'rtl'>;
|
|
11001
|
+
default: undefined;
|
|
11002
|
+
};
|
|
10714
11003
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
10715
11004
|
[key: string]: any;
|
|
10716
11005
|
}>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
@@ -10718,19 +11007,37 @@ declare const LocaleProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
10718
11007
|
type: PropType<Translations>;
|
|
10719
11008
|
default: undefined;
|
|
10720
11009
|
};
|
|
11010
|
+
dir: {
|
|
11011
|
+
type: PropType<'ltr' | 'rtl'>;
|
|
11012
|
+
default: undefined;
|
|
11013
|
+
};
|
|
10721
11014
|
}>> & Readonly<{}>, {
|
|
10722
11015
|
i18n: _docx_editor_dev_i18n.PartialLocaleStrings;
|
|
11016
|
+
dir: "ltr" | "rtl";
|
|
10723
11017
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
10724
11018
|
/**
|
|
10725
11019
|
* The active catalogue's `t()`, the catalogue itself, and its language tag (`_lang`, `en`
|
|
10726
|
-
* by default), which formats numbers the way the strings around them read.
|
|
11020
|
+
* by default), which formats numbers the way the strings around them read. Its `dir` is the
|
|
11021
|
+
* providers' direction, `'ltr'` when the chrome inherits a right-to-left host page; use
|
|
11022
|
+
* `useChromeDir()` for the direction a provider decided, `undefined` when inherited.
|
|
10727
11023
|
* @public
|
|
10728
11024
|
*/
|
|
10729
11025
|
declare function useTranslation(): {
|
|
10730
11026
|
t: TFunction;
|
|
10731
11027
|
catalogue: ShallowRef<LocaleStrings>;
|
|
10732
11028
|
lang: string;
|
|
11029
|
+
dir: 'ltr' | 'rtl';
|
|
10733
11030
|
};
|
|
11031
|
+
/**
|
|
11032
|
+
* The `dir` attribute a chrome part sets on its root, as a read-only ref: the direction a
|
|
11033
|
+
* provider decided (its `dir` prop, the catalog's `_dir`, or a right-to-left `_lang`),
|
|
11034
|
+
* otherwise nothing, so the part keeps the host page direction.
|
|
11035
|
+
*
|
|
11036
|
+
* Read it in your own controls to follow the editor chrome: `undefined` means the chrome
|
|
11037
|
+
* inherits the host page direction, so set no `dir` then.
|
|
11038
|
+
* @public
|
|
11039
|
+
*/
|
|
11040
|
+
declare function useChromeDir(): Readonly<ShallowRef<'ltr' | 'rtl' | undefined>>;
|
|
10734
11041
|
|
|
10735
11042
|
/** @public */
|
|
10736
11043
|
type ChromeTranslate = (key: string, params?: Record<string, string | number>) => string;
|
|
@@ -11049,5 +11356,5 @@ interface UseHistoryGroupReturn {
|
|
|
11049
11356
|
/** Bind a control's native gesture lifecycle. Apply values through the existing command hooks. @public */
|
|
11050
11357
|
declare function useHistoryGroup({ kind }: HistoryGroupBindingOptions): UseHistoryGroupReturn;
|
|
11051
11358
|
|
|
11052
|
-
export { CONTENT_CONTROL_SLOTS, ContextMenuCellVerticalAlignment, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, ContextMenuMergeCells, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, ContextMenuSplitCell, DEFAULT_WATERMARK_PRESETS, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, DocxEditorBookmarkDialog, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, DocxEditorContentControlWidget, DocxEditorContextMenu, DocxEditorDocumentOutline, DocxEditorEquation, DocxEditorExportDialog, DocxEditorFontNotice, DocxEditorHeaderFooterChrome, DocxEditorHorizontalRuler, DocxEditorHyperLink, DocxEditorImageAltTextPopup, DocxEditorImageInsertErrorDialog, DocxEditorImagePropertiesDialog, DocxEditorInvalidTextFormFieldDialog, DocxEditorLoading, DocxEditorLoadingSpinner, DocxEditorMenu, DocxEditorNavigation, DocxEditorNotePreview, DocxEditorNotePropertiesDialog, DocxEditorNotesChrome, DocxEditorNotesContextMenu, DocxEditorOpenFailure, DocxEditorOpenFailureAction, DocxEditorPageNumber, DocxEditorPageSetupDialog, DocxEditorParagraphDialog, DocxEditorPrintDialog, DocxEditorRevisionMarkup, DocxEditorRevisionMarkupDialog, DocxEditorRoot, DocxEditorShell, DocxEditorSplitCellDialog, DocxEditorTextFormFieldDialog, DocxEditorToolbar, DocxEditorUnsupportedElement, DocxEditorVerticalRuler, DocxEditorViewport, DocxEditorWatermarkDialog, DocxEditorWindow, 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, NavigationGoTo, 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, useBookmarkDialog, useBookmarks, useChromeTranslate, useCommentDraftRequest, useContentControl, useContentControlInstance, useContentControlWidget, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorHostDocument, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useGoToBookmark, useHeaderFooterState, useHighlightAt, useHighlights, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, useOpenFailure, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useRevisionMarkupDialog, useScopeClassName, useScopedChromeAnchor, useSplitCellDialog, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useWatermark, useWatermarkDialog, useZoom };
|
|
11053
|
-
export type { BookmarkDialogFields, ChromeTranslate, ContentControlActionProps, ContentControlInspectorState, ContentControlLock, ContentControlPartProps, ContentControlProps, ContentControlSlotId, ContentControlWidgetDayProps, ContentControlWidgetEntry, ContentControlWidgetItemProps, ContentControlWidgetPictureProps, ContextMenuAnchor, ContextMenuCommandProps, ContextMenuContextValue, ContextMenuItemProps, ContextMenuTableRowProps, DialogCustomizationProps, DialogPartProps, DocumentStyleSummary, DocxEditorAuthorStyleProps, DocxEditorBookmarkDialogProps, DocxEditorChildren, DocxEditorContentControlNamespace, DocxEditorContentControlWidgetNamespace, DocxEditorContentControlWidgetPartProps, DocxEditorContentControlWidgetProps, DocxEditorContentProps, DocxEditorContextMenuNamespace, DocxEditorContextMenuProps, DocxEditorDocumentOutlineProps, DocxEditorExportDialogProps, DocxEditorFontNoticeProps, DocxEditorHeaderFooterChromeProps, DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopupProps, DocxEditorImageInsertErrorDialogProps, DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoadingComponent, DocxEditorLoadingProps, DocxEditorLoadingSpinnerProps, DocxEditorMenuNamespace, DocxEditorMenuProps, DocxEditorNamespace, DocxEditorNavigationNamespace, DocxEditorNavigationProps, DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialogProps, DocxEditorNotesChromeProps, DocxEditorNotesContextMenuProps, DocxEditorOpenFailureActionProps, DocxEditorOpenFailureComponent, DocxEditorOpenFailureContext, DocxEditorOpenFailureMessage, DocxEditorOpenFailureProps, DocxEditorPageNumberProps, DocxEditorPageSetupDialogProps, DocxEditorParagraphDialogProps, DocxEditorPopup, DocxEditorPopups, DocxEditorPrintDialogProps, DocxEditorProps, DocxEditorRef, DocxEditorRefCallback, DocxEditorRevisionMarkupDialogProps, DocxEditorRevisionMarkupProps, DocxEditorRootListeners, DocxEditorRootProps, DocxEditorRulerProps, DocxEditorSplitCellDialogProps, DocxEditorTextFormFieldDialogProps, DocxEditorToolbarGroupProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorToolbarSlotProps, DocxEditorUnsupportedElementProps, DocxEditorViewportProps, DocxEditorWatermarkDialogProps, DocxEditorWindowProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontOption, FontsInput, FormattingAction, GoToBookmarkProblem, HeaderFooterState, HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, ListState, ListType, 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, ParagraphAlignment, ParagraphStyleItemProps, ParagraphStyleNamespace, ParagraphStyleOption, ParagraphStylePartProps, ParagraphStyleProps, ProvideDocxEditorResult, ReviewGutter, ReviewGutterInput, ReviewRailRegistry, ScopedChromeAnchor, ScopedChromeAnchorPlacement, SelectionFormatting, SlotProps, SplitCellDialogFields, TableAction, TableBorderColorNamespace, TableBorderStyleNamespace, TableBorderTargetNamespace, TableBorderWidthNamespace, TableCellFillNamespace, TableChromeItemProps, TableChromePartComponent, TableChromePartProps, TextFormFieldDialogFields, ToolbarActionProps, ToolbarAlignmentComponent, ToolbarButtonProps, ToolbarContextValue, ToolbarPartComponent, ToolbarPartProps, ToolbarProps, ToolbarReviewersProps, ToolbarSeparatorProps, ToolbarSlotPartComponent, ToolbarSlotPartProps, ToolbarTranslate, UseBookmarkDialogReturn, UseBookmarksReturn, UseContentControlResult, UseContentControlWidgetResult, UseDialogReturn, UseDocumentOutlineResult, UseDocumentSearchOptions, UseDocumentSearchResult, UseDocxSourceOptions, UseDocxSourceResult, UseEditorHostDocumentReturn, UseFontFamilyResult, UseGoToBookmarkOptions, UseGoToBookmarkReturn, UseHistoryGroupReturn, UseHyperlinkPopupResult, UseNavigationPaneOptions, UseNavigationPaneResult, UseOpenFailureOptions, UseOpenFailureReturn, UsePageSetupDialogReturn, UsePageSetupReturn, UseParagraphDialogReturn, UseParagraphFormatReturn, UseParagraphIndentReturn, UseParagraphStyleResult, UseRevisionMarkupDialogReturn, UseSplitCellDialogReturn, UseTextFormFieldDialogReturn, UseWatermarkDialogReturn, UseWatermarkReturn, UseZoomResult, VerticalRulerProps, WatermarkDialogFieldName, WatermarkDialogFields, WatermarkDialogKind, WatermarkDialogLayout };
|
|
11359
|
+
export { CONTENT_CONTROL_SLOTS, ContextMenuCellVerticalAlignment, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, ContextMenuMergeCells, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuRemoveToc, ContextMenuSelectAll, ContextMenuSelectTable, ContextMenuSplitCell, DEFAULT_WATERMARK_PRESETS, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, DocxEditorBookmarkDialog, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, DocxEditorContentControlWidget, DocxEditorContextMenu, DocxEditorDocumentOutline, DocxEditorEquation, DocxEditorExportDialog, DocxEditorFontNotice, DocxEditorHeaderFooterChrome, DocxEditorHorizontalRuler, DocxEditorHyperLink, DocxEditorImageAltTextPopup, DocxEditorImageInsertErrorDialog, DocxEditorImagePropertiesDialog, DocxEditorInvalidTextFormFieldDialog, DocxEditorLoading, DocxEditorLoadingSpinner, DocxEditorMenu, DocxEditorNavigation, DocxEditorNotePreview, DocxEditorNotePropertiesDialog, DocxEditorNotesChrome, DocxEditorNotesContextMenu, DocxEditorOpenFailure, DocxEditorOpenFailureAction, DocxEditorPageNumber, DocxEditorPageSetupDialog, DocxEditorParagraphDialog, DocxEditorPrintDialog, DocxEditorRevisionMarkup, DocxEditorRevisionMarkupDialog, DocxEditorRoot, DocxEditorShell, DocxEditorSplitCellDialog, DocxEditorTextFormFieldDialog, DocxEditorToolbar, DocxEditorUnsupportedElement, DocxEditorVerticalRuler, DocxEditorViewport, DocxEditorWatermarkDialog, DocxEditorWindow, 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, NavigationGoTo, 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, useBookmarkDialog, useBookmarks, useChromeDir, useChromeTranslate, useCommentDraftRequest, useContentControl, useContentControlInstance, useContentControlWidget, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorColorMode, useEditorCommand, useEditorEvent, useEditorHostDocument, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useGoToBookmark, useHeaderFooterState, useHighlightAt, useHighlights, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, useOpenFailure, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useRevisionMarkupDialog, useScopeClassName, useScopedChromeAnchor, useSplitCellDialog, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useWatermark, useWatermarkDialog, useZoom };
|
|
11360
|
+
export type { BookmarkDialogFields, ChromeTranslate, ContentControlActionProps, ContentControlInspectorState, ContentControlLock, ContentControlPartProps, ContentControlProps, ContentControlSlotId, ContentControlWidgetDayProps, ContentControlWidgetEntry, ContentControlWidgetItemProps, ContentControlWidgetPictureProps, ContextMenuAnchor, ContextMenuCommandProps, ContextMenuContextValue, ContextMenuItemProps, ContextMenuTableRowProps, DialogCustomizationProps, DialogPartProps, DocumentStyleSummary, DocxEditorAuthorStyleProps, DocxEditorBookmarkDialogProps, DocxEditorChildren, DocxEditorContentControlNamespace, DocxEditorContentControlWidgetNamespace, DocxEditorContentControlWidgetPartProps, DocxEditorContentControlWidgetProps, DocxEditorContentProps, DocxEditorContextMenuNamespace, DocxEditorContextMenuProps, DocxEditorDocumentOutlineProps, DocxEditorExportDialogProps, DocxEditorFontNoticeProps, DocxEditorHeaderFooterChromeProps, DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopupProps, DocxEditorImageInsertErrorDialogProps, DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoadingComponent, DocxEditorLoadingProps, DocxEditorLoadingSpinnerProps, DocxEditorMenuNamespace, DocxEditorMenuProps, DocxEditorNamespace, DocxEditorNavigationNamespace, DocxEditorNavigationProps, DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialogProps, DocxEditorNotesChromeProps, DocxEditorNotesContextMenuProps, DocxEditorOpenFailureActionProps, DocxEditorOpenFailureComponent, DocxEditorOpenFailureContext, DocxEditorOpenFailureMessage, DocxEditorOpenFailureProps, DocxEditorPageNumberProps, DocxEditorPageSetupDialogProps, DocxEditorParagraphDialogProps, DocxEditorPopup, DocxEditorPopups, DocxEditorPrintDialogProps, DocxEditorProps, DocxEditorRef, DocxEditorRefCallback, DocxEditorRevisionMarkupDialogProps, DocxEditorRevisionMarkupProps, DocxEditorRootListeners, DocxEditorRootProps, DocxEditorRulerProps, DocxEditorSplitCellDialogProps, DocxEditorTextFormFieldDialogProps, DocxEditorToolbarGroupProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorToolbarSlotProps, DocxEditorUnsupportedElementProps, DocxEditorViewportProps, DocxEditorWatermarkDialogProps, DocxEditorWindowProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontOption, FontsInput, FormattingAction, GoToBookmarkProblem, HeaderFooterState, HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, ListState, ListType, 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, ParagraphAlignment, ParagraphStyleItemProps, ParagraphStyleNamespace, ParagraphStyleOption, ParagraphStylePartProps, ParagraphStyleProps, ProvideDocxEditorResult, ResolvedColorMode, ReviewGutter, ReviewGutterInput, ReviewRailRegistry, ScopedChromeAnchor, ScopedChromeAnchorPlacement, SelectionFormatting, SlotProps, SplitCellDialogFields, TableAction, TableBorderColorNamespace, TableBorderStyleNamespace, TableBorderTargetNamespace, TableBorderWidthNamespace, TableCellFillNamespace, TableChromeItemProps, TableChromePartComponent, TableChromePartProps, TextFormFieldDialogFields, ToolbarActionProps, ToolbarAlignmentComponent, ToolbarButtonProps, ToolbarContextValue, ToolbarPartComponent, ToolbarPartProps, ToolbarProps, ToolbarReviewersProps, ToolbarSeparatorProps, ToolbarSlotPartComponent, ToolbarSlotPartProps, ToolbarTranslate, UseBookmarkDialogReturn, UseBookmarksReturn, UseContentControlResult, UseContentControlWidgetResult, UseDialogReturn, UseDocumentOutlineResult, UseDocumentSearchOptions, UseDocumentSearchResult, UseDocxSourceOptions, UseDocxSourceResult, UseEditorColorModeReturn, UseEditorHostDocumentReturn, UseFontFamilyResult, UseGoToBookmarkOptions, UseGoToBookmarkReturn, UseHistoryGroupReturn, UseHyperlinkPopupResult, UseNavigationPaneOptions, UseNavigationPaneResult, UseOpenFailureOptions, UseOpenFailureReturn, UsePageSetupDialogReturn, UsePageSetupReturn, UseParagraphDialogReturn, UseParagraphFormatReturn, UseParagraphIndentReturn, UseParagraphStyleResult, UseRevisionMarkupDialogReturn, UseSplitCellDialogReturn, UseTextFormFieldDialogReturn, UseWatermarkDialogReturn, UseWatermarkReturn, UseZoomResult, VerticalRulerProps, WatermarkDialogFieldName, WatermarkDialogFields, WatermarkDialogKind, WatermarkDialogLayout };
|