@docx-editor.dev/vue 2.20.0 → 2.21.1

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,11 +1,11 @@
1
1
  import * as vue from 'vue';
2
- import { Ref, VNode, CSSProperties, PropType, Component, FunctionalComponent, VNodeProps, AllowedComponentProps, ComponentCustomProps, ShallowRef, InjectionKey, MaybeRef, ComputedRef, MaybeRefOrGetter as MaybeRefOrGetter$1 } from 'vue';
3
- import * as vue_jsx_runtime from 'vue/jsx-runtime';
4
- import { ContentControlWidgetSession, InvalidTextFormFieldSession, TextFormFieldDialogSession, ParagraphDialogFields, ParagraphDialogMixed, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, FontConfigurationFragment, FontResolver, EditorModule, ImageDecodePort, DocxEditorInstance, SupportedImageMime, TableChromeSlotId, RevisionAuthorStyle, ReviewAuthorInfo, ImageWrapTarget, ParagraphFormatRead, ParagraphFormatUpdate, MarkedFontResolver, FontOrigin, SurfaceHyperlink, RulerIndent, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties } from '@docx-editor.dev/core/editor';
2
+ import { Ref, VNode, CSSProperties, PropType, VNodeChild, Component, FunctionalComponent, VNodeProps, AllowedComponentProps, ComponentCustomProps, ShallowRef, InjectionKey, MaybeRef, ComputedRef, MaybeRefOrGetter as MaybeRefOrGetter$1 } from 'vue';
3
+ import { ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, InvalidTextFormFieldSession, TextFormFieldDialogSession, ParagraphDialogFields, ParagraphDialogMixed, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, FontConfigurationFragment, FontResolver, EditorModule, ImageDecodePort, DocxEditorInstance, SupportedImageMime, TableChromeSlotId, RevisionAuthorStyle, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, ParagraphFormatRead, ParagraphFormatUpdate, MarkedFontResolver, FontOrigin, SurfaceHyperlink, RulerIndent, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
5
4
  export { CHROME_GROUPS, CHROME_MENUS, ChromeMenu, ChromeMenuEntry, ChromeMenuId, ChromeMenuItemEntry, ChromeMenuSeparatorEntry, ChromeMenuSubmenuEntry, ChromeSlotId, FontConfigurationBase, FontConfigurationFragment, FontLoadFailure, FontLoadFailureReason, FontOrigin, FontResolutionRequest, FontResolver, FontResolverMark, FontUrlSource, ImageWrapTarget, LOADING_SNAPSHOT, LoadFontsRequest, LoadFontsResult, MAX_RESOLVER_FAMILIES, MarkedFontResolver, PX_PER_CM, PX_PER_INCH, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, ParagraphTabStop, ReviewAuthorInfo, RevisionAuthorAssignments, RevisionAuthorStyle, RevisionStyles, RulerTick, RulerUnit, ToolbarCommandState, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createFontSource, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
5
+ import * as vue_jsx_runtime from 'vue/jsx-runtime';
6
6
  import * as _docx_editor_dev_core from '@docx-editor.dev/core';
7
7
  import { ContentControlType, ContentControlSummary } from '@docx-editor.dev/core';
8
- import { Editor, ViewScope, EditorCommand, DocumentSource, FontConfiguration, ZoomMode, DocumentChange, EditorFontError, TextMatch, DocumentHandle, EditorScope, ExecResult, EditorSnapshot, EditorEvents, PageSetup, IndentFormatting, ColorValue, Theme } from '@docx-editor.dev/core/contracts/editor';
8
+ import { Editor, ViewScope, EditorCommand, DocumentSource, FontConfiguration, ZoomMode, DocumentChange, EditorFontError, TextMatch, DocumentHandle, EditorExecOptions, ExecResult, EditorScope, EditorSnapshot, EditorEvents, PageSetup, IndentFormatting, ColorValue, Theme } from '@docx-editor.dev/core/contracts/editor';
9
9
  export { Editor, EditorCommand, EditorFontError, EditorFontErrorCode, EditorQuery, EditorScope, EditorSnapshot, FontConfiguration, FontFaceRequest, FontSource, FontSourceSubstitution, PageSetup } from '@docx-editor.dev/core/contracts/editor';
10
10
  import * as _docx_editor_dev_i18n from '@docx-editor.dev/i18n';
11
11
  import { TFunction, Translations, LocaleStrings } from '@docx-editor.dev/i18n';
@@ -28,31 +28,1345 @@ type MaybeRefOrGetter<T> = T | Ref<T> | (() => T);
28
28
  */
29
29
  type DocxEditorChildren = VNode;
30
30
 
31
- /** Value-widget session and optional replacement controls. @public */
32
- interface DocxEditorContentControlWidgetProps {
33
- session: ContentControlWidgetSession;
31
+ /** One selectable entry of a dropdown or combo-box control. @public */
32
+ interface ContentControlWidgetEntry {
33
+ readonly displayText: string;
34
+ readonly value: string;
35
+ }
36
+ /**
37
+ * The draft state a content-control value pop-up renders over.
38
+ *
39
+ * Read it from `useContentControlWidget()` inside `DocxEditorContentControlWidget`. `value`
40
+ * is the draft; `apply()` commits it through the session, which the engine validates. The
41
+ * calendar members drive the date picker: `calendar` is the month in view, built for the
42
+ * session's locale. Reactive members are refs.
43
+ * @public
44
+ */
45
+ interface UseContentControlWidgetResult {
46
+ readonly session: Readonly<Ref<ContentControlWidgetSession>>;
47
+ readonly kind: Readonly<Ref<ContentControlWidgetSession['kind']>>;
48
+ readonly items: Readonly<Ref<readonly ContentControlWidgetEntry[]>>;
49
+ readonly value: Readonly<Ref<string>>;
50
+ setValue(value: string): void;
51
+ /** The engine still accepts a write for this control. */
52
+ readonly isEnabled: Readonly<Ref<boolean>>;
53
+ /** The last `apply()` was refused by the engine. */
54
+ readonly refused: Readonly<Ref<boolean>>;
55
+ /** Commit `value`, or an explicit one; false when the engine refused it. */
56
+ apply(value?: string): boolean;
57
+ cancel(): void;
58
+ readonly calendar: Readonly<Ref<CalendarMonth>>;
59
+ previousMonth(): void;
60
+ nextMonth(): void;
61
+ /** Commit one calendar day (`YYYY-MM-DD`). */
62
+ selectDay(iso: string): boolean;
63
+ /** Commit the current local date. */
64
+ selectToday(): boolean;
65
+ /** The day keyboard focus should land on after the grid renders, if any. */
66
+ readonly focusIso: Readonly<Ref<string | null>>;
67
+ /** Move keyboard focus to a day, turning the month if it lies outside the view. */
68
+ focusDay(iso: string): void;
69
+ /** Numeric regional date entry, separate from the ISO value. */
70
+ readonly dateText: Readonly<Ref<string>>;
71
+ setDateText(text: string): void;
72
+ applyDateText(): boolean;
73
+ /** Jump to a month without committing. Month is zero-based; year is 100–9999. */
74
+ showMonth(year: number, month: number): void;
75
+ /** ID shared by the combo input and listbox. */
76
+ readonly listId: string;
77
+ /** Shared typeahead and roving-focus behavior for replacement lists. */
78
+ readonly listNavigation: ContentControlListNavigation;
79
+ /** Picture sessions: the image types `replaceImage` takes, as a file input `accept` list. */
80
+ readonly accept: string;
81
+ /**
82
+ * Picture sessions: replace the control's image from a file or its bytes. The engine
83
+ * checks the format and size; false (and `refused`) when it declines or the session is
84
+ * not a picture session.
85
+ */
86
+ replaceImage(source: Blob | Uint8Array): Promise<boolean>;
87
+ }
88
+ /** Draft state of the enclosing content-control value pop-up. @public */
89
+ declare function useContentControlWidget(): UseContentControlWidgetResult;
90
+
91
+ /**
92
+ * Presentation overrides for a value pop-up part. @public
93
+ *
94
+ * Anything beyond these members reaches the rendered element, so a part takes an `id`, an
95
+ * `aria-*` label or a `data-*` test hook. The part's own wiring wins every collision. Pass
96
+ * `asChild` to own the element outright and keep its behavior.
97
+ */
98
+ interface DocxEditorContentControlWidgetPartProps {
99
+ class?: string;
34
100
  className?: string;
35
101
  style?: CSSProperties;
102
+ hidden?: boolean;
103
+ asChild?: boolean;
36
104
  children?: DocxEditorChildren;
105
+ id?: string;
106
+ title?: string;
107
+ 'aria-label'?: string;
108
+ [attribute: `data-${string}`]: unknown;
109
+ [attribute: `aria-${string}`]: unknown;
37
110
  }
38
- /** Compact value editor for a configured content-control popup. @public */
39
- declare const DocxEditorContentControlWidget: vue.DefineComponent<vue.ExtractPropTypes<{
40
- session: {
41
- type: PropType<ContentControlWidgetSession>;
111
+ /** Steps the calendar back one month. @public */
112
+ declare const ContentControlWidgetPreviousMonth: vue.DefineComponent<vue.ExtractPropTypes<{
113
+ readonly class: {
114
+ readonly type: StringConstructor;
115
+ readonly default: undefined;
116
+ };
117
+ readonly className: {
118
+ readonly type: StringConstructor;
119
+ readonly default: undefined;
120
+ };
121
+ readonly style: {
122
+ readonly type: PropType<CSSProperties>;
123
+ readonly default: undefined;
124
+ };
125
+ readonly hidden: {
126
+ readonly type: BooleanConstructor;
127
+ readonly default: undefined;
128
+ };
129
+ readonly asChild: {
130
+ readonly type: BooleanConstructor;
131
+ readonly default: undefined;
132
+ };
133
+ readonly children: {
134
+ readonly type: PropType<DocxEditorChildren>;
135
+ readonly default: undefined;
136
+ };
137
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
138
+ readonly class: {
139
+ readonly type: StringConstructor;
140
+ readonly default: undefined;
141
+ };
142
+ readonly className: {
143
+ readonly type: StringConstructor;
144
+ readonly default: undefined;
145
+ };
146
+ readonly style: {
147
+ readonly type: PropType<CSSProperties>;
148
+ readonly default: undefined;
149
+ };
150
+ readonly hidden: {
151
+ readonly type: BooleanConstructor;
152
+ readonly default: undefined;
153
+ };
154
+ readonly asChild: {
155
+ readonly type: BooleanConstructor;
156
+ readonly default: undefined;
157
+ };
158
+ readonly children: {
159
+ readonly type: PropType<DocxEditorChildren>;
160
+ readonly default: undefined;
161
+ };
162
+ }>> & Readonly<{}>, {
163
+ readonly children: DocxEditorChildren;
164
+ readonly hidden: boolean;
165
+ readonly style: CSSProperties;
166
+ readonly class: string;
167
+ readonly className: string;
168
+ readonly asChild: boolean;
169
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
170
+ /** Steps the calendar forward one month. @public */
171
+ declare const ContentControlWidgetNextMonth: vue.DefineComponent<vue.ExtractPropTypes<{
172
+ readonly class: {
173
+ readonly type: StringConstructor;
174
+ readonly default: undefined;
175
+ };
176
+ readonly className: {
177
+ readonly type: StringConstructor;
178
+ readonly default: undefined;
179
+ };
180
+ readonly style: {
181
+ readonly type: PropType<CSSProperties>;
182
+ readonly default: undefined;
183
+ };
184
+ readonly hidden: {
185
+ readonly type: BooleanConstructor;
186
+ readonly default: undefined;
187
+ };
188
+ readonly asChild: {
189
+ readonly type: BooleanConstructor;
190
+ readonly default: undefined;
191
+ };
192
+ readonly children: {
193
+ readonly type: PropType<DocxEditorChildren>;
194
+ readonly default: undefined;
195
+ };
196
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
197
+ readonly class: {
198
+ readonly type: StringConstructor;
199
+ readonly default: undefined;
200
+ };
201
+ readonly className: {
202
+ readonly type: StringConstructor;
203
+ readonly default: undefined;
204
+ };
205
+ readonly style: {
206
+ readonly type: PropType<CSSProperties>;
207
+ readonly default: undefined;
208
+ };
209
+ readonly hidden: {
210
+ readonly type: BooleanConstructor;
211
+ readonly default: undefined;
212
+ };
213
+ readonly asChild: {
214
+ readonly type: BooleanConstructor;
215
+ readonly default: undefined;
216
+ };
217
+ readonly children: {
218
+ readonly type: PropType<DocxEditorChildren>;
219
+ readonly default: undefined;
220
+ };
221
+ }>> & Readonly<{}>, {
222
+ readonly children: DocxEditorChildren;
223
+ readonly hidden: boolean;
224
+ readonly style: CSSProperties;
225
+ readonly class: string;
226
+ readonly className: string;
227
+ readonly asChild: boolean;
228
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
229
+ /** The month and year in view. @public */
230
+ declare const ContentControlWidgetTitle: vue.DefineComponent<vue.ExtractPropTypes<{
231
+ readonly class: {
232
+ readonly type: StringConstructor;
233
+ readonly default: undefined;
234
+ };
235
+ readonly className: {
236
+ readonly type: StringConstructor;
237
+ readonly default: undefined;
238
+ };
239
+ readonly style: {
240
+ readonly type: PropType<CSSProperties>;
241
+ readonly default: undefined;
242
+ };
243
+ readonly hidden: {
244
+ readonly type: BooleanConstructor;
245
+ readonly default: undefined;
246
+ };
247
+ readonly asChild: {
248
+ readonly type: BooleanConstructor;
249
+ readonly default: undefined;
250
+ };
251
+ readonly children: {
252
+ readonly type: PropType<DocxEditorChildren>;
253
+ readonly default: undefined;
254
+ };
255
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
256
+ readonly class: {
257
+ readonly type: StringConstructor;
258
+ readonly default: undefined;
259
+ };
260
+ readonly className: {
261
+ readonly type: StringConstructor;
262
+ readonly default: undefined;
263
+ };
264
+ readonly style: {
265
+ readonly type: PropType<CSSProperties>;
266
+ readonly default: undefined;
267
+ };
268
+ readonly hidden: {
269
+ readonly type: BooleanConstructor;
270
+ readonly default: undefined;
271
+ };
272
+ readonly asChild: {
273
+ readonly type: BooleanConstructor;
274
+ readonly default: undefined;
275
+ };
276
+ readonly children: {
277
+ readonly type: PropType<DocxEditorChildren>;
278
+ readonly default: undefined;
279
+ };
280
+ }>> & Readonly<{}>, {
281
+ readonly children: DocxEditorChildren;
282
+ readonly hidden: boolean;
283
+ readonly style: CSSProperties;
284
+ readonly class: string;
285
+ readonly className: string;
286
+ readonly asChild: boolean;
287
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
288
+ /** Month navigation row with month and year controls. @public */
289
+ declare const ContentControlWidgetHeader: vue.DefineComponent<vue.ExtractPropTypes<{
290
+ readonly class: {
291
+ readonly type: StringConstructor;
292
+ readonly default: undefined;
293
+ };
294
+ readonly className: {
295
+ readonly type: StringConstructor;
296
+ readonly default: undefined;
297
+ };
298
+ readonly style: {
299
+ readonly type: PropType<CSSProperties>;
300
+ readonly default: undefined;
301
+ };
302
+ readonly hidden: {
303
+ readonly type: BooleanConstructor;
304
+ readonly default: undefined;
305
+ };
306
+ readonly asChild: {
307
+ readonly type: BooleanConstructor;
308
+ readonly default: undefined;
309
+ };
310
+ readonly children: {
311
+ readonly type: PropType<DocxEditorChildren>;
312
+ readonly default: undefined;
313
+ };
314
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
315
+ readonly class: {
316
+ readonly type: StringConstructor;
317
+ readonly default: undefined;
318
+ };
319
+ readonly className: {
320
+ readonly type: StringConstructor;
321
+ readonly default: undefined;
322
+ };
323
+ readonly style: {
324
+ readonly type: PropType<CSSProperties>;
325
+ readonly default: undefined;
326
+ };
327
+ readonly hidden: {
328
+ readonly type: BooleanConstructor;
329
+ readonly default: undefined;
330
+ };
331
+ readonly asChild: {
332
+ readonly type: BooleanConstructor;
333
+ readonly default: undefined;
334
+ };
335
+ readonly children: {
336
+ readonly type: PropType<DocxEditorChildren>;
337
+ readonly default: undefined;
338
+ };
339
+ }>> & Readonly<{}>, {
340
+ readonly children: DocxEditorChildren;
341
+ readonly hidden: boolean;
342
+ readonly style: CSSProperties;
343
+ readonly class: string;
344
+ readonly className: string;
345
+ readonly asChild: boolean;
346
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
347
+ /** Seven weekday labels in the locale's order. @public */
348
+ declare const ContentControlWidgetWeekdays: vue.DefineComponent<vue.ExtractPropTypes<{
349
+ readonly class: {
350
+ readonly type: StringConstructor;
351
+ readonly default: undefined;
352
+ };
353
+ readonly className: {
354
+ readonly type: StringConstructor;
355
+ readonly default: undefined;
356
+ };
357
+ readonly style: {
358
+ readonly type: PropType<CSSProperties>;
359
+ readonly default: undefined;
360
+ };
361
+ readonly hidden: {
362
+ readonly type: BooleanConstructor;
363
+ readonly default: undefined;
364
+ };
365
+ readonly asChild: {
366
+ readonly type: BooleanConstructor;
367
+ readonly default: undefined;
368
+ };
369
+ readonly children: {
370
+ readonly type: PropType<DocxEditorChildren>;
371
+ readonly default: undefined;
372
+ };
373
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
374
+ readonly class: {
375
+ readonly type: StringConstructor;
376
+ readonly default: undefined;
377
+ };
378
+ readonly className: {
379
+ readonly type: StringConstructor;
380
+ readonly default: undefined;
381
+ };
382
+ readonly style: {
383
+ readonly type: PropType<CSSProperties>;
384
+ readonly default: undefined;
385
+ };
386
+ readonly hidden: {
387
+ readonly type: BooleanConstructor;
388
+ readonly default: undefined;
389
+ };
390
+ readonly asChild: {
391
+ readonly type: BooleanConstructor;
392
+ readonly default: undefined;
393
+ };
394
+ readonly children: {
395
+ readonly type: PropType<DocxEditorChildren>;
396
+ readonly default: undefined;
397
+ };
398
+ }>> & Readonly<{}>, {
399
+ readonly children: DocxEditorChildren;
400
+ readonly hidden: boolean;
401
+ readonly style: CSSProperties;
402
+ readonly class: string;
403
+ readonly className: string;
404
+ readonly asChild: boolean;
405
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
406
+ /** Props for one calendar cell. @public */
407
+ interface ContentControlWidgetDayProps extends DocxEditorContentControlWidgetPartProps {
408
+ day: CalendarDay;
409
+ }
410
+ /** One calendar cell; a press commits that date, arrow keys roam the grid. @public */
411
+ declare const ContentControlWidgetDay: vue.DefineComponent<vue.ExtractPropTypes<{
412
+ day: {
413
+ type: PropType<CalendarDay>;
42
414
  required: true;
43
415
  };
44
- className: StringConstructor;
45
- style: PropType<CSSProperties>;
46
- children: PropType<DocxEditorChildren>;
47
- }>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
48
- session: {
49
- type: PropType<ContentControlWidgetSession>;
416
+ class: {
417
+ readonly type: StringConstructor;
418
+ readonly default: undefined;
419
+ };
420
+ className: {
421
+ readonly type: StringConstructor;
422
+ readonly default: undefined;
423
+ };
424
+ style: {
425
+ readonly type: PropType<CSSProperties>;
426
+ readonly default: undefined;
427
+ };
428
+ hidden: {
429
+ readonly type: BooleanConstructor;
430
+ readonly default: undefined;
431
+ };
432
+ asChild: {
433
+ readonly type: BooleanConstructor;
434
+ readonly default: undefined;
435
+ };
436
+ children: {
437
+ readonly type: PropType<DocxEditorChildren>;
438
+ readonly default: undefined;
439
+ };
440
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
441
+ day: {
442
+ type: PropType<CalendarDay>;
50
443
  required: true;
51
444
  };
52
- className: StringConstructor;
53
- style: PropType<CSSProperties>;
54
- children: PropType<DocxEditorChildren>;
55
- }>> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
445
+ class: {
446
+ readonly type: StringConstructor;
447
+ readonly default: undefined;
448
+ };
449
+ className: {
450
+ readonly type: StringConstructor;
451
+ readonly default: undefined;
452
+ };
453
+ style: {
454
+ readonly type: PropType<CSSProperties>;
455
+ readonly default: undefined;
456
+ };
457
+ hidden: {
458
+ readonly type: BooleanConstructor;
459
+ readonly default: undefined;
460
+ };
461
+ asChild: {
462
+ readonly type: BooleanConstructor;
463
+ readonly default: undefined;
464
+ };
465
+ children: {
466
+ readonly type: PropType<DocxEditorChildren>;
467
+ readonly default: undefined;
468
+ };
469
+ }>> & Readonly<{}>, {
470
+ children: DocxEditorChildren;
471
+ hidden: boolean;
472
+ style: CSSProperties;
473
+ class: string;
474
+ className: string;
475
+ asChild: boolean;
476
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
477
+ /** The six-week grid of `Day` cells. @public */
478
+ declare const ContentControlWidgetGrid: vue.DefineComponent<vue.ExtractPropTypes<{
479
+ readonly class: {
480
+ readonly type: StringConstructor;
481
+ readonly default: undefined;
482
+ };
483
+ readonly className: {
484
+ readonly type: StringConstructor;
485
+ readonly default: undefined;
486
+ };
487
+ readonly style: {
488
+ readonly type: PropType<CSSProperties>;
489
+ readonly default: undefined;
490
+ };
491
+ readonly hidden: {
492
+ readonly type: BooleanConstructor;
493
+ readonly default: undefined;
494
+ };
495
+ readonly asChild: {
496
+ readonly type: BooleanConstructor;
497
+ readonly default: undefined;
498
+ };
499
+ readonly children: {
500
+ readonly type: PropType<DocxEditorChildren>;
501
+ readonly default: undefined;
502
+ };
503
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
504
+ readonly class: {
505
+ readonly type: StringConstructor;
506
+ readonly default: undefined;
507
+ };
508
+ readonly className: {
509
+ readonly type: StringConstructor;
510
+ readonly default: undefined;
511
+ };
512
+ readonly style: {
513
+ readonly type: PropType<CSSProperties>;
514
+ readonly default: undefined;
515
+ };
516
+ readonly hidden: {
517
+ readonly type: BooleanConstructor;
518
+ readonly default: undefined;
519
+ };
520
+ readonly asChild: {
521
+ readonly type: BooleanConstructor;
522
+ readonly default: undefined;
523
+ };
524
+ readonly children: {
525
+ readonly type: PropType<DocxEditorChildren>;
526
+ readonly default: undefined;
527
+ };
528
+ }>> & Readonly<{}>, {
529
+ readonly children: DocxEditorChildren;
530
+ readonly hidden: boolean;
531
+ readonly style: CSSProperties;
532
+ readonly class: string;
533
+ readonly className: string;
534
+ readonly asChild: boolean;
535
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
536
+ /** Commits the current local date. @public */
537
+ declare const ContentControlWidgetToday: vue.DefineComponent<vue.ExtractPropTypes<{
538
+ readonly class: {
539
+ readonly type: StringConstructor;
540
+ readonly default: undefined;
541
+ };
542
+ readonly className: {
543
+ readonly type: StringConstructor;
544
+ readonly default: undefined;
545
+ };
546
+ readonly style: {
547
+ readonly type: PropType<CSSProperties>;
548
+ readonly default: undefined;
549
+ };
550
+ readonly hidden: {
551
+ readonly type: BooleanConstructor;
552
+ readonly default: undefined;
553
+ };
554
+ readonly asChild: {
555
+ readonly type: BooleanConstructor;
556
+ readonly default: undefined;
557
+ };
558
+ readonly children: {
559
+ readonly type: PropType<DocxEditorChildren>;
560
+ readonly default: undefined;
561
+ };
562
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
563
+ readonly class: {
564
+ readonly type: StringConstructor;
565
+ readonly default: undefined;
566
+ };
567
+ readonly className: {
568
+ readonly type: StringConstructor;
569
+ readonly default: undefined;
570
+ };
571
+ readonly style: {
572
+ readonly type: PropType<CSSProperties>;
573
+ readonly default: undefined;
574
+ };
575
+ readonly hidden: {
576
+ readonly type: BooleanConstructor;
577
+ readonly default: undefined;
578
+ };
579
+ readonly asChild: {
580
+ readonly type: BooleanConstructor;
581
+ readonly default: undefined;
582
+ };
583
+ readonly children: {
584
+ readonly type: PropType<DocxEditorChildren>;
585
+ readonly default: undefined;
586
+ };
587
+ }>> & Readonly<{}>, {
588
+ readonly children: DocxEditorChildren;
589
+ readonly hidden: boolean;
590
+ readonly style: CSSProperties;
591
+ readonly class: string;
592
+ readonly className: string;
593
+ readonly asChild: boolean;
594
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
595
+ /** The whole date picker, including regional date entry and actions. @public */
596
+ declare const ContentControlWidgetCalendar: vue.DefineComponent<vue.ExtractPropTypes<{
597
+ readonly class: {
598
+ readonly type: StringConstructor;
599
+ readonly default: undefined;
600
+ };
601
+ readonly className: {
602
+ readonly type: StringConstructor;
603
+ readonly default: undefined;
604
+ };
605
+ readonly style: {
606
+ readonly type: PropType<CSSProperties>;
607
+ readonly default: undefined;
608
+ };
609
+ readonly hidden: {
610
+ readonly type: BooleanConstructor;
611
+ readonly default: undefined;
612
+ };
613
+ readonly asChild: {
614
+ readonly type: BooleanConstructor;
615
+ readonly default: undefined;
616
+ };
617
+ readonly children: {
618
+ readonly type: PropType<DocxEditorChildren>;
619
+ readonly default: undefined;
620
+ };
621
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
622
+ readonly class: {
623
+ readonly type: StringConstructor;
624
+ readonly default: undefined;
625
+ };
626
+ readonly className: {
627
+ readonly type: StringConstructor;
628
+ readonly default: undefined;
629
+ };
630
+ readonly style: {
631
+ readonly type: PropType<CSSProperties>;
632
+ readonly default: undefined;
633
+ };
634
+ readonly hidden: {
635
+ readonly type: BooleanConstructor;
636
+ readonly default: undefined;
637
+ };
638
+ readonly asChild: {
639
+ readonly type: BooleanConstructor;
640
+ readonly default: undefined;
641
+ };
642
+ readonly children: {
643
+ readonly type: PropType<DocxEditorChildren>;
644
+ readonly default: undefined;
645
+ };
646
+ }>> & Readonly<{}>, {
647
+ readonly children: DocxEditorChildren;
648
+ readonly hidden: boolean;
649
+ readonly style: CSSProperties;
650
+ readonly class: string;
651
+ readonly className: string;
652
+ readonly asChild: boolean;
653
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
654
+ /** Props for one list entry. @public */
655
+ interface ContentControlWidgetItemProps extends DocxEditorContentControlWidgetPartProps {
656
+ item: ContentControlWidgetEntry;
657
+ }
658
+ /** One dropdown or combo-box entry; a press commits its value. @public */
659
+ declare const ContentControlWidgetItem: vue.DefineComponent<vue.ExtractPropTypes<{
660
+ item: {
661
+ type: PropType<ContentControlWidgetEntry>;
662
+ required: true;
663
+ };
664
+ class: {
665
+ readonly type: StringConstructor;
666
+ readonly default: undefined;
667
+ };
668
+ className: {
669
+ readonly type: StringConstructor;
670
+ readonly default: undefined;
671
+ };
672
+ style: {
673
+ readonly type: PropType<CSSProperties>;
674
+ readonly default: undefined;
675
+ };
676
+ hidden: {
677
+ readonly type: BooleanConstructor;
678
+ readonly default: undefined;
679
+ };
680
+ asChild: {
681
+ readonly type: BooleanConstructor;
682
+ readonly default: undefined;
683
+ };
684
+ children: {
685
+ readonly type: PropType<DocxEditorChildren>;
686
+ readonly default: undefined;
687
+ };
688
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
689
+ item: {
690
+ type: PropType<ContentControlWidgetEntry>;
691
+ required: true;
692
+ };
693
+ class: {
694
+ readonly type: StringConstructor;
695
+ readonly default: undefined;
696
+ };
697
+ className: {
698
+ readonly type: StringConstructor;
699
+ readonly default: undefined;
700
+ };
701
+ style: {
702
+ readonly type: PropType<CSSProperties>;
703
+ readonly default: undefined;
704
+ };
705
+ hidden: {
706
+ readonly type: BooleanConstructor;
707
+ readonly default: undefined;
708
+ };
709
+ asChild: {
710
+ readonly type: BooleanConstructor;
711
+ readonly default: undefined;
712
+ };
713
+ children: {
714
+ readonly type: PropType<DocxEditorChildren>;
715
+ readonly default: undefined;
716
+ };
717
+ }>> & Readonly<{}>, {
718
+ children: DocxEditorChildren;
719
+ hidden: boolean;
720
+ style: CSSProperties;
721
+ class: string;
722
+ className: string;
723
+ asChild: boolean;
724
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
725
+ /** The list of `Item` entries the control declares. @public */
726
+ declare const ContentControlWidgetList: vue.DefineComponent<vue.ExtractPropTypes<{
727
+ readonly class: {
728
+ readonly type: StringConstructor;
729
+ readonly default: undefined;
730
+ };
731
+ readonly className: {
732
+ readonly type: StringConstructor;
733
+ readonly default: undefined;
734
+ };
735
+ readonly style: {
736
+ readonly type: PropType<CSSProperties>;
737
+ readonly default: undefined;
738
+ };
739
+ readonly hidden: {
740
+ readonly type: BooleanConstructor;
741
+ readonly default: undefined;
742
+ };
743
+ readonly asChild: {
744
+ readonly type: BooleanConstructor;
745
+ readonly default: undefined;
746
+ };
747
+ readonly children: {
748
+ readonly type: PropType<DocxEditorChildren>;
749
+ readonly default: undefined;
750
+ };
751
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
752
+ readonly class: {
753
+ readonly type: StringConstructor;
754
+ readonly default: undefined;
755
+ };
756
+ readonly className: {
757
+ readonly type: StringConstructor;
758
+ readonly default: undefined;
759
+ };
760
+ readonly style: {
761
+ readonly type: PropType<CSSProperties>;
762
+ readonly default: undefined;
763
+ };
764
+ readonly hidden: {
765
+ readonly type: BooleanConstructor;
766
+ readonly default: undefined;
767
+ };
768
+ readonly asChild: {
769
+ readonly type: BooleanConstructor;
770
+ readonly default: undefined;
771
+ };
772
+ readonly children: {
773
+ readonly type: PropType<DocxEditorChildren>;
774
+ readonly default: undefined;
775
+ };
776
+ }>> & Readonly<{}>, {
777
+ readonly children: DocxEditorChildren;
778
+ readonly hidden: boolean;
779
+ readonly style: CSSProperties;
780
+ readonly class: string;
781
+ readonly className: string;
782
+ readonly asChild: boolean;
783
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
784
+ /** Free-text entry for a combo box; Enter commits. @public */
785
+ declare const ContentControlWidgetInput: vue.DefineComponent<vue.ExtractPropTypes<{
786
+ readonly class: {
787
+ readonly type: StringConstructor;
788
+ readonly default: undefined;
789
+ };
790
+ readonly className: {
791
+ readonly type: StringConstructor;
792
+ readonly default: undefined;
793
+ };
794
+ readonly style: {
795
+ readonly type: PropType<CSSProperties>;
796
+ readonly default: undefined;
797
+ };
798
+ readonly hidden: {
799
+ readonly type: BooleanConstructor;
800
+ readonly default: undefined;
801
+ };
802
+ readonly asChild: {
803
+ readonly type: BooleanConstructor;
804
+ readonly default: undefined;
805
+ };
806
+ readonly children: {
807
+ readonly type: PropType<DocxEditorChildren>;
808
+ readonly default: undefined;
809
+ };
810
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
811
+ readonly class: {
812
+ readonly type: StringConstructor;
813
+ readonly default: undefined;
814
+ };
815
+ readonly className: {
816
+ readonly type: StringConstructor;
817
+ readonly default: undefined;
818
+ };
819
+ readonly style: {
820
+ readonly type: PropType<CSSProperties>;
821
+ readonly default: undefined;
822
+ };
823
+ readonly hidden: {
824
+ readonly type: BooleanConstructor;
825
+ readonly default: undefined;
826
+ };
827
+ readonly asChild: {
828
+ readonly type: BooleanConstructor;
829
+ readonly default: undefined;
830
+ };
831
+ readonly children: {
832
+ readonly type: PropType<DocxEditorChildren>;
833
+ readonly default: undefined;
834
+ };
835
+ }>> & Readonly<{}>, {
836
+ readonly children: DocxEditorChildren;
837
+ readonly hidden: boolean;
838
+ readonly style: CSSProperties;
839
+ readonly class: string;
840
+ readonly className: string;
841
+ readonly asChild: boolean;
842
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
843
+ /** The engine refused the last value. @public */
844
+ declare const ContentControlWidgetError: vue.DefineComponent<vue.ExtractPropTypes<{
845
+ readonly class: {
846
+ readonly type: StringConstructor;
847
+ readonly default: undefined;
848
+ };
849
+ readonly className: {
850
+ readonly type: StringConstructor;
851
+ readonly default: undefined;
852
+ };
853
+ readonly style: {
854
+ readonly type: PropType<CSSProperties>;
855
+ readonly default: undefined;
856
+ };
857
+ readonly hidden: {
858
+ readonly type: BooleanConstructor;
859
+ readonly default: undefined;
860
+ };
861
+ readonly asChild: {
862
+ readonly type: BooleanConstructor;
863
+ readonly default: undefined;
864
+ };
865
+ readonly children: {
866
+ readonly type: PropType<DocxEditorChildren>;
867
+ readonly default: undefined;
868
+ };
869
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
870
+ readonly class: {
871
+ readonly type: StringConstructor;
872
+ readonly default: undefined;
873
+ };
874
+ readonly className: {
875
+ readonly type: StringConstructor;
876
+ readonly default: undefined;
877
+ };
878
+ readonly style: {
879
+ readonly type: PropType<CSSProperties>;
880
+ readonly default: undefined;
881
+ };
882
+ readonly hidden: {
883
+ readonly type: BooleanConstructor;
884
+ readonly default: undefined;
885
+ };
886
+ readonly asChild: {
887
+ readonly type: BooleanConstructor;
888
+ readonly default: undefined;
889
+ };
890
+ readonly children: {
891
+ readonly type: PropType<DocxEditorChildren>;
892
+ readonly default: undefined;
893
+ };
894
+ }>> & Readonly<{}>, {
895
+ readonly children: DocxEditorChildren;
896
+ readonly hidden: boolean;
897
+ readonly style: CSSProperties;
898
+ readonly class: string;
899
+ readonly className: string;
900
+ readonly asChild: boolean;
901
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
902
+ /** Commits the draft value. @public */
903
+ declare const ContentControlWidgetApply: vue.DefineComponent<vue.ExtractPropTypes<{
904
+ readonly class: {
905
+ readonly type: StringConstructor;
906
+ readonly default: undefined;
907
+ };
908
+ readonly className: {
909
+ readonly type: StringConstructor;
910
+ readonly default: undefined;
911
+ };
912
+ readonly style: {
913
+ readonly type: PropType<CSSProperties>;
914
+ readonly default: undefined;
915
+ };
916
+ readonly hidden: {
917
+ readonly type: BooleanConstructor;
918
+ readonly default: undefined;
919
+ };
920
+ readonly asChild: {
921
+ readonly type: BooleanConstructor;
922
+ readonly default: undefined;
923
+ };
924
+ readonly children: {
925
+ readonly type: PropType<DocxEditorChildren>;
926
+ readonly default: undefined;
927
+ };
928
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
929
+ readonly class: {
930
+ readonly type: StringConstructor;
931
+ readonly default: undefined;
932
+ };
933
+ readonly className: {
934
+ readonly type: StringConstructor;
935
+ readonly default: undefined;
936
+ };
937
+ readonly style: {
938
+ readonly type: PropType<CSSProperties>;
939
+ readonly default: undefined;
940
+ };
941
+ readonly hidden: {
942
+ readonly type: BooleanConstructor;
943
+ readonly default: undefined;
944
+ };
945
+ readonly asChild: {
946
+ readonly type: BooleanConstructor;
947
+ readonly default: undefined;
948
+ };
949
+ readonly children: {
950
+ readonly type: PropType<DocxEditorChildren>;
951
+ readonly default: undefined;
952
+ };
953
+ }>> & Readonly<{}>, {
954
+ readonly children: DocxEditorChildren;
955
+ readonly hidden: boolean;
956
+ readonly style: CSSProperties;
957
+ readonly class: string;
958
+ readonly className: string;
959
+ readonly asChild: boolean;
960
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
961
+ /** Closes without a write. @public */
962
+ declare const ContentControlWidgetCancel: vue.DefineComponent<vue.ExtractPropTypes<{
963
+ readonly class: {
964
+ readonly type: StringConstructor;
965
+ readonly default: undefined;
966
+ };
967
+ readonly className: {
968
+ readonly type: StringConstructor;
969
+ readonly default: undefined;
970
+ };
971
+ readonly style: {
972
+ readonly type: PropType<CSSProperties>;
973
+ readonly default: undefined;
974
+ };
975
+ readonly hidden: {
976
+ readonly type: BooleanConstructor;
977
+ readonly default: undefined;
978
+ };
979
+ readonly asChild: {
980
+ readonly type: BooleanConstructor;
981
+ readonly default: undefined;
982
+ };
983
+ readonly children: {
984
+ readonly type: PropType<DocxEditorChildren>;
985
+ readonly default: undefined;
986
+ };
987
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
988
+ readonly class: {
989
+ readonly type: StringConstructor;
990
+ readonly default: undefined;
991
+ };
992
+ readonly className: {
993
+ readonly type: StringConstructor;
994
+ readonly default: undefined;
995
+ };
996
+ readonly style: {
997
+ readonly type: PropType<CSSProperties>;
998
+ readonly default: undefined;
999
+ };
1000
+ readonly hidden: {
1001
+ readonly type: BooleanConstructor;
1002
+ readonly default: undefined;
1003
+ };
1004
+ readonly asChild: {
1005
+ readonly type: BooleanConstructor;
1006
+ readonly default: undefined;
1007
+ };
1008
+ readonly children: {
1009
+ readonly type: PropType<DocxEditorChildren>;
1010
+ readonly default: undefined;
1011
+ };
1012
+ }>> & Readonly<{}>, {
1013
+ readonly children: DocxEditorChildren;
1014
+ readonly hidden: boolean;
1015
+ readonly style: CSSProperties;
1016
+ readonly class: string;
1017
+ readonly className: string;
1018
+ readonly asChild: boolean;
1019
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1020
+ /** Cancel and Apply row. @public */
1021
+ declare const ContentControlWidgetFooter: vue.DefineComponent<vue.ExtractPropTypes<{
1022
+ readonly class: {
1023
+ readonly type: StringConstructor;
1024
+ readonly default: undefined;
1025
+ };
1026
+ readonly className: {
1027
+ readonly type: StringConstructor;
1028
+ readonly default: undefined;
1029
+ };
1030
+ readonly style: {
1031
+ readonly type: PropType<CSSProperties>;
1032
+ readonly default: undefined;
1033
+ };
1034
+ readonly hidden: {
1035
+ readonly type: BooleanConstructor;
1036
+ readonly default: undefined;
1037
+ };
1038
+ readonly asChild: {
1039
+ readonly type: BooleanConstructor;
1040
+ readonly default: undefined;
1041
+ };
1042
+ readonly children: {
1043
+ readonly type: PropType<DocxEditorChildren>;
1044
+ readonly default: undefined;
1045
+ };
1046
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
1047
+ readonly class: {
1048
+ readonly type: StringConstructor;
1049
+ readonly default: undefined;
1050
+ };
1051
+ readonly className: {
1052
+ readonly type: StringConstructor;
1053
+ readonly default: undefined;
1054
+ };
1055
+ readonly style: {
1056
+ readonly type: PropType<CSSProperties>;
1057
+ readonly default: undefined;
1058
+ };
1059
+ readonly hidden: {
1060
+ readonly type: BooleanConstructor;
1061
+ readonly default: undefined;
1062
+ };
1063
+ readonly asChild: {
1064
+ readonly type: BooleanConstructor;
1065
+ readonly default: undefined;
1066
+ };
1067
+ readonly children: {
1068
+ readonly type: PropType<DocxEditorChildren>;
1069
+ readonly default: undefined;
1070
+ };
1071
+ }>> & Readonly<{}>, {
1072
+ readonly children: DocxEditorChildren;
1073
+ readonly hidden: boolean;
1074
+ readonly style: CSSProperties;
1075
+ readonly class: string;
1076
+ readonly className: string;
1077
+ readonly asChild: boolean;
1078
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1079
+ /** Month selector and numeric year entry. @public */
1080
+ declare const ContentControlWidgetNavigation: vue.DefineComponent<vue.ExtractPropTypes<{
1081
+ readonly class: {
1082
+ readonly type: StringConstructor;
1083
+ readonly default: undefined;
1084
+ };
1085
+ readonly className: {
1086
+ readonly type: StringConstructor;
1087
+ readonly default: undefined;
1088
+ };
1089
+ readonly style: {
1090
+ readonly type: PropType<CSSProperties>;
1091
+ readonly default: undefined;
1092
+ };
1093
+ readonly hidden: {
1094
+ readonly type: BooleanConstructor;
1095
+ readonly default: undefined;
1096
+ };
1097
+ readonly asChild: {
1098
+ readonly type: BooleanConstructor;
1099
+ readonly default: undefined;
1100
+ };
1101
+ readonly children: {
1102
+ readonly type: PropType<DocxEditorChildren>;
1103
+ readonly default: undefined;
1104
+ };
1105
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
1106
+ readonly class: {
1107
+ readonly type: StringConstructor;
1108
+ readonly default: undefined;
1109
+ };
1110
+ readonly className: {
1111
+ readonly type: StringConstructor;
1112
+ readonly default: undefined;
1113
+ };
1114
+ readonly style: {
1115
+ readonly type: PropType<CSSProperties>;
1116
+ readonly default: undefined;
1117
+ };
1118
+ readonly hidden: {
1119
+ readonly type: BooleanConstructor;
1120
+ readonly default: undefined;
1121
+ };
1122
+ readonly asChild: {
1123
+ readonly type: BooleanConstructor;
1124
+ readonly default: undefined;
1125
+ };
1126
+ readonly children: {
1127
+ readonly type: PropType<DocxEditorChildren>;
1128
+ readonly default: undefined;
1129
+ };
1130
+ }>> & Readonly<{}>, {
1131
+ readonly children: DocxEditorChildren;
1132
+ readonly hidden: boolean;
1133
+ readonly style: CSSProperties;
1134
+ readonly class: string;
1135
+ readonly className: string;
1136
+ readonly asChild: boolean;
1137
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1138
+ /** Jump directly to a month. @public */
1139
+ declare const ContentControlWidgetMonth: vue.DefineComponent<vue.ExtractPropTypes<{
1140
+ readonly class: {
1141
+ readonly type: StringConstructor;
1142
+ readonly default: undefined;
1143
+ };
1144
+ readonly className: {
1145
+ readonly type: StringConstructor;
1146
+ readonly default: undefined;
1147
+ };
1148
+ readonly style: {
1149
+ readonly type: PropType<CSSProperties>;
1150
+ readonly default: undefined;
1151
+ };
1152
+ readonly hidden: {
1153
+ readonly type: BooleanConstructor;
1154
+ readonly default: undefined;
1155
+ };
1156
+ readonly asChild: {
1157
+ readonly type: BooleanConstructor;
1158
+ readonly default: undefined;
1159
+ };
1160
+ readonly children: {
1161
+ readonly type: PropType<DocxEditorChildren>;
1162
+ readonly default: undefined;
1163
+ };
1164
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
1165
+ readonly class: {
1166
+ readonly type: StringConstructor;
1167
+ readonly default: undefined;
1168
+ };
1169
+ readonly className: {
1170
+ readonly type: StringConstructor;
1171
+ readonly default: undefined;
1172
+ };
1173
+ readonly style: {
1174
+ readonly type: PropType<CSSProperties>;
1175
+ readonly default: undefined;
1176
+ };
1177
+ readonly hidden: {
1178
+ readonly type: BooleanConstructor;
1179
+ readonly default: undefined;
1180
+ };
1181
+ readonly asChild: {
1182
+ readonly type: BooleanConstructor;
1183
+ readonly default: undefined;
1184
+ };
1185
+ readonly children: {
1186
+ readonly type: PropType<DocxEditorChildren>;
1187
+ readonly default: undefined;
1188
+ };
1189
+ }>> & Readonly<{}>, {
1190
+ readonly children: DocxEditorChildren;
1191
+ readonly hidden: boolean;
1192
+ readonly style: CSSProperties;
1193
+ readonly class: string;
1194
+ readonly className: string;
1195
+ readonly asChild: boolean;
1196
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1197
+ /** Jump directly to a four-digit year. @public */
1198
+ declare const ContentControlWidgetYear: vue.DefineComponent<vue.ExtractPropTypes<{
1199
+ readonly class: {
1200
+ readonly type: StringConstructor;
1201
+ readonly default: undefined;
1202
+ };
1203
+ readonly className: {
1204
+ readonly type: StringConstructor;
1205
+ readonly default: undefined;
1206
+ };
1207
+ readonly style: {
1208
+ readonly type: PropType<CSSProperties>;
1209
+ readonly default: undefined;
1210
+ };
1211
+ readonly hidden: {
1212
+ readonly type: BooleanConstructor;
1213
+ readonly default: undefined;
1214
+ };
1215
+ readonly asChild: {
1216
+ readonly type: BooleanConstructor;
1217
+ readonly default: undefined;
1218
+ };
1219
+ readonly children: {
1220
+ readonly type: PropType<DocxEditorChildren>;
1221
+ readonly default: undefined;
1222
+ };
1223
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
1224
+ readonly class: {
1225
+ readonly type: StringConstructor;
1226
+ readonly default: undefined;
1227
+ };
1228
+ readonly className: {
1229
+ readonly type: StringConstructor;
1230
+ readonly default: undefined;
1231
+ };
1232
+ readonly style: {
1233
+ readonly type: PropType<CSSProperties>;
1234
+ readonly default: undefined;
1235
+ };
1236
+ readonly hidden: {
1237
+ readonly type: BooleanConstructor;
1238
+ readonly default: undefined;
1239
+ };
1240
+ readonly asChild: {
1241
+ readonly type: BooleanConstructor;
1242
+ readonly default: undefined;
1243
+ };
1244
+ readonly children: {
1245
+ readonly type: PropType<DocxEditorChildren>;
1246
+ readonly default: undefined;
1247
+ };
1248
+ }>> & Readonly<{}>, {
1249
+ readonly children: DocxEditorChildren;
1250
+ readonly hidden: boolean;
1251
+ readonly style: CSSProperties;
1252
+ readonly class: string;
1253
+ readonly className: string;
1254
+ readonly asChild: boolean;
1255
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1256
+ /** Props for the picture file input. @public */
1257
+ interface ContentControlWidgetPictureProps extends DocxEditorContentControlWidgetPartProps {
1258
+ /** Open the browser's file dialog as soon as the part mounts. Defaults to true. */
1259
+ autoOpen?: boolean;
1260
+ }
1261
+ /**
1262
+ * The file input of a picture session. A chosen file replaces the control's image through
1263
+ * the session; closing the dialog without a file cancels the session. @public
1264
+ */
1265
+ declare const ContentControlWidgetPicture: vue.DefineComponent<vue.ExtractPropTypes<{
1266
+ autoOpen: {
1267
+ type: BooleanConstructor;
1268
+ default: undefined;
1269
+ };
1270
+ class: {
1271
+ readonly type: StringConstructor;
1272
+ readonly default: undefined;
1273
+ };
1274
+ className: {
1275
+ readonly type: StringConstructor;
1276
+ readonly default: undefined;
1277
+ };
1278
+ style: {
1279
+ readonly type: PropType<CSSProperties>;
1280
+ readonly default: undefined;
1281
+ };
1282
+ hidden: {
1283
+ readonly type: BooleanConstructor;
1284
+ readonly default: undefined;
1285
+ };
1286
+ asChild: {
1287
+ readonly type: BooleanConstructor;
1288
+ readonly default: undefined;
1289
+ };
1290
+ children: {
1291
+ readonly type: PropType<DocxEditorChildren>;
1292
+ readonly default: undefined;
1293
+ };
1294
+ }>, () => VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
1295
+ autoOpen: {
1296
+ type: BooleanConstructor;
1297
+ default: undefined;
1298
+ };
1299
+ class: {
1300
+ readonly type: StringConstructor;
1301
+ readonly default: undefined;
1302
+ };
1303
+ className: {
1304
+ readonly type: StringConstructor;
1305
+ readonly default: undefined;
1306
+ };
1307
+ style: {
1308
+ readonly type: PropType<CSSProperties>;
1309
+ readonly default: undefined;
1310
+ };
1311
+ hidden: {
1312
+ readonly type: BooleanConstructor;
1313
+ readonly default: undefined;
1314
+ };
1315
+ asChild: {
1316
+ readonly type: BooleanConstructor;
1317
+ readonly default: undefined;
1318
+ };
1319
+ children: {
1320
+ readonly type: PropType<DocxEditorChildren>;
1321
+ readonly default: undefined;
1322
+ };
1323
+ }>> & Readonly<{}>, {
1324
+ children: DocxEditorChildren;
1325
+ hidden: boolean;
1326
+ style: CSSProperties;
1327
+ class: string;
1328
+ className: string;
1329
+ asChild: boolean;
1330
+ autoOpen: boolean;
1331
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
1332
+
1333
+ /** Value-widget session and optional replacement controls. @public */
1334
+ interface DocxEditorContentControlWidgetProps {
1335
+ session: ContentControlWidgetSession;
1336
+ className?: string;
1337
+ style?: CSSProperties;
1338
+ /**
1339
+ * Replaces the packaged arrangement. Compose it from the compound's parts
1340
+ * (`DocxEditorContentControlWidget.Calendar`, `.List`, …) or from `useContentControlWidget()`.
1341
+ */
1342
+ children?: DocxEditorChildren;
1343
+ }
1344
+ /** The compound pop-up with its parts attached as statics. @public */
1345
+ interface DocxEditorContentControlWidgetNamespace {
1346
+ (props: DocxEditorContentControlWidgetProps): VNode | null;
1347
+ readonly Navigation: typeof ContentControlWidgetNavigation;
1348
+ readonly Month: typeof ContentControlWidgetMonth;
1349
+ readonly Year: typeof ContentControlWidgetYear;
1350
+ readonly Calendar: typeof ContentControlWidgetCalendar;
1351
+ readonly Header: typeof ContentControlWidgetHeader;
1352
+ readonly PreviousMonth: typeof ContentControlWidgetPreviousMonth;
1353
+ readonly Title: typeof ContentControlWidgetTitle;
1354
+ readonly NextMonth: typeof ContentControlWidgetNextMonth;
1355
+ readonly Weekdays: typeof ContentControlWidgetWeekdays;
1356
+ readonly Grid: typeof ContentControlWidgetGrid;
1357
+ readonly Day: typeof ContentControlWidgetDay;
1358
+ readonly Today: typeof ContentControlWidgetToday;
1359
+ readonly List: typeof ContentControlWidgetList;
1360
+ readonly Item: typeof ContentControlWidgetItem;
1361
+ readonly Input: typeof ContentControlWidgetInput;
1362
+ readonly Picture: typeof ContentControlWidgetPicture;
1363
+ readonly Error: typeof ContentControlWidgetError;
1364
+ readonly Footer: typeof ContentControlWidgetFooter;
1365
+ readonly Apply: typeof ContentControlWidgetApply;
1366
+ readonly Cancel: typeof ContentControlWidgetCancel;
1367
+ }
1368
+ /** Compact value editor for a configured content-control popup. @public */
1369
+ declare const DocxEditorContentControlWidget: DocxEditorContentControlWidgetNamespace;
56
1370
 
57
1371
  /** Invalid-value acknowledgement with editor-owned clearing and focus restoration. @public */
58
1372
  interface DocxEditorInvalidTextFormFieldDialogProps {
@@ -467,7 +1781,7 @@ declare const DocxEditorTextFormFieldDialog: {
467
1781
  }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
468
1782
  session: TextFormFieldDialogSession | null;
469
1783
  preset: boolean;
470
- }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Record<"Title" | "Cancel" | "Apply" | "Header" | "Footer" | "Body" | "Error", vue.DefineComponent<DialogPartProps>> & {
1784
+ }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Record<"Title" | "Cancel" | "Apply" | "Header" | "Footer" | "Error" | "Body", vue.DefineComponent<DialogPartProps>> & {
471
1785
  Field: vue.DefineComponent<DialogPartProps & {
472
1786
  name: keyof TextFormFieldDialogFields;
473
1787
  }>;
@@ -810,7 +2124,7 @@ declare const DocxEditorPageSetupDialog: {
810
2124
  }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
811
2125
  className: string;
812
2126
  preset: boolean;
813
- }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Record<"Title" | "Cancel" | "Apply" | "Header" | "Footer" | "Body" | "Error", vue.DefineComponent<DialogPartProps>> & {
2127
+ }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Record<"Title" | "Cancel" | "Apply" | "Header" | "Footer" | "Error" | "Body", vue.DefineComponent<DialogPartProps>> & {
814
2128
  Field: vue.DefineComponent<DialogPartProps & {
815
2129
  name: "scope" | "orientation" | "pageSize" | "marginLeft" | "marginRight" | "marginBottom" | "marginTop";
816
2130
  }>;
@@ -906,7 +2220,7 @@ declare const DocxEditorParagraphDialog: {
906
2220
  }>> & Readonly<{}>, () => vue_jsx_runtime.JSX.Element | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, {
907
2221
  className: string;
908
2222
  preset: boolean;
909
- }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Record<"Title" | "Cancel" | "Apply" | "Header" | "Footer" | "Body" | "Error", vue.DefineComponent<DialogPartProps>> & {
2223
+ }, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Record<"Title" | "Cancel" | "Apply" | "Header" | "Footer" | "Error" | "Body", vue.DefineComponent<DialogPartProps>> & {
910
2224
  Field: vue.DefineComponent<DialogPartProps & {
911
2225
  name: "keepNext" | "keepLines" | "pageBreakBefore" | "widowControl" | "contextualSpacing" | "alignment" | "spaceBefore" | "spaceAfter" | "lineRule" | "tabStops" | "special" | "indentLeft" | "indentRight" | "specialBy" | "lineValue";
912
2226
  }>;
@@ -1590,11 +2904,11 @@ declare const MenuRow: vue.DefineComponent<vue.ExtractPropTypes<{
1590
2904
  slot: string;
1591
2905
  active: boolean;
1592
2906
  className: string;
2907
+ disabled: boolean;
1593
2908
  selected: boolean;
1594
2909
  icon: VNode<vue.RendererNode, vue.RendererElement, {
1595
2910
  [key: string]: any;
1596
2911
  }>;
1597
- disabled: boolean;
1598
2912
  onSelect: () => void;
1599
2913
  shortcut: string;
1600
2914
  rowSlot: string;
@@ -3923,10 +5237,10 @@ declare const ContextMenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
3923
5237
  active: boolean;
3924
5238
  disabledReason: string;
3925
5239
  className: string;
5240
+ disabled: boolean;
3926
5241
  icon: VNode<vue.RendererNode, vue.RendererElement, {
3927
5242
  [key: string]: any;
3928
5243
  }>;
3929
- disabled: boolean;
3930
5244
  onSelect: () => void;
3931
5245
  shortcut: string;
3932
5246
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -4041,6 +5355,18 @@ declare function useContextMenuTarget(): HTMLElement | null;
4041
5355
  /** Render overrides for automatically hosted editor popups. False disables a popup. @public */
4042
5356
  interface DocxEditorPopups {
4043
5357
  contentControlWidget?: DocxEditorPopup<DocxEditorContentControlWidgetProps>;
5358
+ /**
5359
+ * Renderer for checkbox presses. Omitted, the engine toggles the box itself and
5360
+ * `contentControlWidget` never sees a checkbox session. Configure it to confirm, refuse or
5361
+ * restyle the toggle; `DocxEditorContentControlWidget` without children applies it at once.
5362
+ */
5363
+ contentControlCheckbox?: DocxEditorPopup<DocxEditorContentControlWidgetProps>;
5364
+ /**
5365
+ * Renderer for picture presses. Omitted, the engine opens its own file picker and
5366
+ * `contentControlWidget` never sees a picture session. Configure it to pick from your own
5367
+ * source; `DocxEditorContentControlWidget` without children opens a file picker at once.
5368
+ */
5369
+ contentControlPicture?: DocxEditorPopup<DocxEditorContentControlWidgetProps>;
4044
5370
  invalidTextFormField?: DocxEditorPopup<DocxEditorInvalidTextFormFieldDialogProps>;
4045
5371
  imageProperties?: DocxEditorPopup<DocxEditorImagePropertiesDialogProps>;
4046
5372
  imageAltText?: DocxEditorPopup<DocxEditorImageAltTextPopupProps>;
@@ -4665,10 +5991,10 @@ declare const ToolbarAction: vue.DefineComponent<vue.ExtractPropTypes<{
4665
5991
  class: string;
4666
5992
  disabledReason: string;
4667
5993
  className: string;
5994
+ disabled: boolean;
4668
5995
  icon: VNode<vue.RendererNode, vue.RendererElement, {
4669
5996
  [key: string]: any;
4670
5997
  }>;
4671
- disabled: boolean;
4672
5998
  asChild: boolean;
4673
5999
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
4674
6000
 
@@ -5720,8 +7046,8 @@ declare const DocxEditorFontNotice: vue.DefineComponent<vue.ExtractPropTypes<{
5720
7046
  default: undefined;
5721
7047
  };
5722
7048
  }>> & Readonly<{}>, {
5723
- style: CSSProperties;
5724
7049
  t: TFunction;
7050
+ style: CSSProperties;
5725
7051
  className: string;
5726
7052
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
5727
7053
 
@@ -5807,9 +7133,7 @@ interface DocxEditorRef {
5807
7133
  getDocumentHandle(): DocumentHandle | null;
5808
7134
  getEditor(): Editor | null;
5809
7135
  focus(): void;
5810
- exec(command: EditorCommand, options?: {
5811
- scope?: EditorScope;
5812
- }): ExecResult;
7136
+ exec(command: EditorCommand, options?: EditorExecOptions): ExecResult;
5813
7137
  snapshot(options?: {
5814
7138
  scope?: EditorScope;
5815
7139
  }): EditorSnapshot;
@@ -5899,7 +7223,7 @@ declare function useScopeClassName(): '' | 'docx-editor ';
5899
7223
 
5900
7224
  /** @public */
5901
7225
  interface EditorCommandState {
5902
- readonly execute: () => boolean;
7226
+ readonly execute: EditorCommandExecute;
5903
7227
  readonly isActive: ComputedRef<boolean>;
5904
7228
  readonly isEnabled: ComputedRef<boolean>;
5905
7229
  readonly disabledReason: ComputedRef<string | null>;
@@ -5918,16 +7242,14 @@ declare function useEditorCommand(target: MaybeRefOrGetter<ChromeSlotId | Editor
5918
7242
 
5919
7243
  /** @public */
5920
7244
  interface EditorValueCommandState<T extends string | number> {
5921
- readonly execute: (value: T) => void;
7245
+ readonly execute: (value: T, options?: EditorExecOptions) => ExecResult;
5922
7246
  readonly value: ComputedRef<T | null>;
5923
7247
  readonly options: ComputedRef<readonly T[]>;
5924
7248
  readonly isEnabled: ComputedRef<boolean>;
5925
7249
  readonly disabledReason: ComputedRef<string | null>;
5926
7250
  }
5927
- /** @public */
5928
- declare function useEditorValueCommand(slotId: 'image.wrap'): EditorValueCommandState<ImageWrapTarget>;
5929
- /** @public */
5930
- declare function useEditorValueCommand(slotId: 'image.altText'): EditorValueCommandState<string>;
7251
+ /** Bind a value slot. Font size values use half-points; colors use six digits without `#`. @public */
7252
+ declare function useEditorValueCommand<K extends keyof ToolbarValueMap>(slotId: K): EditorValueCommandState<ToolbarValueMap[K]>;
5931
7253
 
5932
7254
  /** @public */
5933
7255
  declare function useEditorEvent<E extends keyof EditorEvents>(event: E, handler: EditorEvents[E]): void;
@@ -6339,9 +7661,9 @@ declare const HorizontalRuler: vue.DefineComponent<vue.ExtractPropTypes<{
6339
7661
  };
6340
7662
  }>> & Readonly<{}>, {
6341
7663
  style: CSSProperties;
7664
+ zoom: number;
6342
7665
  indent: RulerIndent | null;
6343
7666
  editable: boolean;
6344
- zoom: number;
6345
7667
  className: string;
6346
7668
  pageSetup: _docx_editor_dev_core.PageSetup | null;
6347
7669
  onLeftMarginChange: (marginTwips: number) => void;
@@ -6447,8 +7769,8 @@ declare const VerticalRuler: vue.DefineComponent<vue.ExtractPropTypes<{
6447
7769
  };
6448
7770
  }>> & Readonly<{}>, {
6449
7771
  style: CSSProperties;
6450
- editable: boolean;
6451
7772
  zoom: number;
7773
+ editable: boolean;
6452
7774
  className: string;
6453
7775
  pageSetup: _docx_editor_dev_core.PageSetup | null;
6454
7776
  onMarginDragEnd: () => void;
@@ -7068,8 +8390,8 @@ declare const ToolbarButton: vue.DefineComponent<vue.ExtractPropTypes<{
7068
8390
  title: string;
7069
8391
  active: boolean;
7070
8392
  className: string;
7071
- ariaLabel: string;
7072
8393
  disabled: boolean;
8394
+ ariaLabel: string;
7073
8395
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
7074
8396
  /** @public @deprecated Use `DocxEditor.Toolbar` group parts instead. */
7075
8397
  declare const ToolbarGroup: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
@@ -7119,4 +8441,12 @@ declare const TitleBarRight: vue.DefineComponent<{}, () => vue.VNode<vue.Rendere
7119
8441
  [key: string]: any;
7120
8442
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
7121
8443
 
7122
- export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, type DialogCustomizationProps, type DialogPartProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, DocxEditorContentControlWidget, type DocxEditorContentControlWidgetProps, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorEquation, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopup, type DocxEditorImageAltTextPopupProps, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialog, type DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotePreview, type DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialog, type DocxEditorNotePropertiesDialogProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorNotesContextMenu, type DocxEditorNotesContextMenuProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorPopup, type DocxEditorPopups, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorTextFormFieldDialog, type DocxEditorTextFormFieldDialogProps, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontOrigin, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuReviewersProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupDialogFields, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, type TextFormFieldDialogFields, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarReviewersProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDialogReturn, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupDialogReturn, type UsePageSetupReturn, type UseParagraphDialogReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseTextFormFieldDialogReturn, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, definePopup, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
8444
+ /** @public */
8445
+ interface UseHistoryGroupReturn {
8446
+ readonly ref: (element: HTMLElement | null) => void;
8447
+ readonly options: () => EditorExecOptions;
8448
+ }
8449
+ /** Bind a control's native gesture lifecycle. Apply values through the existing command hooks. @public */
8450
+ declare function useHistoryGroup({ kind }: HistoryGroupBindingOptions): UseHistoryGroupReturn;
8451
+
8452
+ export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContentControlWidgetDayProps, type ContentControlWidgetEntry, type ContentControlWidgetItemProps, type ContentControlWidgetPictureProps, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, type DialogCustomizationProps, type DialogPartProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, DocxEditorContentControlWidget, type DocxEditorContentControlWidgetNamespace, type DocxEditorContentControlWidgetPartProps, type DocxEditorContentControlWidgetProps, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorEquation, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopup, type DocxEditorImageAltTextPopupProps, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialog, type DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotePreview, type DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialog, type DocxEditorNotePropertiesDialogProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorNotesContextMenu, type DocxEditorNotesContextMenuProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorPopup, type DocxEditorPopups, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorTextFormFieldDialog, type DocxEditorTextFormFieldDialogProps, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontOrigin, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuReviewersProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupDialogFields, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, type TextFormFieldDialogFields, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarReviewersProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseContentControlWidgetResult, type UseDialogReturn, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHistoryGroupReturn, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupDialogReturn, type UsePageSetupReturn, type UseParagraphDialogReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseTextFormFieldDialogReturn, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, 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, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };