@yiitap/vue 1.2.2 → 1.2.4

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.
@@ -3,19 +3,20 @@ import OMainMenu from './menus/OMainMenu.vue';
3
3
  import OBubbleMenu from './menus/OBubbleMenu.vue';
4
4
  import OFloatingMenu from './menus/OFloatingMenu.vue';
5
5
  import OSideMenu from './menus/OSideMenu.vue';
6
+ import type { Editor } from '@tiptap/core';
6
7
  declare const darkModeAlt: import("vue").Ref<boolean, boolean>;
7
8
  declare const editor: import("vue").ShallowRef<import("@tiptap/vue-3").Editor, import("@tiptap/vue-3").Editor>;
8
9
  declare const mainMenuOptions: import("vue").ComputedRef<{
9
10
  editor: import("@tiptap/vue-3").Editor;
10
- menu: unknown[];
11
+ menu: string[];
11
12
  }>;
12
13
  declare const bubbleMenuOptions: import("vue").ComputedRef<{
13
14
  editor: import("@tiptap/vue-3").Editor;
14
- menu: unknown[];
15
+ menu: string[];
15
16
  }>;
16
17
  declare const floatingMenuOptions: import("vue").ComputedRef<{
17
18
  editor: import("@tiptap/vue-3").Editor;
18
- menu: unknown[];
19
+ menu: string[];
19
20
  }>;
20
21
  declare const sideMenuOptions: import("vue").ComputedRef<{
21
22
  editor: import("@tiptap/vue-3").Editor;
@@ -29,85 +30,126 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
29
30
  'toolbar-right'?: (props: typeof __VLS_6) => any;
30
31
  }>;
31
32
  declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
33
+ /**
34
+ * Initial content. This can be HTML or JSON.
35
+ */
32
36
  content: {
33
37
  type: (StringConstructor | ObjectConstructor)[];
34
38
  default: string;
35
39
  };
40
+ /**
41
+ * Determines if users can write into the editor.
42
+ */
36
43
  editable: {
37
44
  type: BooleanConstructor;
38
45
  default: boolean;
39
46
  };
47
+ /**
48
+ * Set the locale of the editor
49
+ */
40
50
  locale: {
41
51
  type: StringConstructor;
42
52
  default: string;
43
53
  };
54
+ /**
55
+ * By default, Yiitap is in light mode, you can set it to dark mode.
56
+ */
44
57
  darkMode: {
45
58
  type: BooleanConstructor;
46
59
  default: boolean;
47
60
  };
61
+ /**
62
+ * Show main menu or not.
63
+ */
48
64
  showMainMenu: {
49
65
  type: BooleanConstructor;
50
66
  default: boolean;
51
67
  };
68
+ /**
69
+ * Show bubble menu or not.
70
+ */
52
71
  showBubbleMenu: {
53
72
  type: BooleanConstructor;
54
73
  default: boolean;
55
74
  };
75
+ /**
76
+ * Show floating menu or not.
77
+ */
56
78
  showFloatingMenu: {
57
79
  type: BooleanConstructor;
58
80
  default: boolean;
59
81
  };
82
+ /**
83
+ * Show side menu or not.
84
+ */
60
85
  showSideMenu: {
61
86
  type: BooleanConstructor;
62
87
  default: boolean;
63
88
  };
89
+ /**
90
+ * Show side node or not.
91
+ */
64
92
  showSideNode: {
65
93
  type: BooleanConstructor;
66
94
  default: boolean;
67
95
  };
68
- showContent: {
69
- type: BooleanConstructor;
70
- default: boolean;
71
- };
72
- showGuide: {
73
- type: BooleanConstructor;
74
- default: boolean;
75
- };
76
- scrollable: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- editorProps: {
81
- type: ObjectConstructor;
82
- default: () => {};
83
- };
96
+ /**
97
+ * Configure the list of extensions you want to enable.
98
+ *
99
+ * By default, Yiitap enables
100
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/extensions/index.ts" target="_blank">BuiltinExtensions</a>.
101
+ */
84
102
  extensions: {
85
103
  type: () => string[];
86
104
  default: () => any[];
87
105
  };
106
+ /**
107
+ * Configure the list of menu items you want to enable in main menu.
108
+ *
109
+ * By default, Yiitap uses
110
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultMenu</a>.
111
+ */
88
112
  mainMenu: {
89
- type: ArrayConstructor;
113
+ type: () => string[];
90
114
  default: () => any[];
91
115
  };
116
+ /**
117
+ * Configure the list of menu items you want to enable in table menu.
118
+ *
119
+ * By default, Yiitap uses
120
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">TableMenu</a>.
121
+ */
92
122
  tableMenu: {
93
- type: ArrayConstructor;
123
+ type: () => string[];
94
124
  default: () => any[];
95
125
  };
126
+ /**
127
+ * Configure the list of menu items you want to enable in bubble menu.
128
+ *
129
+ * By default, Yiitap uses
130
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultBubble</a>.
131
+ */
96
132
  bubbleMenu: {
97
- type: ArrayConstructor;
133
+ type: () => string[];
98
134
  default: () => any[];
99
135
  };
136
+ /**
137
+ * Configure the list of menu items you want to enable in floating menu.
138
+ *
139
+ * By default, Yiitap uses
140
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultFloating</a>.
141
+ */
100
142
  floatingMenu: {
101
- type: ArrayConstructor;
143
+ type: () => string[];
102
144
  default: () => any[];
103
145
  };
146
+ /**
147
+ * Set the page view of the editor.
148
+ */
104
149
  pageView: {
105
150
  type: StringConstructor;
106
151
  default: string;
107
- };
108
- options: {
109
- type: ObjectConstructor;
110
- default: () => {};
152
+ validator: (value: string) => boolean;
111
153
  };
112
154
  }>, {
113
155
  EditorContent: typeof EditorContent;
@@ -121,307 +163,453 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
121
163
  bubbleMenuOptions: typeof bubbleMenuOptions;
122
164
  floatingMenuOptions: typeof floatingMenuOptions;
123
165
  sideMenuOptions: typeof sideMenuOptions;
124
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
125
- update: (...args: any[]) => void;
126
- transaction: (...args: any[]) => void;
166
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
167
+ update: (payload: {
168
+ json: Object;
169
+ html: string;
170
+ }) => any;
171
+ transaction: (payload: {
172
+ editor: Editor;
173
+ transaction: Object;
174
+ }) => any;
127
175
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
176
+ /**
177
+ * Initial content. This can be HTML or JSON.
178
+ */
128
179
  content: {
129
180
  type: (StringConstructor | ObjectConstructor)[];
130
181
  default: string;
131
182
  };
183
+ /**
184
+ * Determines if users can write into the editor.
185
+ */
132
186
  editable: {
133
187
  type: BooleanConstructor;
134
188
  default: boolean;
135
189
  };
190
+ /**
191
+ * Set the locale of the editor
192
+ */
136
193
  locale: {
137
194
  type: StringConstructor;
138
195
  default: string;
139
196
  };
197
+ /**
198
+ * By default, Yiitap is in light mode, you can set it to dark mode.
199
+ */
140
200
  darkMode: {
141
201
  type: BooleanConstructor;
142
202
  default: boolean;
143
203
  };
204
+ /**
205
+ * Show main menu or not.
206
+ */
144
207
  showMainMenu: {
145
208
  type: BooleanConstructor;
146
209
  default: boolean;
147
210
  };
211
+ /**
212
+ * Show bubble menu or not.
213
+ */
148
214
  showBubbleMenu: {
149
215
  type: BooleanConstructor;
150
216
  default: boolean;
151
217
  };
218
+ /**
219
+ * Show floating menu or not.
220
+ */
152
221
  showFloatingMenu: {
153
222
  type: BooleanConstructor;
154
223
  default: boolean;
155
224
  };
225
+ /**
226
+ * Show side menu or not.
227
+ */
156
228
  showSideMenu: {
157
229
  type: BooleanConstructor;
158
230
  default: boolean;
159
231
  };
232
+ /**
233
+ * Show side node or not.
234
+ */
160
235
  showSideNode: {
161
236
  type: BooleanConstructor;
162
237
  default: boolean;
163
238
  };
164
- showContent: {
165
- type: BooleanConstructor;
166
- default: boolean;
167
- };
168
- showGuide: {
169
- type: BooleanConstructor;
170
- default: boolean;
171
- };
172
- scrollable: {
173
- type: BooleanConstructor;
174
- default: boolean;
175
- };
176
- editorProps: {
177
- type: ObjectConstructor;
178
- default: () => {};
179
- };
239
+ /**
240
+ * Configure the list of extensions you want to enable.
241
+ *
242
+ * By default, Yiitap enables
243
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/extensions/index.ts" target="_blank">BuiltinExtensions</a>.
244
+ */
180
245
  extensions: {
181
246
  type: () => string[];
182
247
  default: () => any[];
183
248
  };
249
+ /**
250
+ * Configure the list of menu items you want to enable in main menu.
251
+ *
252
+ * By default, Yiitap uses
253
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultMenu</a>.
254
+ */
184
255
  mainMenu: {
185
- type: ArrayConstructor;
256
+ type: () => string[];
186
257
  default: () => any[];
187
258
  };
259
+ /**
260
+ * Configure the list of menu items you want to enable in table menu.
261
+ *
262
+ * By default, Yiitap uses
263
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">TableMenu</a>.
264
+ */
188
265
  tableMenu: {
189
- type: ArrayConstructor;
266
+ type: () => string[];
190
267
  default: () => any[];
191
268
  };
269
+ /**
270
+ * Configure the list of menu items you want to enable in bubble menu.
271
+ *
272
+ * By default, Yiitap uses
273
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultBubble</a>.
274
+ */
192
275
  bubbleMenu: {
193
- type: ArrayConstructor;
276
+ type: () => string[];
194
277
  default: () => any[];
195
278
  };
279
+ /**
280
+ * Configure the list of menu items you want to enable in floating menu.
281
+ *
282
+ * By default, Yiitap uses
283
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultFloating</a>.
284
+ */
196
285
  floatingMenu: {
197
- type: ArrayConstructor;
286
+ type: () => string[];
198
287
  default: () => any[];
199
288
  };
289
+ /**
290
+ * Set the page view of the editor.
291
+ */
200
292
  pageView: {
201
293
  type: StringConstructor;
202
294
  default: string;
203
- };
204
- options: {
205
- type: ObjectConstructor;
206
- default: () => {};
295
+ validator: (value: string) => boolean;
207
296
  };
208
297
  }>> & Readonly<{
209
- onUpdate?: (...args: any[]) => any;
210
- onTransaction?: (...args: any[]) => any;
298
+ onUpdate?: (payload: {
299
+ json: Object;
300
+ html: string;
301
+ }) => any;
302
+ onTransaction?: (payload: {
303
+ editor: Editor;
304
+ transaction: Object;
305
+ }) => any;
211
306
  }>, {
212
307
  locale: string;
213
308
  darkMode: boolean;
214
- options: Record<string, any>;
215
309
  content: string | Record<string, any>;
216
310
  extensions: string[];
217
311
  editable: boolean;
218
- editorProps: Record<string, any>;
219
- bubbleMenu: unknown[];
220
- floatingMenu: unknown[];
312
+ bubbleMenu: string[];
313
+ floatingMenu: string[];
221
314
  showMainMenu: boolean;
222
315
  showBubbleMenu: boolean;
223
316
  showFloatingMenu: boolean;
224
317
  showSideMenu: boolean;
225
318
  showSideNode: boolean;
226
- showContent: boolean;
227
- showGuide: boolean;
228
- scrollable: boolean;
229
- mainMenu: unknown[];
230
- tableMenu: unknown[];
319
+ mainMenu: string[];
320
+ tableMenu: string[];
231
321
  pageView: string;
232
322
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
233
323
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
324
+ /**
325
+ * Initial content. This can be HTML or JSON.
326
+ */
234
327
  content: {
235
328
  type: (StringConstructor | ObjectConstructor)[];
236
329
  default: string;
237
330
  };
331
+ /**
332
+ * Determines if users can write into the editor.
333
+ */
238
334
  editable: {
239
335
  type: BooleanConstructor;
240
336
  default: boolean;
241
337
  };
338
+ /**
339
+ * Set the locale of the editor
340
+ */
242
341
  locale: {
243
342
  type: StringConstructor;
244
343
  default: string;
245
344
  };
345
+ /**
346
+ * By default, Yiitap is in light mode, you can set it to dark mode.
347
+ */
246
348
  darkMode: {
247
349
  type: BooleanConstructor;
248
350
  default: boolean;
249
351
  };
352
+ /**
353
+ * Show main menu or not.
354
+ */
250
355
  showMainMenu: {
251
356
  type: BooleanConstructor;
252
357
  default: boolean;
253
358
  };
359
+ /**
360
+ * Show bubble menu or not.
361
+ */
254
362
  showBubbleMenu: {
255
363
  type: BooleanConstructor;
256
364
  default: boolean;
257
365
  };
366
+ /**
367
+ * Show floating menu or not.
368
+ */
258
369
  showFloatingMenu: {
259
370
  type: BooleanConstructor;
260
371
  default: boolean;
261
372
  };
373
+ /**
374
+ * Show side menu or not.
375
+ */
262
376
  showSideMenu: {
263
377
  type: BooleanConstructor;
264
378
  default: boolean;
265
379
  };
380
+ /**
381
+ * Show side node or not.
382
+ */
266
383
  showSideNode: {
267
384
  type: BooleanConstructor;
268
385
  default: boolean;
269
386
  };
270
- showContent: {
271
- type: BooleanConstructor;
272
- default: boolean;
273
- };
274
- showGuide: {
275
- type: BooleanConstructor;
276
- default: boolean;
277
- };
278
- scrollable: {
279
- type: BooleanConstructor;
280
- default: boolean;
281
- };
282
- editorProps: {
283
- type: ObjectConstructor;
284
- default: () => {};
285
- };
387
+ /**
388
+ * Configure the list of extensions you want to enable.
389
+ *
390
+ * By default, Yiitap enables
391
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/extensions/index.ts" target="_blank">BuiltinExtensions</a>.
392
+ */
286
393
  extensions: {
287
394
  type: () => string[];
288
395
  default: () => any[];
289
396
  };
397
+ /**
398
+ * Configure the list of menu items you want to enable in main menu.
399
+ *
400
+ * By default, Yiitap uses
401
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultMenu</a>.
402
+ */
290
403
  mainMenu: {
291
- type: ArrayConstructor;
404
+ type: () => string[];
292
405
  default: () => any[];
293
406
  };
407
+ /**
408
+ * Configure the list of menu items you want to enable in table menu.
409
+ *
410
+ * By default, Yiitap uses
411
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">TableMenu</a>.
412
+ */
294
413
  tableMenu: {
295
- type: ArrayConstructor;
414
+ type: () => string[];
296
415
  default: () => any[];
297
416
  };
417
+ /**
418
+ * Configure the list of menu items you want to enable in bubble menu.
419
+ *
420
+ * By default, Yiitap uses
421
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultBubble</a>.
422
+ */
298
423
  bubbleMenu: {
299
- type: ArrayConstructor;
424
+ type: () => string[];
300
425
  default: () => any[];
301
426
  };
427
+ /**
428
+ * Configure the list of menu items you want to enable in floating menu.
429
+ *
430
+ * By default, Yiitap uses
431
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultFloating</a>.
432
+ */
302
433
  floatingMenu: {
303
- type: ArrayConstructor;
434
+ type: () => string[];
304
435
  default: () => any[];
305
436
  };
437
+ /**
438
+ * Set the page view of the editor.
439
+ */
306
440
  pageView: {
307
441
  type: StringConstructor;
308
442
  default: string;
309
- };
310
- options: {
311
- type: ObjectConstructor;
312
- default: () => {};
443
+ validator: (value: string) => boolean;
313
444
  };
314
445
  }>, {
446
+ /**
447
+ * Editor instance. More about <a href="https://tiptap.dev/docs/editor/api/editor" target="_blank">editor api</a>.
448
+ */
315
449
  editor: import("vue").ShallowRef<import("@tiptap/vue-3").Editor, import("@tiptap/vue-3").Editor>;
450
+ /**
451
+ * Whether in dark mode
452
+ */
316
453
  darkMode: import("vue").Ref<boolean, boolean>;
317
- local: import("vue").Ref<string, string>;
318
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
319
- update: (...args: any[]) => void;
320
- transaction: (...args: any[]) => void;
454
+ /**
455
+ * Current locale
456
+ */
457
+ locale: import("vue").Ref<string, string>;
458
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
459
+ update: (payload: {
460
+ json: Object;
461
+ html: string;
462
+ }) => any;
463
+ transaction: (payload: {
464
+ editor: Editor;
465
+ transaction: Object;
466
+ }) => any;
321
467
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
468
+ /**
469
+ * Initial content. This can be HTML or JSON.
470
+ */
322
471
  content: {
323
472
  type: (StringConstructor | ObjectConstructor)[];
324
473
  default: string;
325
474
  };
475
+ /**
476
+ * Determines if users can write into the editor.
477
+ */
326
478
  editable: {
327
479
  type: BooleanConstructor;
328
480
  default: boolean;
329
481
  };
482
+ /**
483
+ * Set the locale of the editor
484
+ */
330
485
  locale: {
331
486
  type: StringConstructor;
332
487
  default: string;
333
488
  };
489
+ /**
490
+ * By default, Yiitap is in light mode, you can set it to dark mode.
491
+ */
334
492
  darkMode: {
335
493
  type: BooleanConstructor;
336
494
  default: boolean;
337
495
  };
496
+ /**
497
+ * Show main menu or not.
498
+ */
338
499
  showMainMenu: {
339
500
  type: BooleanConstructor;
340
501
  default: boolean;
341
502
  };
503
+ /**
504
+ * Show bubble menu or not.
505
+ */
342
506
  showBubbleMenu: {
343
507
  type: BooleanConstructor;
344
508
  default: boolean;
345
509
  };
510
+ /**
511
+ * Show floating menu or not.
512
+ */
346
513
  showFloatingMenu: {
347
514
  type: BooleanConstructor;
348
515
  default: boolean;
349
516
  };
517
+ /**
518
+ * Show side menu or not.
519
+ */
350
520
  showSideMenu: {
351
521
  type: BooleanConstructor;
352
522
  default: boolean;
353
523
  };
524
+ /**
525
+ * Show side node or not.
526
+ */
354
527
  showSideNode: {
355
528
  type: BooleanConstructor;
356
529
  default: boolean;
357
530
  };
358
- showContent: {
359
- type: BooleanConstructor;
360
- default: boolean;
361
- };
362
- showGuide: {
363
- type: BooleanConstructor;
364
- default: boolean;
365
- };
366
- scrollable: {
367
- type: BooleanConstructor;
368
- default: boolean;
369
- };
370
- editorProps: {
371
- type: ObjectConstructor;
372
- default: () => {};
373
- };
531
+ /**
532
+ * Configure the list of extensions you want to enable.
533
+ *
534
+ * By default, Yiitap enables
535
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/extensions/index.ts" target="_blank">BuiltinExtensions</a>.
536
+ */
374
537
  extensions: {
375
538
  type: () => string[];
376
539
  default: () => any[];
377
540
  };
541
+ /**
542
+ * Configure the list of menu items you want to enable in main menu.
543
+ *
544
+ * By default, Yiitap uses
545
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultMenu</a>.
546
+ */
378
547
  mainMenu: {
379
- type: ArrayConstructor;
548
+ type: () => string[];
380
549
  default: () => any[];
381
550
  };
551
+ /**
552
+ * Configure the list of menu items you want to enable in table menu.
553
+ *
554
+ * By default, Yiitap uses
555
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">TableMenu</a>.
556
+ */
382
557
  tableMenu: {
383
- type: ArrayConstructor;
558
+ type: () => string[];
384
559
  default: () => any[];
385
560
  };
561
+ /**
562
+ * Configure the list of menu items you want to enable in bubble menu.
563
+ *
564
+ * By default, Yiitap uses
565
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultBubble</a>.
566
+ */
386
567
  bubbleMenu: {
387
- type: ArrayConstructor;
568
+ type: () => string[];
388
569
  default: () => any[];
389
570
  };
571
+ /**
572
+ * Configure the list of menu items you want to enable in floating menu.
573
+ *
574
+ * By default, Yiitap uses
575
+ * <a href="https://github.com/yiitap/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultFloating</a>.
576
+ */
390
577
  floatingMenu: {
391
- type: ArrayConstructor;
578
+ type: () => string[];
392
579
  default: () => any[];
393
580
  };
581
+ /**
582
+ * Set the page view of the editor.
583
+ */
394
584
  pageView: {
395
585
  type: StringConstructor;
396
586
  default: string;
397
- };
398
- options: {
399
- type: ObjectConstructor;
400
- default: () => {};
587
+ validator: (value: string) => boolean;
401
588
  };
402
589
  }>> & Readonly<{
403
- onUpdate?: (...args: any[]) => any;
404
- onTransaction?: (...args: any[]) => any;
590
+ onUpdate?: (payload: {
591
+ json: Object;
592
+ html: string;
593
+ }) => any;
594
+ onTransaction?: (payload: {
595
+ editor: Editor;
596
+ transaction: Object;
597
+ }) => any;
405
598
  }>, {
406
599
  locale: string;
407
600
  darkMode: boolean;
408
- options: Record<string, any>;
409
601
  content: string | Record<string, any>;
410
602
  extensions: string[];
411
603
  editable: boolean;
412
- editorProps: Record<string, any>;
413
- bubbleMenu: unknown[];
414
- floatingMenu: unknown[];
604
+ bubbleMenu: string[];
605
+ floatingMenu: string[];
415
606
  showMainMenu: boolean;
416
607
  showBubbleMenu: boolean;
417
608
  showFloatingMenu: boolean;
418
609
  showSideMenu: boolean;
419
610
  showSideNode: boolean;
420
- showContent: boolean;
421
- showGuide: boolean;
422
- scrollable: boolean;
423
- mainMenu: unknown[];
424
- tableMenu: unknown[];
611
+ mainMenu: string[];
612
+ tableMenu: string[];
425
613
  pageView: string;
426
614
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
427
615
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;