@prosekit/vue 0.4.12 → 0.4.13

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.
@@ -1,733 +0,0 @@
1
- import { AutocompleteEmptyEvents } from '@prosekit/web/autocomplete';
2
- import { AutocompleteEmptyProps as AutocompleteEmptyProps_2 } from '@prosekit/web/autocomplete';
3
- import { AutocompleteItemEvents } from '@prosekit/web/autocomplete';
4
- import { AutocompleteItemProps as AutocompleteItemProps_2 } from '@prosekit/web/autocomplete';
5
- import { AutocompleteListEvents } from '@prosekit/web/autocomplete';
6
- import { AutocompleteListProps as AutocompleteListProps_2 } from '@prosekit/web/autocomplete';
7
- import { AutocompletePopoverEvents } from '@prosekit/web/autocomplete';
8
- import { AutocompletePopoverProps as AutocompletePopoverProps_2 } from '@prosekit/web/autocomplete';
9
- import { BlockHandleAddEvents } from '@prosekit/web/block-handle';
10
- import { BlockHandleAddProps as BlockHandleAddProps_2 } from '@prosekit/web/block-handle';
11
- import { BlockHandleDraggableEvents } from '@prosekit/web/block-handle';
12
- import { BlockHandleDraggableProps as BlockHandleDraggableProps_2 } from '@prosekit/web/block-handle';
13
- import { BlockHandlePopoverEvents } from '@prosekit/web/block-handle';
14
- import { BlockHandlePopoverProps as BlockHandlePopoverProps_2 } from '@prosekit/web/block-handle';
15
- import { ComponentOptionsMixin } from 'vue';
16
- import { ComponentProvideOptions } from 'vue';
17
- import { ComputedRef } from 'vue';
18
- import type { CoreMarkViewUserOptions } from '@prosemirror-adapter/core';
19
- import type { CoreNodeViewUserOptions } from '@prosemirror-adapter/core';
20
- import { DefineComponent } from 'vue';
21
- import { DefineSetupFnComponent } from 'vue';
22
- import { Editor } from '@prosekit/core';
23
- import type { EditorState } from '@prosekit/pm/state';
24
- import { EmitsOptions } from 'vue';
25
- import { Extension } from '@prosekit/core';
26
- import { HTMLAttributes } from 'vue';
27
- import { InlinePopoverEvents } from '@prosekit/web/inline-popover';
28
- import { InlinePopoverProps as InlinePopoverProps_2 } from '@prosekit/web/inline-popover';
29
- import { Keymap } from '@prosekit/core';
30
- import { MarkViewContext } from '@prosemirror-adapter/vue';
31
- import { MaybeRefOrGetter } from 'vue';
32
- import { NodeViewContext } from '@prosemirror-adapter/vue';
33
- import { PopoverContentEvents } from '@prosekit/web/popover';
34
- import { PopoverContentProps as PopoverContentProps_2 } from '@prosekit/web/popover';
35
- import { PopoverRootEvents } from '@prosekit/web/popover';
36
- import { PopoverRootProps as PopoverRootProps_2 } from '@prosekit/web/popover';
37
- import { PopoverTriggerEvents } from '@prosekit/web/popover';
38
- import { PopoverTriggerProps as PopoverTriggerProps_2 } from '@prosekit/web/popover';
39
- import { Priority } from '@prosekit/core';
40
- import type { ProseMirrorNode } from '@prosekit/pm/model';
41
- import { PublicProps } from 'vue';
42
- import { ResizableHandleEvents } from '@prosekit/web/resizable';
43
- import { ResizableHandleProps as ResizableHandleProps_2 } from '@prosekit/web/resizable';
44
- import { ResizableRootEvents } from '@prosekit/web/resizable';
45
- import { ResizableRootProps as ResizableRootProps_2 } from '@prosekit/web/resizable';
46
- import { ShallowRef } from 'vue';
47
- import { TableHandleColumnRootEvents } from '@prosekit/web/table-handle';
48
- import { TableHandleColumnRootProps as TableHandleColumnRootProps_2 } from '@prosekit/web/table-handle';
49
- import { TableHandleColumnTriggerEvents } from '@prosekit/web/table-handle';
50
- import { TableHandleColumnTriggerProps as TableHandleColumnTriggerProps_2 } from '@prosekit/web/table-handle';
51
- import { TableHandlePopoverContentEvents } from '@prosekit/web/table-handle';
52
- import { TableHandlePopoverContentProps as TableHandlePopoverContentProps_2 } from '@prosekit/web/table-handle';
53
- import { TableHandlePopoverItemEvents } from '@prosekit/web/table-handle';
54
- import { TableHandlePopoverItemProps as TableHandlePopoverItemProps_2 } from '@prosekit/web/table-handle';
55
- import { TableHandleRootEvents } from '@prosekit/web/table-handle';
56
- import { TableHandleRootProps as TableHandleRootProps_2 } from '@prosekit/web/table-handle';
57
- import { TableHandleRowRootEvents } from '@prosekit/web/table-handle';
58
- import { TableHandleRowRootProps as TableHandleRowRootProps_2 } from '@prosekit/web/table-handle';
59
- import { TableHandleRowTriggerEvents } from '@prosekit/web/table-handle';
60
- import { TableHandleRowTriggerProps as TableHandleRowTriggerProps_2 } from '@prosekit/web/table-handle';
61
- import { TooltipContentEvents } from '@prosekit/web/tooltip';
62
- import { TooltipContentProps as TooltipContentProps_2 } from '@prosekit/web/tooltip';
63
- import { TooltipRootEvents } from '@prosekit/web/tooltip';
64
- import { TooltipRootProps as TooltipRootProps_2 } from '@prosekit/web/tooltip';
65
- import { TooltipTriggerEvents } from '@prosekit/web/tooltip';
66
- import { TooltipTriggerProps as TooltipTriggerProps_2 } from '@prosekit/web/tooltip';
67
-
68
- declare const AutocompleteEmpty: DefineSetupFnComponent<AutocompleteEmptyProps & HTMLAttributes, AutocompleteEmptyEmits>;
69
- export { AutocompleteEmpty }
70
- export { AutocompleteEmpty as AutocompleteEmpty_alias_1 }
71
-
72
- /**
73
- * Emits for the {@link AutocompleteEmpty} component.
74
- */
75
- declare interface AutocompleteEmptyEmits extends CreateEmits<AutocompleteEmptyEvents> {
76
- }
77
- export { AutocompleteEmptyEmits }
78
- export { AutocompleteEmptyEmits as AutocompleteEmptyEmits_alias_1 }
79
-
80
- /**
81
- * Props for the {@link AutocompleteEmpty} component.
82
- */
83
- declare interface AutocompleteEmptyProps extends Partial<AutocompleteEmptyProps_2> {
84
- }
85
- export { AutocompleteEmptyProps }
86
- export { AutocompleteEmptyProps as AutocompleteEmptyProps_alias_1 }
87
-
88
- declare const AutocompleteItem: DefineSetupFnComponent<AutocompleteItemProps & HTMLAttributes, AutocompleteItemEmits>;
89
- export { AutocompleteItem }
90
- export { AutocompleteItem as AutocompleteItem_alias_1 }
91
-
92
- /**
93
- * Emits for the {@link AutocompleteItem} component.
94
- */
95
- declare interface AutocompleteItemEmits extends CreateEmits<AutocompleteItemEvents> {
96
- }
97
- export { AutocompleteItemEmits }
98
- export { AutocompleteItemEmits as AutocompleteItemEmits_alias_1 }
99
-
100
- /**
101
- * Props for the {@link AutocompleteItem} component.
102
- */
103
- declare interface AutocompleteItemProps extends Partial<AutocompleteItemProps_2> {
104
- }
105
- export { AutocompleteItemProps }
106
- export { AutocompleteItemProps as AutocompleteItemProps_alias_1 }
107
-
108
- declare const AutocompleteList: DefineSetupFnComponent<AutocompleteListProps & HTMLAttributes, AutocompleteListEmits>;
109
- export { AutocompleteList }
110
- export { AutocompleteList as AutocompleteList_alias_1 }
111
-
112
- /**
113
- * Emits for the {@link AutocompleteList} component.
114
- */
115
- declare interface AutocompleteListEmits extends CreateEmits<AutocompleteListEvents> {
116
- }
117
- export { AutocompleteListEmits }
118
- export { AutocompleteListEmits as AutocompleteListEmits_alias_1 }
119
-
120
- /**
121
- * Props for the {@link AutocompleteList} component.
122
- */
123
- declare interface AutocompleteListProps extends Partial<AutocompleteListProps_2> {
124
- }
125
- export { AutocompleteListProps }
126
- export { AutocompleteListProps as AutocompleteListProps_alias_1 }
127
-
128
- declare const AutocompletePopover: DefineSetupFnComponent<AutocompletePopoverProps & HTMLAttributes, AutocompletePopoverEmits>;
129
- export { AutocompletePopover }
130
- export { AutocompletePopover as AutocompletePopover_alias_1 }
131
-
132
- /**
133
- * Emits for the {@link AutocompletePopover} component.
134
- */
135
- declare interface AutocompletePopoverEmits extends CreateEmits<AutocompletePopoverEvents> {
136
- }
137
- export { AutocompletePopoverEmits }
138
- export { AutocompletePopoverEmits as AutocompletePopoverEmits_alias_1 }
139
-
140
- /**
141
- * Props for the {@link AutocompletePopover} component.
142
- */
143
- declare interface AutocompletePopoverProps extends Partial<AutocompletePopoverProps_2> {
144
- }
145
- export { AutocompletePopoverProps }
146
- export { AutocompletePopoverProps as AutocompletePopoverProps_alias_1 }
147
-
148
- declare const BlockHandleAdd: DefineSetupFnComponent<BlockHandleAddProps & HTMLAttributes, BlockHandleAddEmits>;
149
- export { BlockHandleAdd }
150
- export { BlockHandleAdd as BlockHandleAdd_alias_1 }
151
-
152
- /**
153
- * Emits for the {@link BlockHandleAdd} component.
154
- */
155
- declare interface BlockHandleAddEmits extends CreateEmits<BlockHandleAddEvents> {
156
- }
157
- export { BlockHandleAddEmits }
158
- export { BlockHandleAddEmits as BlockHandleAddEmits_alias_1 }
159
-
160
- /**
161
- * Props for the {@link BlockHandleAdd} component.
162
- */
163
- declare interface BlockHandleAddProps extends Partial<BlockHandleAddProps_2> {
164
- }
165
- export { BlockHandleAddProps }
166
- export { BlockHandleAddProps as BlockHandleAddProps_alias_1 }
167
-
168
- declare const BlockHandleDraggable: DefineSetupFnComponent<BlockHandleDraggableProps & HTMLAttributes, BlockHandleDraggableEmits>;
169
- export { BlockHandleDraggable }
170
- export { BlockHandleDraggable as BlockHandleDraggable_alias_1 }
171
-
172
- /**
173
- * Emits for the {@link BlockHandleDraggable} component.
174
- */
175
- declare interface BlockHandleDraggableEmits extends CreateEmits<BlockHandleDraggableEvents> {
176
- }
177
- export { BlockHandleDraggableEmits }
178
- export { BlockHandleDraggableEmits as BlockHandleDraggableEmits_alias_1 }
179
-
180
- /**
181
- * Props for the {@link BlockHandleDraggable} component.
182
- */
183
- declare interface BlockHandleDraggableProps extends Partial<BlockHandleDraggableProps_2> {
184
- }
185
- export { BlockHandleDraggableProps }
186
- export { BlockHandleDraggableProps as BlockHandleDraggableProps_alias_1 }
187
-
188
- declare const BlockHandlePopover: DefineSetupFnComponent<BlockHandlePopoverProps & HTMLAttributes, BlockHandlePopoverEmits>;
189
- export { BlockHandlePopover }
190
- export { BlockHandlePopover as BlockHandlePopover_alias_1 }
191
-
192
- /**
193
- * Emits for the {@link BlockHandlePopover} component.
194
- */
195
- declare interface BlockHandlePopoverEmits extends CreateEmits<BlockHandlePopoverEvents> {
196
- }
197
- export { BlockHandlePopoverEmits }
198
- export { BlockHandlePopoverEmits as BlockHandlePopoverEmits_alias_1 }
199
-
200
- /**
201
- * Props for the {@link BlockHandlePopover} component.
202
- */
203
- declare interface BlockHandlePopoverProps extends Partial<BlockHandlePopoverProps_2> {
204
- }
205
- export { BlockHandlePopoverProps }
206
- export { BlockHandlePopoverProps as BlockHandlePopoverProps_alias_1 }
207
-
208
- export declare function createComponent<Props extends {
209
- [PropName in keyof Props]: unknown;
210
- }, Emits extends EmitsOptions>(tagName: string, displayName: string, propNames: string[], eventNames: string[]): DefineSetupFnComponent<Partial<Props> & HTMLAttributes, Emits>;
211
-
212
- export declare type CreateEmits<Events extends {
213
- [EventName in keyof Events]: CustomEvent;
214
- }> = {
215
- [EventName in keyof Events]: (event: EventName extends `${string}Change` ? Events[EventName]['detail'] : Events[EventName]) => void;
216
- };
217
-
218
- /**
219
- * Defines a mark view using a Vue component.
220
- *
221
- * @public
222
- */
223
- declare function defineVueMarkView(options: VueMarkViewOptions): Extension;
224
- export { defineVueMarkView }
225
- export { defineVueMarkView as defineVueMarkView_alias_1 }
226
-
227
- /**
228
- * Defines a node view using a Vue component.
229
- *
230
- * @public
231
- */
232
- declare function defineVueNodeView(options: VueNodeViewOptions): Extension;
233
- export { defineVueNodeView }
234
- export { defineVueNodeView as defineVueNodeView_alias_1 }
235
-
236
- declare const InlinePopover: DefineSetupFnComponent<InlinePopoverProps & HTMLAttributes, InlinePopoverEmits>;
237
- export { InlinePopover }
238
- export { InlinePopover as InlinePopover_alias_1 }
239
-
240
- /**
241
- * Emits for the {@link InlinePopover} component.
242
- */
243
- declare interface InlinePopoverEmits extends CreateEmits<InlinePopoverEvents> {
244
- }
245
- export { InlinePopoverEmits }
246
- export { InlinePopoverEmits as InlinePopoverEmits_alias_1 }
247
-
248
- /**
249
- * Props for the {@link InlinePopover} component.
250
- */
251
- declare interface InlinePopoverProps extends Partial<InlinePopoverProps_2> {
252
- }
253
- export { InlinePopoverProps }
254
- export { InlinePopoverProps as InlinePopoverProps_alias_1 }
255
-
256
- declare const PopoverContent: DefineSetupFnComponent<PopoverContentProps & HTMLAttributes, PopoverContentEmits>;
257
- export { PopoverContent }
258
- export { PopoverContent as PopoverContent_alias_1 }
259
-
260
- /**
261
- * Emits for the {@link PopoverContent} component.
262
- */
263
- declare interface PopoverContentEmits extends CreateEmits<PopoverContentEvents> {
264
- }
265
- export { PopoverContentEmits }
266
- export { PopoverContentEmits as PopoverContentEmits_alias_1 }
267
-
268
- /**
269
- * Props for the {@link PopoverContent} component.
270
- */
271
- declare interface PopoverContentProps extends Partial<PopoverContentProps_2> {
272
- }
273
- export { PopoverContentProps }
274
- export { PopoverContentProps as PopoverContentProps_alias_1 }
275
-
276
- declare const PopoverRoot: DefineSetupFnComponent<PopoverRootProps & HTMLAttributes, PopoverRootEmits>;
277
- export { PopoverRoot }
278
- export { PopoverRoot as PopoverRoot_alias_1 }
279
-
280
- /**
281
- * Emits for the {@link PopoverRoot} component.
282
- */
283
- declare interface PopoverRootEmits extends CreateEmits<PopoverRootEvents> {
284
- }
285
- export { PopoverRootEmits }
286
- export { PopoverRootEmits as PopoverRootEmits_alias_1 }
287
-
288
- /**
289
- * Props for the {@link PopoverRoot} component.
290
- */
291
- declare interface PopoverRootProps extends Partial<PopoverRootProps_2> {
292
- }
293
- export { PopoverRootProps }
294
- export { PopoverRootProps as PopoverRootProps_alias_1 }
295
-
296
- declare const PopoverTrigger: DefineSetupFnComponent<PopoverTriggerProps & HTMLAttributes, PopoverTriggerEmits>;
297
- export { PopoverTrigger }
298
- export { PopoverTrigger as PopoverTrigger_alias_1 }
299
-
300
- /**
301
- * Emits for the {@link PopoverTrigger} component.
302
- */
303
- declare interface PopoverTriggerEmits extends CreateEmits<PopoverTriggerEvents> {
304
- }
305
- export { PopoverTriggerEmits }
306
- export { PopoverTriggerEmits as PopoverTriggerEmits_alias_1 }
307
-
308
- /**
309
- * Props for the {@link PopoverTrigger} component.
310
- */
311
- declare interface PopoverTriggerProps extends Partial<PopoverTriggerProps_2> {
312
- }
313
- export { PopoverTriggerProps }
314
- export { PopoverTriggerProps as PopoverTriggerProps_alias_1 }
315
-
316
- /**
317
- * @internal
318
- */
319
- export declare type PropsWithClass<P = unknown> = P & {
320
- class?: string | undefined;
321
- };
322
-
323
- /**
324
- * The root component for a ProseKit editor.
325
- *
326
- * @public
327
- */
328
- declare const ProseKit: DefineSetupFnComponent<ProseKitProps, {}, {}, ProseKitProps & {}, PublicProps>;
329
- export { ProseKit }
330
- export { ProseKit as ProseKit_alias_1 }
331
-
332
- declare interface ProseKitProps {
333
- editor: Editor;
334
- }
335
- export { ProseKitProps }
336
- export { ProseKitProps as ProseKitProps_alias_1 }
337
-
338
- /**
339
- * @internal
340
- */
341
- export declare function provideEditor(editor: Editor): void;
342
-
343
- declare const ResizableHandle: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes, ResizableHandleEmits>;
344
- export { ResizableHandle }
345
- export { ResizableHandle as ResizableHandle_alias_1 }
346
-
347
- /**
348
- * Emits for the {@link ResizableHandle} component.
349
- */
350
- declare interface ResizableHandleEmits extends CreateEmits<ResizableHandleEvents> {
351
- }
352
- export { ResizableHandleEmits }
353
- export { ResizableHandleEmits as ResizableHandleEmits_alias_1 }
354
-
355
- /**
356
- * Props for the {@link ResizableHandle} component.
357
- */
358
- declare interface ResizableHandleProps extends Partial<ResizableHandleProps_2> {
359
- }
360
- export { ResizableHandleProps }
361
- export { ResizableHandleProps as ResizableHandleProps_alias_1 }
362
-
363
- declare const ResizableRoot: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes, ResizableRootEmits>;
364
- export { ResizableRoot }
365
- export { ResizableRoot as ResizableRoot_alias_1 }
366
-
367
- /**
368
- * Emits for the {@link ResizableRoot} component.
369
- */
370
- declare interface ResizableRootEmits extends CreateEmits<ResizableRootEvents> {
371
- }
372
- export { ResizableRootEmits }
373
- export { ResizableRootEmits as ResizableRootEmits_alias_1 }
374
-
375
- /**
376
- * Props for the {@link ResizableRoot} component.
377
- */
378
- declare interface ResizableRootProps extends Partial<ResizableRootProps_2> {
379
- }
380
- export { ResizableRootProps }
381
- export { ResizableRootProps as ResizableRootProps_alias_1 }
382
-
383
- declare const TableHandleColumnRoot: DefineSetupFnComponent<TableHandleColumnRootProps & HTMLAttributes, TableHandleColumnRootEmits>;
384
- export { TableHandleColumnRoot }
385
- export { TableHandleColumnRoot as TableHandleColumnRoot_alias_1 }
386
-
387
- /**
388
- * Emits for the {@link TableHandleColumnRoot} component.
389
- */
390
- declare interface TableHandleColumnRootEmits extends CreateEmits<TableHandleColumnRootEvents> {
391
- }
392
- export { TableHandleColumnRootEmits }
393
- export { TableHandleColumnRootEmits as TableHandleColumnRootEmits_alias_1 }
394
-
395
- /**
396
- * Props for the {@link TableHandleColumnRoot} component.
397
- */
398
- declare interface TableHandleColumnRootProps extends Partial<TableHandleColumnRootProps_2> {
399
- }
400
- export { TableHandleColumnRootProps }
401
- export { TableHandleColumnRootProps as TableHandleColumnRootProps_alias_1 }
402
-
403
- declare const TableHandleColumnTrigger: DefineSetupFnComponent<TableHandleColumnTriggerProps & HTMLAttributes, TableHandleColumnTriggerEmits>;
404
- export { TableHandleColumnTrigger }
405
- export { TableHandleColumnTrigger as TableHandleColumnTrigger_alias_1 }
406
-
407
- /**
408
- * Emits for the {@link TableHandleColumnTrigger} component.
409
- */
410
- declare interface TableHandleColumnTriggerEmits extends CreateEmits<TableHandleColumnTriggerEvents> {
411
- }
412
- export { TableHandleColumnTriggerEmits }
413
- export { TableHandleColumnTriggerEmits as TableHandleColumnTriggerEmits_alias_1 }
414
-
415
- /**
416
- * Props for the {@link TableHandleColumnTrigger} component.
417
- */
418
- declare interface TableHandleColumnTriggerProps extends Partial<TableHandleColumnTriggerProps_2> {
419
- }
420
- export { TableHandleColumnTriggerProps }
421
- export { TableHandleColumnTriggerProps as TableHandleColumnTriggerProps_alias_1 }
422
-
423
- declare const TableHandlePopoverContent: DefineSetupFnComponent<TableHandlePopoverContentProps & HTMLAttributes, TableHandlePopoverContentEmits>;
424
- export { TableHandlePopoverContent }
425
- export { TableHandlePopoverContent as TableHandlePopoverContent_alias_1 }
426
-
427
- /**
428
- * Emits for the {@link TableHandlePopoverContent} component.
429
- */
430
- declare interface TableHandlePopoverContentEmits extends CreateEmits<TableHandlePopoverContentEvents> {
431
- }
432
- export { TableHandlePopoverContentEmits }
433
- export { TableHandlePopoverContentEmits as TableHandlePopoverContentEmits_alias_1 }
434
-
435
- /**
436
- * Props for the {@link TableHandlePopoverContent} component.
437
- */
438
- declare interface TableHandlePopoverContentProps extends Partial<TableHandlePopoverContentProps_2> {
439
- }
440
- export { TableHandlePopoverContentProps }
441
- export { TableHandlePopoverContentProps as TableHandlePopoverContentProps_alias_1 }
442
-
443
- declare const TableHandlePopoverItem: DefineSetupFnComponent<TableHandlePopoverItemProps & HTMLAttributes, TableHandlePopoverItemEmits>;
444
- export { TableHandlePopoverItem }
445
- export { TableHandlePopoverItem as TableHandlePopoverItem_alias_1 }
446
-
447
- /**
448
- * Emits for the {@link TableHandlePopoverItem} component.
449
- */
450
- declare interface TableHandlePopoverItemEmits extends CreateEmits<TableHandlePopoverItemEvents> {
451
- }
452
- export { TableHandlePopoverItemEmits }
453
- export { TableHandlePopoverItemEmits as TableHandlePopoverItemEmits_alias_1 }
454
-
455
- /**
456
- * Props for the {@link TableHandlePopoverItem} component.
457
- */
458
- declare interface TableHandlePopoverItemProps extends Partial<TableHandlePopoverItemProps_2> {
459
- }
460
- export { TableHandlePopoverItemProps }
461
- export { TableHandlePopoverItemProps as TableHandlePopoverItemProps_alias_1 }
462
-
463
- declare const TableHandleRoot: DefineSetupFnComponent<TableHandleRootProps & HTMLAttributes, TableHandleRootEmits>;
464
- export { TableHandleRoot }
465
- export { TableHandleRoot as TableHandleRoot_alias_1 }
466
-
467
- /**
468
- * Emits for the {@link TableHandleRoot} component.
469
- */
470
- declare interface TableHandleRootEmits extends CreateEmits<TableHandleRootEvents> {
471
- }
472
- export { TableHandleRootEmits }
473
- export { TableHandleRootEmits as TableHandleRootEmits_alias_1 }
474
-
475
- /**
476
- * Props for the {@link TableHandleRoot} component.
477
- */
478
- declare interface TableHandleRootProps extends Partial<TableHandleRootProps_2> {
479
- }
480
- export { TableHandleRootProps }
481
- export { TableHandleRootProps as TableHandleRootProps_alias_1 }
482
-
483
- declare const TableHandleRowRoot: DefineSetupFnComponent<TableHandleRowRootProps & HTMLAttributes, TableHandleRowRootEmits>;
484
- export { TableHandleRowRoot }
485
- export { TableHandleRowRoot as TableHandleRowRoot_alias_1 }
486
-
487
- /**
488
- * Emits for the {@link TableHandleRowRoot} component.
489
- */
490
- declare interface TableHandleRowRootEmits extends CreateEmits<TableHandleRowRootEvents> {
491
- }
492
- export { TableHandleRowRootEmits }
493
- export { TableHandleRowRootEmits as TableHandleRowRootEmits_alias_1 }
494
-
495
- /**
496
- * Props for the {@link TableHandleRowRoot} component.
497
- */
498
- declare interface TableHandleRowRootProps extends Partial<TableHandleRowRootProps_2> {
499
- }
500
- export { TableHandleRowRootProps }
501
- export { TableHandleRowRootProps as TableHandleRowRootProps_alias_1 }
502
-
503
- declare const TableHandleRowTrigger: DefineSetupFnComponent<TableHandleRowTriggerProps & HTMLAttributes, TableHandleRowTriggerEmits>;
504
- export { TableHandleRowTrigger }
505
- export { TableHandleRowTrigger as TableHandleRowTrigger_alias_1 }
506
-
507
- /**
508
- * Emits for the {@link TableHandleRowTrigger} component.
509
- */
510
- declare interface TableHandleRowTriggerEmits extends CreateEmits<TableHandleRowTriggerEvents> {
511
- }
512
- export { TableHandleRowTriggerEmits }
513
- export { TableHandleRowTriggerEmits as TableHandleRowTriggerEmits_alias_1 }
514
-
515
- /**
516
- * Props for the {@link TableHandleRowTrigger} component.
517
- */
518
- declare interface TableHandleRowTriggerProps extends Partial<TableHandleRowTriggerProps_2> {
519
- }
520
- export { TableHandleRowTriggerProps }
521
- export { TableHandleRowTriggerProps as TableHandleRowTriggerProps_alias_1 }
522
-
523
- declare const TooltipContent: DefineSetupFnComponent<TooltipContentProps & HTMLAttributes, TooltipContentEmits>;
524
- export { TooltipContent }
525
- export { TooltipContent as TooltipContent_alias_1 }
526
-
527
- /**
528
- * Emits for the {@link TooltipContent} component.
529
- */
530
- declare interface TooltipContentEmits extends CreateEmits<TooltipContentEvents> {
531
- }
532
- export { TooltipContentEmits }
533
- export { TooltipContentEmits as TooltipContentEmits_alias_1 }
534
-
535
- /**
536
- * Props for the {@link TooltipContent} component.
537
- */
538
- declare interface TooltipContentProps extends Partial<TooltipContentProps_2> {
539
- }
540
- export { TooltipContentProps }
541
- export { TooltipContentProps as TooltipContentProps_alias_1 }
542
-
543
- declare const TooltipRoot: DefineSetupFnComponent<TooltipRootProps & HTMLAttributes, TooltipRootEmits>;
544
- export { TooltipRoot }
545
- export { TooltipRoot as TooltipRoot_alias_1 }
546
-
547
- /**
548
- * Emits for the {@link TooltipRoot} component.
549
- */
550
- declare interface TooltipRootEmits extends CreateEmits<TooltipRootEvents> {
551
- }
552
- export { TooltipRootEmits }
553
- export { TooltipRootEmits as TooltipRootEmits_alias_1 }
554
-
555
- /**
556
- * Props for the {@link TooltipRoot} component.
557
- */
558
- declare interface TooltipRootProps extends Partial<TooltipRootProps_2> {
559
- }
560
- export { TooltipRootProps }
561
- export { TooltipRootProps as TooltipRootProps_alias_1 }
562
-
563
- declare const TooltipTrigger: DefineSetupFnComponent<TooltipTriggerProps & HTMLAttributes, TooltipTriggerEmits>;
564
- export { TooltipTrigger }
565
- export { TooltipTrigger as TooltipTrigger_alias_1 }
566
-
567
- /**
568
- * Emits for the {@link TooltipTrigger} component.
569
- */
570
- declare interface TooltipTriggerEmits extends CreateEmits<TooltipTriggerEvents> {
571
- }
572
- export { TooltipTriggerEmits }
573
- export { TooltipTriggerEmits as TooltipTriggerEmits_alias_1 }
574
-
575
- /**
576
- * Props for the {@link TooltipTrigger} component.
577
- */
578
- declare interface TooltipTriggerProps extends Partial<TooltipTriggerProps_2> {
579
- }
580
- export { TooltipTriggerProps }
581
- export { TooltipTriggerProps as TooltipTriggerProps_alias_1 }
582
-
583
- /**
584
- * Calls the given handler whenever the editor document changes.
585
- *
586
- * @public
587
- */
588
- declare function useDocChange(handler: (doc: ProseMirrorNode) => void, options?: UseExtensionOptions): void;
589
- export { useDocChange }
590
- export { useDocChange as useDocChange_alias_1 }
591
-
592
- /**
593
- * Retrieves the editor instance from the nearest ProseKit component.
594
- *
595
- * @public
596
- */
597
- declare function useEditor<E extends Extension = any>(options?: {
598
- /**
599
- * Whether to update the component when the editor is mounted or editor state
600
- * is updated.
601
- *
602
- * @default false
603
- */
604
- update?: boolean;
605
- }): ShallowRef<Editor<E>>;
606
- export { useEditor }
607
- export { useEditor as useEditor_alias_1 }
608
-
609
- /**
610
- * @internal
611
- */
612
- export declare function useEditorContext<E extends Extension>(): Editor<E> | undefined;
613
-
614
- /**
615
- * @internal
616
- */
617
- export declare function useEditorExtension(editorRef: MaybeRefOrGetter<Editor> | null | undefined, extensionRef: MaybeRefOrGetter<Extension | null> | null): void;
618
-
619
- /**
620
- * Add an extension to the editor.
621
- *
622
- * @public
623
- */
624
- declare function useExtension(
625
- /**
626
- * The ref to an extension to add to the editor. If it changes, the previous
627
- * extension will be removed and the new one (if not null) will be added.
628
- */
629
- extension: MaybeRefOrGetter<Extension | null>, options?: UseExtensionOptions): void;
630
- export { useExtension }
631
- export { useExtension as useExtension_alias_1 }
632
-
633
- declare interface UseExtensionOptions {
634
- /**
635
- * The editor to add the extension to. If not provided, it will use the
636
- * editor from the nearest `ProseKit` component.
637
- */
638
- editor?: MaybeRefOrGetter<Editor>;
639
- /**
640
- * Optional priority to add the extension with.
641
- */
642
- priority?: Priority;
643
- }
644
- export { UseExtensionOptions }
645
- export { UseExtensionOptions as UseExtensionOptions_alias_1 }
646
-
647
- declare function useKeymap(keymap: MaybeRefOrGetter<Keymap>, options?: UseExtensionOptions): void;
648
- export { useKeymap }
649
- export { useKeymap as useKeymap_alias_1 }
650
-
651
- /**
652
- * @internal
653
- */
654
- export declare function usePriorityExtension<T extends Extension = Extension>(extension: MaybeRefOrGetter<T | null>, priority: Priority | null | undefined): ComputedRef<T | null>;
655
-
656
- /**
657
- * Calls the given handler whenever the editor state changes.
658
- *
659
- * @public
660
- */
661
- declare function useStateUpdate(handler: (state: EditorState) => void, options?: UseExtensionOptions): void;
662
- export { useStateUpdate }
663
- export { useStateUpdate as useStateUpdate_alias_1 }
664
-
665
- /**
666
- * @public
667
- */
668
- declare type VueMarkViewComponent = DefineComponent<VueMarkViewProps, any, any>;
669
- export { VueMarkViewComponent }
670
- export { VueMarkViewComponent as VueMarkViewComponent_alias_1 }
671
-
672
- /**
673
- * Options for {@link defineVueMarkView}.
674
- *
675
- * @public
676
- */
677
- declare interface VueMarkViewOptions extends CoreMarkViewUserOptions<VueMarkViewComponent> {
678
- /**
679
- * The name of the mark type.
680
- */
681
- name: string;
682
- }
683
- export { VueMarkViewOptions }
684
- export { VueMarkViewOptions as VueMarkViewOptions_alias_1 }
685
-
686
- /**
687
- * @public
688
- */
689
- declare interface VueMarkViewProps extends MarkViewContext {
690
- }
691
- export { VueMarkViewProps }
692
- export { VueMarkViewProps as VueMarkViewProps_alias_1 }
693
-
694
- /**
695
- * @internal
696
- */
697
- export declare const VueMarkViewsConsumer: DefineComponent<{}, () => null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
698
-
699
- /**
700
- * @public
701
- */
702
- declare type VueNodeViewComponent = DefineComponent<VueNodeViewProps, any, any>;
703
- export { VueNodeViewComponent }
704
- export { VueNodeViewComponent as VueNodeViewComponent_alias_1 }
705
-
706
- /**
707
- * Options for {@link defineVueNodeView}.
708
- *
709
- * @public
710
- */
711
- declare interface VueNodeViewOptions extends CoreNodeViewUserOptions<VueNodeViewComponent> {
712
- /**
713
- * The name of the node type.
714
- */
715
- name: string;
716
- }
717
- export { VueNodeViewOptions }
718
- export { VueNodeViewOptions as VueNodeViewOptions_alias_1 }
719
-
720
- /**
721
- * @public
722
- */
723
- declare interface VueNodeViewProps extends NodeViewContext {
724
- }
725
- export { VueNodeViewProps }
726
- export { VueNodeViewProps as VueNodeViewProps_alias_1 }
727
-
728
- /**
729
- * @internal
730
- */
731
- export declare const VueNodeViewsConsumer: DefineComponent<{}, () => null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
732
-
733
- export { }