markstream-vue 0.0.7-beta.3 → 0.0.7-beta.5

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,19 +1,11 @@
1
1
  import * as vue from 'vue';
2
2
  import { Plugin } from 'vue';
3
- import { BaseNode, ParseOptions, MarkdownIt } from 'stream-markdown-parser';
3
+ import { CodeBlockNode as CodeBlockNode$1, BaseNode, ParseOptions, MarkdownIt } from 'stream-markdown-parser';
4
4
  export * from 'stream-markdown-parser';
5
5
  export { KATEX_COMMANDS, MathOptions, normalizeStandaloneBackslashT, setDefaultMathOptions } from 'stream-markdown-parser';
6
6
 
7
7
  interface CodeBlockNodeProps {
8
- node: {
9
- type: 'code_block';
10
- language: string;
11
- code: string;
12
- raw: string;
13
- diff?: boolean;
14
- originalCode?: string;
15
- updatedCode?: string;
16
- };
8
+ node: CodeBlockNode$1;
17
9
  isDark?: boolean;
18
10
  loading?: boolean;
19
11
  stream?: boolean;
@@ -74,10 +66,10 @@ interface LinkNodeProps {
74
66
  animationIteration?: string | number;
75
67
  }
76
68
  interface PreCodeNodeProps {
77
- node: any;
69
+ node: CodeBlockNode$1;
78
70
  }
79
71
  interface MermaidBlockNodeProps {
80
- node: any;
72
+ node: CodeBlockNode$1;
81
73
  maxHeight?: string | null;
82
74
  loading?: boolean;
83
75
  isDark?: boolean;
@@ -95,13 +87,15 @@ interface MermaidBlockNodeProps {
95
87
  enableWheelZoom?: boolean;
96
88
  isStrict?: boolean;
97
89
  }
90
+ interface MermaidBlockEvent<TPayload = any> {
91
+ payload?: TPayload;
92
+ defaultPrevented: boolean;
93
+ preventDefault: () => void;
94
+ svgElement?: SVGElement | null;
95
+ svgString?: string | null;
96
+ }
98
97
  interface InfographicBlockNodeProps {
99
- node: {
100
- type: 'infographic_block';
101
- code: string;
102
- raw: string;
103
- loading?: boolean;
104
- };
98
+ node: CodeBlockNode$1;
105
99
  maxHeight?: string | null;
106
100
  loading?: boolean;
107
101
  isDark?: boolean;
@@ -144,50 +138,50 @@ interface AdmonitionNode {
144
138
  collapsible?: boolean;
145
139
  open?: boolean;
146
140
  }
147
- type __VLS_Props$n = {
141
+ type __VLS_Props$r = {
148
142
  node: AdmonitionNode;
149
143
  indexKey: number | string;
150
144
  isDark?: boolean;
151
145
  typewriter?: boolean;
152
146
  customId?: string;
153
147
  };
154
- declare const _default$s: vue.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
148
+ declare const _default$w: vue.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
155
149
  copy: (...args: any[]) => void;
156
- }, string, vue.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
150
+ }, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
157
151
  onCopy?: (...args: any[]) => any;
158
152
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
159
153
 
160
- interface NodeChild$9 {
154
+ interface NodeChild$a {
161
155
  type: string;
162
156
  raw: string;
163
157
  [key: string]: unknown;
164
158
  }
165
159
  interface BlockquoteNode {
166
160
  type: 'blockquote';
167
- children: NodeChild$9[];
161
+ children: NodeChild$a[];
168
162
  raw: string;
169
163
  cite?: string;
170
164
  }
171
- type __VLS_Props$m = {
165
+ type __VLS_Props$q = {
172
166
  node: BlockquoteNode;
173
167
  indexKey: string | number;
174
168
  typewriter?: boolean;
175
169
  customId?: string;
176
170
  };
177
- declare const _default$r: vue.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
171
+ declare const _default$v: vue.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
178
172
  copy: (text: string) => any;
179
- }, string, vue.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
173
+ }, string, vue.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
180
174
  onCopy?: (text: string) => any;
181
175
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLQuoteElement>;
182
176
 
183
- type __VLS_Props$l = {
177
+ type __VLS_Props$p = {
184
178
  node: {
185
179
  type: 'checkbox';
186
180
  checked: boolean;
187
181
  raw: string;
188
182
  };
189
183
  };
190
- declare const _default$q: vue.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLSpanElement>;
184
+ declare const _default$u: vue.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$p> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLSpanElement>;
191
185
 
192
186
  interface DefinitionItemNode {
193
187
  type: 'definition_item';
@@ -206,19 +200,19 @@ interface DefinitionListNode {
206
200
  items: DefinitionItemNode[];
207
201
  raw: string;
208
202
  }
209
- type __VLS_Props$k = {
203
+ type __VLS_Props$o = {
210
204
  node: DefinitionListNode;
211
205
  indexKey: string | number;
212
206
  typewriter?: boolean;
213
207
  customId?: string;
214
208
  };
215
- declare const _default$p: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
209
+ declare const _default$t: vue.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
216
210
  copy: (...args: any[]) => void;
217
- }, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
211
+ }, string, vue.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
218
212
  onCopy?: (...args: any[]) => any;
219
213
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDListElement>;
220
214
 
221
- type __VLS_Props$j = {
215
+ type __VLS_Props$n = {
222
216
  node: {
223
217
  type: 'emoji';
224
218
  name: string;
@@ -226,16 +220,32 @@ type __VLS_Props$j = {
226
220
  raw: string;
227
221
  };
228
222
  };
229
- declare const _default$o: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLSpanElement>;
223
+ declare const _default$s: vue.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$n> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLSpanElement>;
230
224
 
231
- type __VLS_Props$i = {
225
+ interface NodeChild$9 {
226
+ type: string;
227
+ raw: string;
228
+ [key: string]: unknown;
229
+ }
230
+ type __VLS_Props$m = {
231
+ node: {
232
+ type: 'emphasis';
233
+ children: NodeChild$9[];
234
+ raw: string;
235
+ };
236
+ customId?: string;
237
+ indexKey?: number | string;
238
+ };
239
+ declare const _default$r: vue.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$m> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
240
+
241
+ type __VLS_Props$l = {
232
242
  node: {
233
243
  type: 'footnote_anchor';
234
244
  id: string;
235
245
  raw?: string;
236
246
  };
237
247
  };
238
- declare const _default$n: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLAnchorElement>;
248
+ declare const _default$q: vue.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLAnchorElement>;
239
249
 
240
250
  interface FootnoteNode {
241
251
  type: 'footnote';
@@ -246,15 +256,15 @@ interface FootnoteNode {
246
256
  }[];
247
257
  raw: string;
248
258
  }
249
- type __VLS_Props$h = {
259
+ type __VLS_Props$k = {
250
260
  node: FootnoteNode;
251
261
  indexKey: string | number;
252
262
  typewriter?: boolean;
253
263
  customId?: string;
254
264
  };
255
- declare const _default$m: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
265
+ declare const _default$p: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
256
266
  copy: (...args: any[]) => void;
257
- }, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
267
+ }, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
258
268
  onCopy?: (...args: any[]) => any;
259
269
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
260
270
 
@@ -263,19 +273,19 @@ interface FootnoteReferenceNode {
263
273
  id: string;
264
274
  raw: string;
265
275
  }
266
- type __VLS_Props$g = {
276
+ type __VLS_Props$j = {
267
277
  node: FootnoteReferenceNode;
268
278
  };
269
- declare const _default$l: vue.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
279
+ declare const _default$o: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
270
280
 
271
281
  interface HardBreakNode {
272
282
  type: 'hardbreak';
273
283
  raw: string;
274
284
  }
275
- type __VLS_Props$f = {
285
+ type __VLS_Props$i = {
276
286
  node: HardBreakNode;
277
287
  };
278
- declare const _default$k: vue.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLBRElement>;
288
+ declare const _default$n: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLBRElement>;
279
289
 
280
290
  declare const _HeadingNode: any;
281
291
 
@@ -284,7 +294,7 @@ interface NodeChild$8 {
284
294
  raw: string;
285
295
  [key: string]: unknown;
286
296
  }
287
- type __VLS_Props$e = {
297
+ type __VLS_Props$h = {
288
298
  node: {
289
299
  type: 'highlight';
290
300
  children: NodeChild$8[];
@@ -293,9 +303,49 @@ type __VLS_Props$e = {
293
303
  customId?: string;
294
304
  indexKey?: number | string;
295
305
  };
296
- declare const _default$j: vue.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$e> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
306
+ declare const _default$m: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
297
307
 
298
- type __VLS_Props$d = {
308
+ type __VLS_Props$g = {
309
+ node: {
310
+ content: string;
311
+ raw?: string;
312
+ tag?: string;
313
+ attrs?: [string, string][] | null;
314
+ loading?: boolean;
315
+ };
316
+ customId?: string;
317
+ };
318
+ declare function __VLS_template$3(): {
319
+ attrs: Partial<{}>;
320
+ slots: {
321
+ placeholder?(_: {
322
+ node: {
323
+ content: string;
324
+ raw?: string;
325
+ tag?: string;
326
+ attrs?: [string, string][] | null;
327
+ loading?: boolean;
328
+ };
329
+ }): any;
330
+ };
331
+ refs: {
332
+ htmlRef: HTMLDivElement;
333
+ };
334
+ rootEl: HTMLDivElement;
335
+ };
336
+ type __VLS_TemplateResult$3 = ReturnType<typeof __VLS_template$3>;
337
+ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
338
+ htmlRef: HTMLDivElement;
339
+ }, HTMLDivElement>;
340
+ declare const _default$l: __VLS_WithTemplateSlots$3<typeof __VLS_component$3, __VLS_TemplateResult$3["slots"]>;
341
+
342
+ type __VLS_WithTemplateSlots$3<T, S> = T & {
343
+ new (): {
344
+ $slots: S;
345
+ };
346
+ };
347
+
348
+ type __VLS_Props$f = {
299
349
  node: {
300
350
  type: 'html_inline';
301
351
  tag?: string;
@@ -305,7 +355,7 @@ type __VLS_Props$d = {
305
355
  };
306
356
  customId?: string;
307
357
  };
308
- declare const _default$i: vue.DefineComponent<__VLS_Props$d, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$d> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
358
+ declare const _default$k: vue.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
309
359
  containerRef: HTMLSpanElement;
310
360
  }, any>;
311
361
 
@@ -368,7 +418,7 @@ declare const __VLS_component$2: vue.DefineComponent<ImageNodeProps, {}, {}, {},
368
418
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
369
419
  figureRef: HTMLElement;
370
420
  }, HTMLElement>;
371
- declare const _default$h: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
421
+ declare const _default$j: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
372
422
 
373
423
  type __VLS_WithTemplateSlots$2<T, S> = T & {
374
424
  new (): {
@@ -376,21 +426,21 @@ type __VLS_WithTemplateSlots$2<T, S> = T & {
376
426
  };
377
427
  };
378
428
 
379
- type __VLS_Props$c = {
429
+ type __VLS_Props$e = {
380
430
  node: {
381
431
  type: 'inline_code';
382
432
  code: string;
383
433
  raw: string;
384
434
  };
385
435
  };
386
- declare const _default$g: vue.DefineComponent<__VLS_Props$c, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$c> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
436
+ declare const _default$i: vue.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$e> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
387
437
 
388
438
  interface NodeChild$7 {
389
439
  type: string;
390
440
  raw: string;
391
441
  [key: string]: unknown;
392
442
  }
393
- type __VLS_Props$b = {
443
+ type __VLS_Props$d = {
394
444
  node: {
395
445
  type: 'insert';
396
446
  children: NodeChild$7[];
@@ -399,9 +449,9 @@ type __VLS_Props$b = {
399
449
  customId?: string;
400
450
  indexKey?: number | string;
401
451
  };
402
- declare const _default$f: vue.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$b> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLModElement>;
452
+ declare const _default$h: vue.DefineComponent<__VLS_Props$d, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$d> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLModElement>;
403
453
 
404
- declare const _default$e: vue.DefineComponent<LinkNodeProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LinkNodeProps> & Readonly<{}>, {
454
+ declare const _default$g: vue.DefineComponent<LinkNodeProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LinkNodeProps> & Readonly<{}>, {
405
455
  showTooltip: boolean;
406
456
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
407
457
 
@@ -415,7 +465,7 @@ interface ListItem$1 {
415
465
  children: NodeChild$6[];
416
466
  raw: string;
417
467
  }
418
- type __VLS_Props$a = {
468
+ type __VLS_Props$c = {
419
469
  /**
420
470
  * Preferred prop name for consistency with other node components.
421
471
  * `item` is kept for backward compatibility.
@@ -428,9 +478,9 @@ type __VLS_Props$a = {
428
478
  /** Forwarded flag to enable/disable non-code node enter transition */
429
479
  typewriter?: boolean;
430
480
  };
431
- declare const _default$d: vue.DefineComponent<__VLS_Props$a, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
481
+ declare const _default$f: vue.DefineComponent<__VLS_Props$c, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
432
482
  copy: (text: string) => any;
433
- }, string, vue.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
483
+ }, string, vue.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
434
484
  onCopy?: (text: string) => any;
435
485
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, HTMLLIElement>;
436
486
 
@@ -444,7 +494,7 @@ interface ListItem {
444
494
  children: NodeChild$5[];
445
495
  raw: string;
446
496
  }
447
- type __VLS_Props$9 = {
497
+ type __VLS_Props$b = {
448
498
  node: {
449
499
  type: 'list';
450
500
  ordered: boolean;
@@ -456,13 +506,13 @@ type __VLS_Props$9 = {
456
506
  indexKey?: number | string;
457
507
  typewriter?: boolean;
458
508
  };
459
- declare const _default$c: vue.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
509
+ declare const _default$e: vue.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
460
510
  copy: (...args: any[]) => void;
461
- }, string, vue.PublicProps, Readonly<__VLS_Props$9> & Readonly<{
511
+ }, string, vue.PublicProps, Readonly<__VLS_Props$b> & Readonly<{
462
512
  onCopy?: (...args: any[]) => any;
463
513
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
464
514
 
465
- type __VLS_Props$8 = {
515
+ type __VLS_Props$a = {
466
516
  node: {
467
517
  type: 'code_block';
468
518
  language: string;
@@ -512,10 +562,10 @@ declare function __VLS_template$1(): {
512
562
  rootEl: HTMLDivElement;
513
563
  };
514
564
  type __VLS_TemplateResult$1 = ReturnType<typeof __VLS_template$1>;
515
- declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$8, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
565
+ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$a, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
516
566
  copy: (...args: any[]) => void;
517
567
  previewCode: (...args: any[]) => void;
518
- }, string, vue.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
568
+ }, string, vue.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
519
569
  onCopy?: (...args: any[]) => any;
520
570
  onPreviewCode?: (...args: any[]) => any;
521
571
  }>, {
@@ -537,7 +587,7 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$8, {}, {}, {},
537
587
  codeBlockContent: HTMLDivElement;
538
588
  rendererTarget: HTMLDivElement;
539
589
  }, HTMLDivElement>;
540
- declare const _default$b: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
590
+ declare const _default$d: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
541
591
 
542
592
  type __VLS_WithTemplateSlots$1<T, S> = T & {
543
593
  new (): {
@@ -619,7 +669,7 @@ interface NodeRendererProps {
619
669
  /** Number of nodes to keep before/after focus. Default: 60 */
620
670
  liveNodeBuffer?: number;
621
671
  }
622
- declare const _default$a: vue.DefineComponent<NodeRendererProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
672
+ declare const _default$c: vue.DefineComponent<NodeRendererProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
623
673
  copy: (...args: any[]) => void;
624
674
  handleArtifactClick: (...args: any[]) => void;
625
675
  click: (...args: any[]) => void;
@@ -653,7 +703,7 @@ interface NodeChild$4 {
653
703
  raw: string;
654
704
  [key: string]: unknown;
655
705
  }
656
- type __VLS_Props$7 = {
706
+ type __VLS_Props$9 = {
657
707
  node: {
658
708
  type: 'paragraph';
659
709
  children: NodeChild$4[];
@@ -662,11 +712,11 @@ type __VLS_Props$7 = {
662
712
  customId?: string;
663
713
  indexKey?: number | string;
664
714
  };
665
- declare const _default$9: vue.DefineComponent<__VLS_Props$7, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$7> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLParagraphElement>;
715
+ declare const _default$b: vue.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLParagraphElement>;
666
716
 
667
- declare const _default$8: vue.DefineComponent<PreCodeNodeProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<PreCodeNodeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLPreElement>;
717
+ declare const _default$a: vue.DefineComponent<PreCodeNodeProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<PreCodeNodeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLPreElement>;
668
718
 
669
- type __VLS_Props$6 = {
719
+ type __VLS_Props$8 = {
670
720
  node: {
671
721
  type: 'reference';
672
722
  id: string;
@@ -675,11 +725,11 @@ type __VLS_Props$6 = {
675
725
  messageId?: string;
676
726
  threadId?: string;
677
727
  };
678
- declare const _default$7: vue.DefineComponent<__VLS_Props$6, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
728
+ declare const _default$9: vue.DefineComponent<__VLS_Props$8, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
679
729
  click: (...args: any[]) => void;
680
730
  mouseEnter: (...args: any[]) => void;
681
731
  mouseLeave: (...args: any[]) => void;
682
- }, string, vue.PublicProps, Readonly<__VLS_Props$6> & Readonly<{
732
+ }, string, vue.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
683
733
  onClick?: (...args: any[]) => any;
684
734
  onMouseEnter?: (...args: any[]) => any;
685
735
  onMouseLeave?: (...args: any[]) => any;
@@ -690,7 +740,7 @@ interface NodeChild$3 {
690
740
  raw: string;
691
741
  [key: string]: unknown;
692
742
  }
693
- type __VLS_Props$5 = {
743
+ type __VLS_Props$7 = {
694
744
  node: {
695
745
  type: 'strikethrough';
696
746
  children: NodeChild$3[];
@@ -699,14 +749,14 @@ type __VLS_Props$5 = {
699
749
  customId?: string;
700
750
  indexKey?: string | number;
701
751
  };
702
- declare const _default$6: vue.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$5> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLModElement>;
752
+ declare const _default$8: vue.DefineComponent<__VLS_Props$7, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$7> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLModElement>;
703
753
 
704
754
  interface NodeChild$2 {
705
755
  type: string;
706
756
  raw: string;
707
757
  [key: string]: unknown;
708
758
  }
709
- type __VLS_Props$4 = {
759
+ type __VLS_Props$6 = {
710
760
  node: {
711
761
  type: 'strong';
712
762
  children: NodeChild$2[];
@@ -715,14 +765,14 @@ type __VLS_Props$4 = {
715
765
  customId?: string;
716
766
  indexKey?: number | string;
717
767
  };
718
- declare const _default$5: vue.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
768
+ declare const _default$7: vue.DefineComponent<__VLS_Props$6, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$6> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
719
769
 
720
770
  interface NodeChild$1 {
721
771
  type: string;
722
772
  raw: string;
723
773
  [key: string]: unknown;
724
774
  }
725
- type __VLS_Props$3 = {
775
+ type __VLS_Props$5 = {
726
776
  node: {
727
777
  type: 'subscript';
728
778
  children: NodeChild$1[];
@@ -731,14 +781,14 @@ type __VLS_Props$3 = {
731
781
  customId?: string;
732
782
  indexKey?: number | string;
733
783
  };
734
- declare const _default$4: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$3> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
784
+ declare const _default$6: vue.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$5> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
735
785
 
736
786
  interface NodeChild {
737
787
  type: string;
738
788
  raw: string;
739
789
  [key: string]: unknown;
740
790
  }
741
- type __VLS_Props$2 = {
791
+ type __VLS_Props$4 = {
742
792
  node: {
743
793
  type: 'superscript';
744
794
  children: NodeChild[];
@@ -747,7 +797,7 @@ type __VLS_Props$2 = {
747
797
  customId?: string;
748
798
  indexKey?: number | string;
749
799
  };
750
- declare const _default$3: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
800
+ declare const _default$5: vue.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLElement>;
751
801
 
752
802
  interface TableCellNode {
753
803
  type: 'table_cell';
@@ -771,7 +821,7 @@ interface TableNode {
771
821
  raw: string;
772
822
  loading: boolean;
773
823
  }
774
- type __VLS_Props$1 = {
824
+ type __VLS_Props$3 = {
775
825
  node: TableNode;
776
826
  indexKey: string | number;
777
827
  isDark?: boolean;
@@ -789,12 +839,12 @@ declare function __VLS_template(): {
789
839
  rootEl: HTMLDivElement;
790
840
  };
791
841
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
792
- declare const __VLS_component: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
842
+ declare const __VLS_component: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
793
843
  copy: (...args: any[]) => void;
794
- }, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
844
+ }, string, vue.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
795
845
  onCopy?: (...args: any[]) => any;
796
846
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
797
- declare const _default$2: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
847
+ declare const _default$4: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
798
848
 
799
849
  type __VLS_WithTemplateSlots<T, S> = T & {
800
850
  new (): {
@@ -802,7 +852,7 @@ type __VLS_WithTemplateSlots<T, S> = T & {
802
852
  };
803
853
  };
804
854
 
805
- type __VLS_Props = {
855
+ type __VLS_Props$2 = {
806
856
  node: {
807
857
  type: 'text';
808
858
  content: string;
@@ -810,13 +860,48 @@ type __VLS_Props = {
810
860
  center?: boolean;
811
861
  };
812
862
  };
813
- declare const _default$1: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
863
+ declare const _default$3: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
814
864
  copy: (...args: any[]) => void;
815
- }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
865
+ }, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
816
866
  onCopy?: (...args: any[]) => any;
817
867
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLSpanElement>;
818
868
 
819
- declare const _default: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, HTMLHRElement>;
869
+ declare const _default$2: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, HTMLHRElement>;
870
+
871
+ type __VLS_Props$1 = {
872
+ visible: boolean;
873
+ anchorEl: HTMLElement | null;
874
+ content: string;
875
+ placement?: 'top' | 'bottom' | 'left' | 'right';
876
+ offset?: number;
877
+ originX?: number | null;
878
+ originY?: number | null;
879
+ id?: string | null;
880
+ isDark?: boolean | null;
881
+ };
882
+ declare const _default$1: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
883
+ tooltip: HTMLDivElement;
884
+ }, any>;
885
+
886
+ interface VmrContainerNode {
887
+ type: 'vmr_container';
888
+ name: string;
889
+ loading?: boolean;
890
+ attrs?: Record<string, string>;
891
+ children: {
892
+ type: string;
893
+ raw: string;
894
+ }[];
895
+ raw: string;
896
+ }
897
+ type __VLS_Props = {
898
+ node: VmrContainerNode;
899
+ indexKey: number | string;
900
+ isDark?: boolean;
901
+ typewriter?: boolean;
902
+ customId?: string;
903
+ };
904
+ declare const _default: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
820
905
 
821
906
  declare const defaultMap: Record<string, string>;
822
907
  /**
@@ -1326,4 +1411,4 @@ declare const InfographicBlockNode: {
1326
1411
 
1327
1412
  declare const VueRendererMarkdown: Plugin;
1328
1413
 
1329
- export { _default$s as AdmonitionNode, BackpressureOptions, _default$r as BlockquoteNode, _default$q as CheckboxNode, CodeBlockNode, _default$p as DefinitionListNode, _default$o as EmojiNode, _default$n as FootnoteAnchorNode, _default$m as FootnoteNode, _default$l as FootnoteReferenceNode, _default$k as HardBreakNode, _HeadingNode as HeadingNode, _default$j as HighlightNode, _default$i as HtmlInlineNode, _default$h as ImageNode, InfographicBlockNode, _default$g as InlineCodeNode, _default$f as InsertNode, KaTeXCDNWorkerHandle, KaTeXCDNWorkerMode, KaTeXCDNWorkerOptions, KatexLoader, LanguageIconResolver, _default$e as LinkNode, _default$d as ListItemNode, _default$c as ListNode, MERMAID_DISABLED_CODE, MERMAID_WORKER_BUSY_CODE, _default$b as MarkdownCodeBlockNode, _default$a as MarkdownRender, MathBlockNode, MathInlineNode, MermaidBlockNode, MermaidCDNWorkerHandle, MermaidCDNWorkerMode, MermaidCDNWorkerOptions, MermaidLoader, _default$9 as ParagraphNode, _default$8 as PreCodeNode, _default$7 as ReferenceNode, _default$6 as StrikethroughNode, _default$5 as StrongNode, _default$4 as SubscriptNode, _default$3 as SuperscriptNode, _default$2 as TableNode, _default$1 as TextNode, _default as ThematicBreakNode, VueRendererMarkdown, WORKER_BUSY_CODE, buildKaTeXCDNWorkerSource, buildMermaidCDNWorkerSource, canParseOffthread, clearGlobalCustomComponents, clearKaTeXWorker, clearMermaidWorker, createKaTeXWorkerFromCDN, createMermaidWorkerFromCDN, _default$a as default, disableKatex, disableMermaid, enableKatex, enableMermaid, findPrefixOffthread, getCustomNodeComponents, getKaTeXBackpressureDefaults, getKaTeXWorkerLoad, getLanguageIcon, getMermaidWorkerLoad, getUseMonaco, isKaTeXWorkerBusy, isKatexEnabled, isMermaidEnabled, languageMap, normalizeLanguageIdentifier, removeCustomComponents, renderKaTeXInWorker, renderKaTeXWithBackpressure, resolveMonacoLanguageId, setCustomComponents, setDefaultI18nMap, setKaTeXBackpressureDefaults, setKaTeXCache, setKaTeXWorker, setKaTeXWorkerDebug, setKaTeXWorkerMaxConcurrency, setKatexLoader, setLanguageIconResolver, setMermaidLoader, setMermaidWorker, setMermaidWorkerClientDebug, setMermaidWorkerMaxConcurrency, terminateWorker, waitForKaTeXWorkerSlot };
1414
+ export { _default$w as AdmonitionNode, BackpressureOptions, _default$v as BlockquoteNode, _default$u as CheckboxNode, CodeBlockNode, CodeBlockNodeProps, _default$t as DefinitionListNode, _default$s as EmojiNode, _default$r as EmphasisNode, _default$q as FootnoteAnchorNode, _default$p as FootnoteNode, _default$o as FootnoteReferenceNode, _default$n as HardBreakNode, _HeadingNode as HeadingNode, _default$m as HighlightNode, _default$l as HtmlBlockNode, _default$k as HtmlInlineNode, _default$j as ImageNode, ImageNodeProps, InfographicBlockNode, InfographicBlockNodeProps, _default$i as InlineCodeNode, _default$h as InsertNode, KaTeXCDNWorkerHandle, KaTeXCDNWorkerMode, KaTeXCDNWorkerOptions, KatexLoader, LanguageIconResolver, _default$g as LinkNode, LinkNodeProps, _default$f as ListItemNode, _default$e as ListNode, MERMAID_DISABLED_CODE, MERMAID_WORKER_BUSY_CODE, _default$d as MarkdownCodeBlockNode, _default$c as MarkdownRender, MathBlockNode, MathBlockNodeProps, MathInlineNode, MathInlineNodeProps, MermaidBlockEvent, MermaidBlockNode, MermaidBlockNodeProps, MermaidCDNWorkerHandle, MermaidCDNWorkerMode, MermaidCDNWorkerOptions, MermaidLoader, NodeRendererProps, _default$b as ParagraphNode, _default$a as PreCodeNode, PreCodeNodeProps, _default$9 as ReferenceNode, _default$8 as StrikethroughNode, _default$7 as StrongNode, _default$6 as SubscriptNode, _default$5 as SuperscriptNode, _default$4 as TableNode, _default$3 as TextNode, _default$2 as ThematicBreakNode, _default$1 as Tooltip, _default as VmrContainerNode, VueRendererMarkdown, WORKER_BUSY_CODE, buildKaTeXCDNWorkerSource, buildMermaidCDNWorkerSource, canParseOffthread, clearGlobalCustomComponents, clearKaTeXWorker, clearMermaidWorker, createKaTeXWorkerFromCDN, createMermaidWorkerFromCDN, _default$c as default, disableKatex, disableMermaid, enableKatex, enableMermaid, findPrefixOffthread, getCustomNodeComponents, getKaTeXBackpressureDefaults, getKaTeXWorkerLoad, getLanguageIcon, getMermaidWorkerLoad, getUseMonaco, isKaTeXWorkerBusy, isKatexEnabled, isMermaidEnabled, languageMap, normalizeLanguageIdentifier, removeCustomComponents, renderKaTeXInWorker, renderKaTeXWithBackpressure, resolveMonacoLanguageId, setCustomComponents, setDefaultI18nMap, setKaTeXBackpressureDefaults, setKaTeXCache, setKaTeXWorker, setKaTeXWorkerDebug, setKaTeXWorkerMaxConcurrency, setKatexLoader, setLanguageIconResolver, setMermaidLoader, setMermaidWorker, setMermaidWorkerClientDebug, setMermaidWorkerMaxConcurrency, terminateWorker, waitForKaTeXWorkerSlot };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export*from"stream-markdown-parser";import{KATEX_COMMANDS as e,normalizeStandaloneBackslashT as a,setDefaultMathOptions as s}from"stream-markdown-parser";import"vue";import{A as o,B as r,C as d,o as t,D as n,E as i,F as m,x as N,y as k,H as l,G as c,I as u,J as M,K as g,L as C,M as p,N as W,Q as K,R as f,S as D,aw as T,av as I,T as h,U as B,V as b,X,Y as L,Z as x,c as E,$ as R,a5 as S,a6 as O,a7 as _,a8 as w,a9 as F,aa as A,ab as v,ac as H,W as P,ae as U,aq as y,j,m as Y,ah as q,ay as z,af as G,ar as V,U as J,p as Q,q as Z,v as $,w as ee,k as ae,z as se,ap as oe,ak as re,b as de,au as te,g as ne,am as ie,O as me,P as Ne,l as ke,n as le,a0 as ce,aj as ue,d as Me,r as ge,a1 as Ce,a2 as pe,ao as We,f as Ke,ag as fe,ai as De,al as Te,a3 as Ie,ad as he,a4 as Be,ax as be,as as Xe,at as Le,t as xe,an as Ee}from"./exports.js";export{o as AdmonitionNode,r as BlockquoteNode,d as CheckboxNode,t as CodeBlockNode,n as DefinitionListNode,i as EmojiNode,m as FootnoteAnchorNode,N as FootnoteNode,k as FootnoteReferenceNode,l as HardBreakNode,c as HeadingNode,u as HighlightNode,M as HtmlInlineNode,g as ImageNode,C as InfographicBlockNode,p as InlineCodeNode,W as InsertNode,e as KATEX_COMMANDS,K as LinkNode,f as ListItemNode,D as ListNode,T as MERMAID_DISABLED_CODE,I as MERMAID_WORKER_BUSY_CODE,h as MarkdownCodeBlockNode,B as MarkdownRender,b as MathBlockNode,X as MathInlineNode,L as MermaidBlockNode,x as ParagraphNode,E as PreCodeNode,R as ReferenceNode,S as StrikethroughNode,O as StrongNode,_ as SubscriptNode,w as SuperscriptNode,F as TableNode,A as TextNode,v as ThematicBreakNode,H as VueRendererMarkdown,P as WORKER_BUSY_CODE,U as buildKaTeXCDNWorkerSource,y as buildMermaidCDNWorkerSource,j as canParseOffthread,Y as clearGlobalCustomComponents,q as clearKaTeXWorker,z as clearMermaidWorker,G as createKaTeXWorkerFromCDN,V as createMermaidWorkerFromCDN,J as default,Q as disableKatex,Z as disableMermaid,$ as enableKatex,ee as enableMermaid,ae as findPrefixOffthread,se as getCustomNodeComponents,oe as getKaTeXBackpressureDefaults,re as getKaTeXWorkerLoad,de as getLanguageIcon,te as getMermaidWorkerLoad,ne as getUseMonaco,ie as isKaTeXWorkerBusy,me as isKatexEnabled,Ne as isMermaidEnabled,ke as languageMap,le as normalizeLanguageIdentifier,a as normalizeStandaloneBackslashT,ce as removeCustomComponents,ue as renderKaTeXInWorker,Me as renderKaTeXWithBackpressure,ge as resolveMonacoLanguageId,Ce as setCustomComponents,pe as setDefaultI18nMap,s as setDefaultMathOptions,We as setKaTeXBackpressureDefaults,Ke as setKaTeXCache,fe as setKaTeXWorker,De as setKaTeXWorkerDebug,Te as setKaTeXWorkerMaxConcurrency,Ie as setKatexLoader,he as setLanguageIconResolver,Be as setMermaidLoader,be as setMermaidWorker,Xe as setMermaidWorkerClientDebug,Le as setMermaidWorkerMaxConcurrency,xe as terminateWorker,Ee as waitForKaTeXWorkerSlot};
1
+ export*from"stream-markdown-parser";import{KATEX_COMMANDS as e,normalizeStandaloneBackslashT as a,setDefaultMathOptions as s}from"stream-markdown-parser";import"vue";import{A as o,B as r,C as d,o as t,D as n,E as i,v as m,F as N,y as k,z as l,H as c,I as u,J as M,K as g,L as C,M as p,N as W,O as K,P as f,S as T,T as D,U as h,aA as B,az as I,V as X,X as b,Y as L,Z as x,$ as E,a0 as R,c as S,a1 as O,a7 as _,a8 as w,a9 as F,aa as A,ab as H,ac as v,ad as P,ae as y,af as U,ag as j,W as V,ai as Y,au as q,j as z,m as G,al as J,aC as Q,aj as Z,av as $,X as ee,p as ae,q as se,w as oe,x as re,k as de,G as te,at as ne,ao as ie,b as me,ay as Ne,g as ke,aq as le,Q as ce,R as ue,l as Me,n as ge,a2 as Ce,an as pe,d as We,r as Ke,a3 as fe,a4 as Te,as as De,f as he,ak as Be,am as Ie,ap as Xe,a5 as be,ah as Le,a6 as xe,aB as Ee,aw as Re,ax as Se,t as Oe,ar as _e}from"./exports.js";export{o as AdmonitionNode,r as BlockquoteNode,d as CheckboxNode,t as CodeBlockNode,n as DefinitionListNode,i as EmojiNode,m as EmphasisNode,N as FootnoteAnchorNode,k as FootnoteNode,l as FootnoteReferenceNode,c as HardBreakNode,u as HeadingNode,M as HighlightNode,g as HtmlBlockNode,C as HtmlInlineNode,p as ImageNode,W as InfographicBlockNode,K as InlineCodeNode,f as InsertNode,e as KATEX_COMMANDS,T as LinkNode,D as ListItemNode,h as ListNode,B as MERMAID_DISABLED_CODE,I as MERMAID_WORKER_BUSY_CODE,X as MarkdownCodeBlockNode,b as MarkdownRender,L as MathBlockNode,x as MathInlineNode,E as MermaidBlockNode,R as ParagraphNode,S as PreCodeNode,O as ReferenceNode,_ as StrikethroughNode,w as StrongNode,F as SubscriptNode,A as SuperscriptNode,H as TableNode,v as TextNode,P as ThematicBreakNode,y as Tooltip,U as VmrContainerNode,j as VueRendererMarkdown,V as WORKER_BUSY_CODE,Y as buildKaTeXCDNWorkerSource,q as buildMermaidCDNWorkerSource,z as canParseOffthread,G as clearGlobalCustomComponents,J as clearKaTeXWorker,Q as clearMermaidWorker,Z as createKaTeXWorkerFromCDN,$ as createMermaidWorkerFromCDN,ee as default,ae as disableKatex,se as disableMermaid,oe as enableKatex,re as enableMermaid,de as findPrefixOffthread,te as getCustomNodeComponents,ne as getKaTeXBackpressureDefaults,ie as getKaTeXWorkerLoad,me as getLanguageIcon,Ne as getMermaidWorkerLoad,ke as getUseMonaco,le as isKaTeXWorkerBusy,ce as isKatexEnabled,ue as isMermaidEnabled,Me as languageMap,ge as normalizeLanguageIdentifier,a as normalizeStandaloneBackslashT,Ce as removeCustomComponents,pe as renderKaTeXInWorker,We as renderKaTeXWithBackpressure,Ke as resolveMonacoLanguageId,fe as setCustomComponents,Te as setDefaultI18nMap,s as setDefaultMathOptions,De as setKaTeXBackpressureDefaults,he as setKaTeXCache,Be as setKaTeXWorker,Ie as setKaTeXWorkerDebug,Xe as setKaTeXWorkerMaxConcurrency,be as setKatexLoader,Le as setLanguageIconResolver,xe as setMermaidLoader,Ee as setMermaidWorker,Re as setMermaidWorkerClientDebug,Se as setMermaidWorkerMaxConcurrency,Oe as terminateWorker,_e as waitForKaTeXWorkerSlot};