vue-stream-markdown 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{blockquote-DTo6zg12.js → blockquote-ClgbyGJ2.js} +2 -2
- package/dist/button-BKN2jNlv.js +6 -0
- package/dist/{button-B7H9jKmU.js → button-BVOWJPmC.js} +2 -2
- package/dist/{code-DC7KVCvB.js → code-DG1O8Nim.js} +10 -10
- package/dist/code-block-C3VwzdZn.js +10 -0
- package/dist/{code-block-DPC1FZT3.js → code-block-wjjUUcJZ.js} +10 -7
- package/dist/composables-CcP6Ysj8.js +10954 -0
- package/dist/{delete-xkkM7TML.js → delete-C9W-KhtX.js} +2 -2
- package/dist/dropdown-ByLAwToD.js +6 -0
- package/dist/{emphasis-BmM30dZi.js → emphasis-DiWz4428.js} +2 -2
- package/dist/error-component-Bhq210EM.js +5 -0
- package/dist/{error-component-DFBWdaYB.js → error-component-BrESW9p1.js} +2 -2
- package/dist/{footnote-definition-6cTbdg-J.js → footnote-definition-lObKczNc.js} +5 -5
- package/dist/{footnote-reference-CxJUg8wT.js → footnote-reference-D4hG5a5R.js} +1 -1
- package/dist/{heading-DQ4lofbm.js → heading-CV3_yOWw.js} +2 -2
- package/dist/{icon-BJa4ovUe.js → icon-CRNiOEiK.js} +1 -1
- package/dist/icon-CVg4xQw0.js +4 -0
- package/dist/image-C9bwOpvz.js +9 -0
- package/dist/{image-e0E51Nc3.js → image-CRAZ3iRD.js} +8 -8
- package/dist/{image-DXu2WF2r.js → image-CS78DShm.js} +4 -4
- package/dist/index.d.ts +251 -176
- package/dist/index.js +10414 -18871
- package/dist/{inline-math-BuO_dWPX.js → inline-math-BE7gPPl0.js} +3 -3
- package/dist/{link-DyD59DzG.js → link-EaqqdLrN.js} +4 -4
- package/dist/{list-De0KPajx.js → list-EaQaXX4p.js} +2 -2
- package/dist/{list-item-CuUgvXRC.js → list-item-KAU_GIzi.js} +2 -2
- package/dist/{math-DnFOOLdz.js → math-CsyxsUp9.js} +3 -3
- package/dist/{mermaid-ZCQPlRUa.js → mermaid-CA30wprV.js} +25 -11
- package/dist/modal-C0X_IXfp.js +4 -0
- package/dist/{modal-Bhe0iSs6.js → modal-D8sOifLe.js} +1 -1
- package/dist/node-list--ReOjYkK.js +4 -0
- package/dist/{node-list-CWy--Gin.js → node-list-VskJkISk.js} +1 -1
- package/dist/{paragraph-D3H1qprZ.js → paragraph-D6OuJvHb.js} +2 -2
- package/dist/{previewers-DB2HHDGb.js → previewers-CwjTiQh8.js} +1 -1
- package/dist/segmented-D-zfh_BF.js +7 -0
- package/dist/{segmented-B-kjIOkd.js → segmented-DafF5jPA.js} +1 -1
- package/dist/{shiki-DAu2_FTG.js → shiki-C1omjtbf.js} +2 -2
- package/dist/{strong-BlCQoXCR.js → strong-Clqsbyuc.js} +2 -2
- package/dist/{table-Co_MpK6m.js → table-DQZFzn1X.js} +5 -5
- package/dist/{tooltip-CWv9skVu.js → tooltip-BfznjscC.js} +1 -1
- package/dist/tooltip-Yf5TSh_Q.js +4 -0
- package/dist/vanilla-C7Ds8DWX.js +4 -0
- package/dist/{vanilla-D30b-_ch.js → vanilla-CfMvJwq0.js} +1 -1
- package/dist/{zoom-container-DbeN8U39.js → zoom-container-Ci1d-2Rg.js} +2 -2
- package/dist/zoom-container-Dd5Vtieh.js +7 -0
- package/package.json +1 -1
- package/dist/button-1EHxh8s2.js +0 -6
- package/dist/code-block-DYrPMONb.js +0 -10
- package/dist/composables-BvaSMf02.js +0 -2154
- package/dist/dropdown-Cv_yW4GS.js +0 -6
- package/dist/error-component-1U-JNS6o.js +0 -5
- package/dist/icon-CvIgAOPh.js +0 -4
- package/dist/image-Dm5xIWs7.js +0 -9
- package/dist/modal-B5jFKJL4.js +0 -4
- package/dist/node-list-Doh9Z-4p.js +0 -4
- package/dist/segmented-fbmq_xK1.js +0 -7
- package/dist/tooltip-70WIAMmC.js +0 -4
- package/dist/vanilla-DV7fYrnj.js +0 -4
- package/dist/zoom-container-Dc8N-wuo.js +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue213 from "vue";
|
|
2
2
|
import { CSSProperties, Component, MaybeRef, MaybeRefOrGetter } from "vue";
|
|
3
3
|
import * as _floating_ui_dom0 from "@floating-ui/dom";
|
|
4
4
|
import { Placement } from "@floating-ui/dom";
|
|
5
5
|
import { KatexOptions as KatexOptions$1 } from "katex";
|
|
6
6
|
import { BuiltinLanguage, BuiltinTheme, BundledLanguage, BundledTheme, CodeToTokensOptions, Highlighter, SpecialLanguage, TokensResult } from "shiki";
|
|
7
7
|
import { Mermaid, MermaidConfig } from "mermaid";
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
8
|
+
import * as mdast_util_from_markdown0 from "mdast-util-from-markdown";
|
|
9
|
+
import { Extension as FromMarkdownExtension, fromMarkdown } from "mdast-util-from-markdown";
|
|
10
|
+
import * as mdast_util_to_markdown0 from "mdast-util-to-markdown";
|
|
11
|
+
import { Options as ToMarkdownExtension } from "mdast-util-to-markdown";
|
|
12
|
+
import * as micromark_util_types0 from "micromark-util-types";
|
|
13
|
+
import { Extension as MicromarkExtension } from "micromark-util-types";
|
|
11
14
|
|
|
12
15
|
//#region src/components/previewers/index.d.ts
|
|
13
16
|
declare const CODE_PREVIEWERS: Record<string, Component>;
|
|
@@ -19,6 +22,10 @@ type ParsedNode = SyntaxTree['children'][number] & {
|
|
|
19
22
|
};
|
|
20
23
|
type NodeType = ParsedNode['type'];
|
|
21
24
|
type NodeRenderers = Partial<Record<NodeType, Component>>;
|
|
25
|
+
interface MarkdownParserResult {
|
|
26
|
+
content: string;
|
|
27
|
+
nodes: ParsedNode[];
|
|
28
|
+
}
|
|
22
29
|
type BlockquoteNode = Extract<ParsedNode, {
|
|
23
30
|
type: 'blockquote';
|
|
24
31
|
}>;
|
|
@@ -142,6 +149,73 @@ interface LocaleConfig {
|
|
|
142
149
|
};
|
|
143
150
|
}
|
|
144
151
|
//#endregion
|
|
152
|
+
//#region src/constants/code.d.ts
|
|
153
|
+
declare const DEFAULT_LIGHT_THEME = "github-light";
|
|
154
|
+
declare const DEFAULT_DARK_THEME = "github-dark";
|
|
155
|
+
declare const LANGUAGE_ALIAS: Record<string, BuiltinLanguage>;
|
|
156
|
+
declare const LANGUAGE_EXTENSIONS: Partial<Record<BuiltinLanguage, string>>;
|
|
157
|
+
declare const LANGUAGE_ICONS: Partial<Record<BuiltinLanguage | SpecialLanguage, Component>>;
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region src/constants/harden.d.ts
|
|
160
|
+
declare const DEFAULT_HARDEN_OPTIONS: HardenOptions;
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/constants/icons.d.ts
|
|
163
|
+
declare const ICONS: {
|
|
164
|
+
readonly arrowLeft: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
165
|
+
readonly check: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
166
|
+
readonly code: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
167
|
+
readonly collapse: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
168
|
+
readonly copy: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
169
|
+
readonly cornerDownLeft: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
170
|
+
readonly download: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
171
|
+
readonly error: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
172
|
+
readonly flipHorizontal: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
173
|
+
readonly image: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
174
|
+
readonly link: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
175
|
+
readonly maximize: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
176
|
+
readonly mermaid: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
177
|
+
readonly minimize: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
178
|
+
readonly preview: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
179
|
+
readonly rotateLeft: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
180
|
+
readonly zoomIn: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
181
|
+
readonly zoomOut: vue213.FunctionalComponent<vue213.SVGAttributes, {}, any, {}>;
|
|
182
|
+
};
|
|
183
|
+
//#endregion
|
|
184
|
+
//#region src/constants/plugins.d.ts
|
|
185
|
+
declare const BUILTIN_MICROMARK_EXTENSIONS: {
|
|
186
|
+
readonly gfm: () => micromark_util_types0.Extension;
|
|
187
|
+
readonly math: (ctx: BuiltinPluginContext) => micromark_util_types0.Extension;
|
|
188
|
+
readonly frontmatter: () => micromark_util_types0.Extension;
|
|
189
|
+
readonly cjkFriendlyExtension: () => micromark_util_types0.Extension;
|
|
190
|
+
readonly gfmStrikethroughCjkFriendly: () => micromark_util_types0.Extension;
|
|
191
|
+
};
|
|
192
|
+
declare const BUILTIN_FROM_MDAST_EXTENSIONS: {
|
|
193
|
+
readonly gfmFromMarkdown: () => mdast_util_from_markdown0.Extension[];
|
|
194
|
+
readonly mathFromMarkdown: () => mdast_util_from_markdown0.Extension;
|
|
195
|
+
readonly frontmatterFromMarkdown: () => mdast_util_from_markdown0.Extension;
|
|
196
|
+
};
|
|
197
|
+
declare const BUILTIN_TO_MARKDOWN_EXTENSIONS: {
|
|
198
|
+
readonly gfmToMarkdown: () => mdast_util_to_markdown0.Options;
|
|
199
|
+
readonly mathToMarkdown: () => mdast_util_to_markdown0.Options;
|
|
200
|
+
readonly frontmatterToMarkdown: () => mdast_util_to_markdown0.Options;
|
|
201
|
+
};
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region src/constants/preload.d.ts
|
|
204
|
+
declare const PRELOAD_NODE_RENDERER: BuiltinNodeRenderers[];
|
|
205
|
+
//#endregion
|
|
206
|
+
//#region src/constants/theme.d.ts
|
|
207
|
+
declare const SHADCN_SCHEMAS: readonly ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "border", "input", "ring", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5", "sidebar", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring"];
|
|
208
|
+
//#endregion
|
|
209
|
+
//#region src/types/plugins.d.ts
|
|
210
|
+
type BuiltinMicromarkExtension = keyof typeof BUILTIN_MICROMARK_EXTENSIONS;
|
|
211
|
+
type BuiltinFromMdastExtension = keyof typeof BUILTIN_FROM_MDAST_EXTENSIONS;
|
|
212
|
+
type BuiltinToMarkdownExtension = keyof typeof BUILTIN_TO_MARKDOWN_EXTENSIONS;
|
|
213
|
+
type BuiltinPluginFactory<Ctx, Ext> = (ctx: Ctx) => Ext | Ext[];
|
|
214
|
+
type BuiltinPluginControl<T extends string, Ext> = Partial<Record<T, false | (() => Ext)>>;
|
|
215
|
+
interface BuiltinPluginContext {
|
|
216
|
+
mdastOptions?: MdastOptions;
|
|
217
|
+
}
|
|
218
|
+
//#endregion
|
|
145
219
|
//#region src/markdown-parser.d.ts
|
|
146
220
|
interface Options extends MarkdownParserOptions {
|
|
147
221
|
mode: 'streaming' | 'static';
|
|
@@ -150,14 +224,14 @@ declare class MarkdownParser {
|
|
|
150
224
|
private mode;
|
|
151
225
|
private content;
|
|
152
226
|
private syntaxTree;
|
|
227
|
+
private micromarkExtensions;
|
|
228
|
+
private fromMdastExtensions;
|
|
229
|
+
private toMdastExtensions;
|
|
153
230
|
private options;
|
|
154
231
|
constructor(options: Options);
|
|
155
232
|
private update;
|
|
156
233
|
updateMode(mode: 'streaming' | 'static'): void;
|
|
157
|
-
parseMarkdown(content: string):
|
|
158
|
-
content: string;
|
|
159
|
-
nodes: ParsedNode[];
|
|
160
|
-
};
|
|
234
|
+
parseMarkdown(content: string): MarkdownParserResult;
|
|
161
235
|
markdownToAst(content: string, loading?: boolean): SyntaxTree;
|
|
162
236
|
astToMarkdown(data: SyntaxTree | ParsedNode): string;
|
|
163
237
|
hasLoadingNode(nodes?: ParsedNode[]): boolean;
|
|
@@ -256,46 +330,9 @@ interface InlineMathNodeRendererProps extends NodeRendererProps {
|
|
|
256
330
|
node: InlineMathNode;
|
|
257
331
|
}
|
|
258
332
|
//#endregion
|
|
259
|
-
//#region src/constants/code.d.ts
|
|
260
|
-
declare const DEFAULT_LIGHT_THEME = "github-light";
|
|
261
|
-
declare const DEFAULT_DARK_THEME = "github-dark";
|
|
262
|
-
declare const LANGUAGE_ALIAS: Record<string, BuiltinLanguage>;
|
|
263
|
-
declare const LANGUAGE_EXTENSIONS: Partial<Record<BuiltinLanguage, string>>;
|
|
264
|
-
declare const LANGUAGE_ICONS: Partial<Record<BuiltinLanguage | SpecialLanguage, Component>>;
|
|
265
|
-
//#endregion
|
|
266
|
-
//#region src/constants/harden.d.ts
|
|
267
|
-
declare const DEFAULT_HARDEN_OPTIONS: HardenOptions;
|
|
268
|
-
//#endregion
|
|
269
|
-
//#region src/constants/icons.d.ts
|
|
270
|
-
declare const ICONS: {
|
|
271
|
-
readonly arrowLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
272
|
-
readonly check: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
273
|
-
readonly code: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
274
|
-
readonly collapse: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
275
|
-
readonly copy: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
276
|
-
readonly cornerDownLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
277
|
-
readonly download: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
278
|
-
readonly error: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
279
|
-
readonly flipHorizontal: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
280
|
-
readonly image: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
281
|
-
readonly link: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
282
|
-
readonly maximize: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
283
|
-
readonly mermaid: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
284
|
-
readonly minimize: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
285
|
-
readonly preview: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
286
|
-
readonly rotateLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
287
|
-
readonly zoomIn: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
288
|
-
readonly zoomOut: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
289
|
-
};
|
|
290
|
-
//#endregion
|
|
291
|
-
//#region src/constants/preload.d.ts
|
|
292
|
-
declare const PRELOAD_NODE_RENDERER: BuiltinNodeRenderers[];
|
|
293
|
-
//#endregion
|
|
294
|
-
//#region src/constants/theme.d.ts
|
|
295
|
-
declare const SHADCN_SCHEMAS: readonly ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "border", "input", "ring", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5", "sidebar", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring"];
|
|
296
|
-
//#endregion
|
|
297
333
|
//#region src/types/shared.d.ts
|
|
298
334
|
type MaybePromise<T> = T | Promise<T>;
|
|
335
|
+
type MaybeArray<T> = T | T[];
|
|
299
336
|
type BuiltinNodeRenderers = keyof typeof NODE_RENDERERS;
|
|
300
337
|
type BuiltinPreviewers = 'mermaid' | 'html';
|
|
301
338
|
type BuiltinUIComponents = keyof typeof UI;
|
|
@@ -348,9 +385,15 @@ interface MarkdownParserOptions {
|
|
|
348
385
|
postprocess?: (data: SyntaxTree) => SyntaxTree;
|
|
349
386
|
}
|
|
350
387
|
interface MdastOptions {
|
|
351
|
-
from?:
|
|
352
|
-
to?:
|
|
353
|
-
micromark?:
|
|
388
|
+
from?: FromMarkdownExtension[];
|
|
389
|
+
to?: ToMarkdownExtension[];
|
|
390
|
+
micromark?: MicromarkExtension[];
|
|
391
|
+
builtin?: {
|
|
392
|
+
micromark?: BuiltinPluginControl<BuiltinMicromarkExtension, MicromarkExtension>;
|
|
393
|
+
from?: BuiltinPluginControl<BuiltinFromMdastExtension, FromMarkdownExtension>;
|
|
394
|
+
to?: BuiltinPluginControl<BuiltinToMarkdownExtension, ToMarkdownExtension>;
|
|
395
|
+
};
|
|
396
|
+
singleDollarTextMath?: boolean;
|
|
354
397
|
}
|
|
355
398
|
interface StreamMarkdownContext {
|
|
356
399
|
controls?: ControlsConfig;
|
|
@@ -474,20 +517,20 @@ declare const NODE_RENDERERS: NodeRenderers;
|
|
|
474
517
|
//#endregion
|
|
475
518
|
//#region src/components/index.d.ts
|
|
476
519
|
declare const UI: {
|
|
477
|
-
readonly Button:
|
|
520
|
+
readonly Button: vue213.DefineComponent<ButtonProps, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
478
521
|
click: (event: MouseEvent, item?: SelectOption | undefined) => any;
|
|
479
|
-
}, string,
|
|
522
|
+
}, string, vue213.PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
480
523
|
onClick?: ((event: MouseEvent, item?: SelectOption | undefined) => any) | undefined;
|
|
481
524
|
}>, {
|
|
482
525
|
variant: "icon" | "text";
|
|
483
|
-
buttonStyle:
|
|
526
|
+
buttonStyle: vue213.CSSProperties;
|
|
484
527
|
iconWidth: number;
|
|
485
528
|
iconHeight: number;
|
|
486
|
-
iconStyle:
|
|
529
|
+
iconStyle: vue213.CSSProperties;
|
|
487
530
|
options: SelectOption[];
|
|
488
|
-
}, {}, {}, {}, string,
|
|
531
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
489
532
|
readonly CodeBlock: {
|
|
490
|
-
new (...args: any[]):
|
|
533
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<CodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
491
534
|
P: {};
|
|
492
535
|
B: {};
|
|
493
536
|
D: {};
|
|
@@ -498,7 +541,7 @@ declare const UI: {
|
|
|
498
541
|
__isFragment?: never;
|
|
499
542
|
__isTeleport?: never;
|
|
500
543
|
__isSuspense?: never;
|
|
501
|
-
} &
|
|
544
|
+
} & vue213.ComponentOptionsBase<Readonly<CodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
502
545
|
$slots: {
|
|
503
546
|
title?: (props: {}) => any;
|
|
504
547
|
} & {
|
|
@@ -510,16 +553,16 @@ declare const UI: {
|
|
|
510
553
|
};
|
|
511
554
|
});
|
|
512
555
|
readonly Dropdown: {
|
|
513
|
-
new (...args: any[]):
|
|
556
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
514
557
|
title?: string;
|
|
515
558
|
options?: SelectOption[];
|
|
516
559
|
}> & Readonly<{
|
|
517
560
|
onClick?: ((event: MouseEvent, item: SelectOption) => any) | undefined;
|
|
518
|
-
}>, {}, {}, {}, {},
|
|
561
|
+
}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
519
562
|
click: (event: MouseEvent, item: SelectOption) => any;
|
|
520
|
-
},
|
|
563
|
+
}, vue213.PublicProps, {
|
|
521
564
|
options: SelectOption[];
|
|
522
|
-
}, false, {}, {},
|
|
565
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
523
566
|
P: {};
|
|
524
567
|
B: {};
|
|
525
568
|
D: {};
|
|
@@ -537,30 +580,30 @@ declare const UI: {
|
|
|
537
580
|
__isFragment?: never;
|
|
538
581
|
__isTeleport?: never;
|
|
539
582
|
__isSuspense?: never;
|
|
540
|
-
} &
|
|
583
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
541
584
|
title?: string;
|
|
542
585
|
options?: SelectOption[];
|
|
543
586
|
}> & Readonly<{
|
|
544
587
|
onClick?: ((event: MouseEvent, item: SelectOption) => any) | undefined;
|
|
545
|
-
}>, {}, {}, {}, {},
|
|
588
|
+
}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
546
589
|
click: (event: MouseEvent, item: SelectOption) => any;
|
|
547
590
|
}, string, {
|
|
548
591
|
options: SelectOption[];
|
|
549
|
-
}, {}, string, {},
|
|
592
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
550
593
|
$slots: {
|
|
551
594
|
default?: (props: {}) => any;
|
|
552
595
|
};
|
|
553
596
|
});
|
|
554
597
|
readonly ErrorComponent: {
|
|
555
|
-
new (...args: any[]):
|
|
598
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
556
599
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
557
600
|
showIcon?: boolean;
|
|
558
|
-
icon?: string |
|
|
601
|
+
icon?: string | vue213.Component;
|
|
559
602
|
message?: string;
|
|
560
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
603
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {
|
|
561
604
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
562
605
|
showIcon: boolean;
|
|
563
|
-
}, false, {}, {},
|
|
606
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
564
607
|
P: {};
|
|
565
608
|
B: {};
|
|
566
609
|
D: {};
|
|
@@ -570,7 +613,7 @@ declare const UI: {
|
|
|
570
613
|
}, Readonly<{
|
|
571
614
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
572
615
|
showIcon?: boolean;
|
|
573
|
-
icon?: string |
|
|
616
|
+
icon?: string | vue213.Component;
|
|
574
617
|
message?: string;
|
|
575
618
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
576
619
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
@@ -579,36 +622,36 @@ declare const UI: {
|
|
|
579
622
|
__isFragment?: never;
|
|
580
623
|
__isTeleport?: never;
|
|
581
624
|
__isSuspense?: never;
|
|
582
|
-
} &
|
|
625
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
583
626
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
584
627
|
showIcon?: boolean;
|
|
585
|
-
icon?: string |
|
|
628
|
+
icon?: string | vue213.Component;
|
|
586
629
|
message?: string;
|
|
587
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
630
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {
|
|
588
631
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
589
632
|
showIcon: boolean;
|
|
590
|
-
}, {}, string, {},
|
|
633
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
591
634
|
$slots: {
|
|
592
635
|
default?: (props: {}) => any;
|
|
593
636
|
};
|
|
594
637
|
});
|
|
595
|
-
readonly Icon:
|
|
596
|
-
icon: string |
|
|
638
|
+
readonly Icon: vue213.DefineComponent<{
|
|
639
|
+
icon: string | vue213.Component;
|
|
597
640
|
width?: number;
|
|
598
641
|
height?: number;
|
|
599
642
|
class?: string | string[] | Record<string, unknown>;
|
|
600
|
-
style?:
|
|
601
|
-
}, {}, {}, {}, {},
|
|
602
|
-
icon: string |
|
|
643
|
+
style?: vue213.CSSProperties;
|
|
644
|
+
}, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, vue213.PublicProps, Readonly<{
|
|
645
|
+
icon: string | vue213.Component;
|
|
603
646
|
width?: number;
|
|
604
647
|
height?: number;
|
|
605
648
|
class?: string | string[] | Record<string, unknown>;
|
|
606
|
-
style?:
|
|
649
|
+
style?: vue213.CSSProperties;
|
|
607
650
|
}> & Readonly<{}>, {
|
|
608
651
|
width: number;
|
|
609
652
|
height: number;
|
|
610
|
-
}, {}, {}, {}, string,
|
|
611
|
-
readonly Image:
|
|
653
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
654
|
+
readonly Image: vue213.DefineComponent<{
|
|
612
655
|
src?: string;
|
|
613
656
|
alt?: string;
|
|
614
657
|
title?: string;
|
|
@@ -618,10 +661,10 @@ declare const UI: {
|
|
|
618
661
|
transformHardenUrl?: (url: string) => string | null;
|
|
619
662
|
nodeProps: ImageNodeRendererProps;
|
|
620
663
|
handleDownload?: (url: string) => Promise<void>;
|
|
621
|
-
}, {}, {}, {}, {},
|
|
664
|
+
}, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
622
665
|
load: (event: Event) => any;
|
|
623
666
|
error: (event: Event) => any;
|
|
624
|
-
}, string,
|
|
667
|
+
}, string, vue213.PublicProps, Readonly<{
|
|
625
668
|
src?: string;
|
|
626
669
|
alt?: string;
|
|
627
670
|
title?: string;
|
|
@@ -638,25 +681,25 @@ declare const UI: {
|
|
|
638
681
|
controls: ControlsConfig;
|
|
639
682
|
preview: boolean;
|
|
640
683
|
margin: number;
|
|
641
|
-
}, {}, {}, {}, string,
|
|
684
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
642
685
|
readonly Modal: {
|
|
643
|
-
new (...args: any[]):
|
|
686
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
644
687
|
title?: string;
|
|
645
688
|
zIndex?: number;
|
|
646
|
-
modalStyle?:
|
|
647
|
-
headerStyle?:
|
|
689
|
+
modalStyle?: vue213.CSSProperties;
|
|
690
|
+
headerStyle?: vue213.CSSProperties;
|
|
648
691
|
transition?: string;
|
|
649
692
|
close?: () => void;
|
|
650
693
|
} & {
|
|
651
694
|
open?: boolean;
|
|
652
695
|
}> & Readonly<{
|
|
653
696
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
654
|
-
}>, {}, {}, {}, {},
|
|
697
|
+
}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {
|
|
655
698
|
"update:open": (value: boolean) => any;
|
|
656
|
-
},
|
|
699
|
+
}, vue213.PublicProps, {
|
|
657
700
|
zIndex: number;
|
|
658
701
|
transition: string;
|
|
659
|
-
}, false, {}, {},
|
|
702
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
660
703
|
P: {};
|
|
661
704
|
B: {};
|
|
662
705
|
D: {};
|
|
@@ -666,8 +709,8 @@ declare const UI: {
|
|
|
666
709
|
}, Readonly<{
|
|
667
710
|
title?: string;
|
|
668
711
|
zIndex?: number;
|
|
669
|
-
modalStyle?:
|
|
670
|
-
headerStyle?:
|
|
712
|
+
modalStyle?: vue213.CSSProperties;
|
|
713
|
+
headerStyle?: vue213.CSSProperties;
|
|
671
714
|
transition?: string;
|
|
672
715
|
close?: () => void;
|
|
673
716
|
} & {
|
|
@@ -681,23 +724,23 @@ declare const UI: {
|
|
|
681
724
|
__isFragment?: never;
|
|
682
725
|
__isTeleport?: never;
|
|
683
726
|
__isSuspense?: never;
|
|
684
|
-
} &
|
|
727
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
685
728
|
title?: string;
|
|
686
729
|
zIndex?: number;
|
|
687
|
-
modalStyle?:
|
|
688
|
-
headerStyle?:
|
|
730
|
+
modalStyle?: vue213.CSSProperties;
|
|
731
|
+
headerStyle?: vue213.CSSProperties;
|
|
689
732
|
transition?: string;
|
|
690
733
|
close?: () => void;
|
|
691
734
|
} & {
|
|
692
735
|
open?: boolean;
|
|
693
736
|
}> & Readonly<{
|
|
694
737
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
695
|
-
}>, {}, {}, {}, {},
|
|
738
|
+
}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {
|
|
696
739
|
"update:open": (value: boolean) => any;
|
|
697
740
|
}, string, {
|
|
698
741
|
zIndex: number;
|
|
699
742
|
transition: string;
|
|
700
|
-
}, {}, string, {},
|
|
743
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
701
744
|
$slots: {
|
|
702
745
|
title?: (props: {}) => any;
|
|
703
746
|
} & {
|
|
@@ -708,39 +751,39 @@ declare const UI: {
|
|
|
708
751
|
default?: (props: {}) => any;
|
|
709
752
|
};
|
|
710
753
|
});
|
|
711
|
-
readonly NodeList:
|
|
754
|
+
readonly NodeList: vue213.DefineComponent<NodeRendererListProps, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, vue213.PublicProps, Readonly<NodeRendererListProps> & Readonly<{}>, {
|
|
712
755
|
nodes: ParsedNode[];
|
|
713
|
-
}, {}, {}, {}, string,
|
|
714
|
-
readonly Segmented:
|
|
756
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
757
|
+
readonly Segmented: vue213.DefineComponent<{
|
|
715
758
|
options?: SelectOption[];
|
|
716
|
-
buttonStyle?:
|
|
759
|
+
buttonStyle?: vue213.CSSProperties;
|
|
717
760
|
} & {
|
|
718
761
|
value?: string;
|
|
719
|
-
}, {}, {}, {}, {},
|
|
762
|
+
}, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {
|
|
720
763
|
"update:value": (value: string) => any;
|
|
721
764
|
} & {
|
|
722
765
|
change: (value: string) => any;
|
|
723
|
-
}, string,
|
|
766
|
+
}, string, vue213.PublicProps, Readonly<{
|
|
724
767
|
options?: SelectOption[];
|
|
725
|
-
buttonStyle?:
|
|
768
|
+
buttonStyle?: vue213.CSSProperties;
|
|
726
769
|
} & {
|
|
727
770
|
value?: string;
|
|
728
771
|
}> & Readonly<{
|
|
729
772
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
730
773
|
onChange?: ((value: string) => any) | undefined;
|
|
731
774
|
}>, {
|
|
732
|
-
buttonStyle:
|
|
775
|
+
buttonStyle: vue213.CSSProperties;
|
|
733
776
|
options: SelectOption[];
|
|
734
|
-
}, {}, {}, {}, string,
|
|
735
|
-
readonly Spin:
|
|
777
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
778
|
+
readonly Spin: vue213.DefineComponent<{}, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, vue213.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue213.ComponentProvideOptions, true, {}, any>;
|
|
736
779
|
readonly Table: {
|
|
737
|
-
new (...args: any[]):
|
|
780
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
738
781
|
getAlign?: (index: number) => "left" | "center" | "right";
|
|
739
782
|
headers?: unknown[];
|
|
740
783
|
rows?: Array<{
|
|
741
784
|
children: unknown[];
|
|
742
785
|
}>;
|
|
743
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
786
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
744
787
|
P: {};
|
|
745
788
|
B: {};
|
|
746
789
|
D: {};
|
|
@@ -757,13 +800,13 @@ declare const UI: {
|
|
|
757
800
|
__isFragment?: never;
|
|
758
801
|
__isTeleport?: never;
|
|
759
802
|
__isSuspense?: never;
|
|
760
|
-
} &
|
|
803
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
761
804
|
getAlign?: (index: number) => "left" | "center" | "right";
|
|
762
805
|
headers?: unknown[];
|
|
763
806
|
rows?: Array<{
|
|
764
807
|
children: unknown[];
|
|
765
808
|
}>;
|
|
766
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
809
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
767
810
|
$slots: {
|
|
768
811
|
'header-cell'?: (props: {
|
|
769
812
|
cell: unknown;
|
|
@@ -778,7 +821,7 @@ declare const UI: {
|
|
|
778
821
|
};
|
|
779
822
|
});
|
|
780
823
|
readonly Tooltip: {
|
|
781
|
-
new (...args: any[]):
|
|
824
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
782
825
|
content?: string;
|
|
783
826
|
trigger?: "hover" | "click";
|
|
784
827
|
placement?: _floating_ui_dom0.Placement;
|
|
@@ -786,11 +829,11 @@ declare const UI: {
|
|
|
786
829
|
}> & Readonly<{}>, {
|
|
787
830
|
show: () => void;
|
|
788
831
|
hide: () => void;
|
|
789
|
-
}, {}, {}, {},
|
|
832
|
+
}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {
|
|
790
833
|
trigger: "hover" | "click";
|
|
791
834
|
placement: _floating_ui_dom0.Placement;
|
|
792
835
|
delay: number | [number, number];
|
|
793
|
-
}, false, {}, {},
|
|
836
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
794
837
|
P: {};
|
|
795
838
|
B: {};
|
|
796
839
|
D: {};
|
|
@@ -813,7 +856,7 @@ declare const UI: {
|
|
|
813
856
|
__isFragment?: never;
|
|
814
857
|
__isTeleport?: never;
|
|
815
858
|
__isSuspense?: never;
|
|
816
|
-
} &
|
|
859
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
817
860
|
content?: string;
|
|
818
861
|
trigger?: "hover" | "click";
|
|
819
862
|
placement?: _floating_ui_dom0.Placement;
|
|
@@ -821,11 +864,11 @@ declare const UI: {
|
|
|
821
864
|
}> & Readonly<{}>, {
|
|
822
865
|
show: () => void;
|
|
823
866
|
hide: () => void;
|
|
824
|
-
}, {}, {}, {},
|
|
867
|
+
}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {
|
|
825
868
|
trigger: "hover" | "click";
|
|
826
869
|
placement: _floating_ui_dom0.Placement;
|
|
827
870
|
delay: number | [number, number];
|
|
828
|
-
}, {}, string, {},
|
|
871
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
829
872
|
$slots: {
|
|
830
873
|
default?: (props: {}) => any;
|
|
831
874
|
} & {
|
|
@@ -833,19 +876,19 @@ declare const UI: {
|
|
|
833
876
|
};
|
|
834
877
|
});
|
|
835
878
|
readonly ZoomContainer: {
|
|
836
|
-
new (...args: any[]):
|
|
879
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
837
880
|
interactive?: boolean;
|
|
838
881
|
showControl?: boolean;
|
|
839
882
|
controlSize?: "vanilla" | "large";
|
|
840
883
|
position?: ZoomControlPosition;
|
|
841
|
-
containerStyle?:
|
|
842
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
884
|
+
containerStyle?: vue213.CSSProperties;
|
|
885
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {
|
|
843
886
|
interactive: boolean;
|
|
844
887
|
showControl: boolean;
|
|
845
888
|
controlSize: "vanilla" | "large";
|
|
846
889
|
position: ZoomControlPosition;
|
|
847
|
-
containerStyle:
|
|
848
|
-
}, false, {}, {},
|
|
890
|
+
containerStyle: vue213.CSSProperties;
|
|
891
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
849
892
|
P: {};
|
|
850
893
|
B: {};
|
|
851
894
|
D: {};
|
|
@@ -857,30 +900,30 @@ declare const UI: {
|
|
|
857
900
|
showControl?: boolean;
|
|
858
901
|
controlSize?: "vanilla" | "large";
|
|
859
902
|
position?: ZoomControlPosition;
|
|
860
|
-
containerStyle?:
|
|
903
|
+
containerStyle?: vue213.CSSProperties;
|
|
861
904
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
862
905
|
interactive: boolean;
|
|
863
906
|
showControl: boolean;
|
|
864
907
|
controlSize: "vanilla" | "large";
|
|
865
908
|
position: ZoomControlPosition;
|
|
866
|
-
containerStyle:
|
|
909
|
+
containerStyle: vue213.CSSProperties;
|
|
867
910
|
}>;
|
|
868
911
|
__isFragment?: never;
|
|
869
912
|
__isTeleport?: never;
|
|
870
913
|
__isSuspense?: never;
|
|
871
|
-
} &
|
|
914
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
872
915
|
interactive?: boolean;
|
|
873
916
|
showControl?: boolean;
|
|
874
917
|
controlSize?: "vanilla" | "large";
|
|
875
918
|
position?: ZoomControlPosition;
|
|
876
|
-
containerStyle?:
|
|
877
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
919
|
+
containerStyle?: vue213.CSSProperties;
|
|
920
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {
|
|
878
921
|
interactive: boolean;
|
|
879
922
|
showControl: boolean;
|
|
880
923
|
controlSize: "vanilla" | "large";
|
|
881
924
|
position: ZoomControlPosition;
|
|
882
|
-
containerStyle:
|
|
883
|
-
}, {}, string, {},
|
|
925
|
+
containerStyle: vue213.CSSProperties;
|
|
926
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
884
927
|
$slots: {
|
|
885
928
|
controls?: (props: {
|
|
886
929
|
iconWidth?: undefined;
|
|
@@ -905,16 +948,16 @@ interface UseCodeOptionsOptions {
|
|
|
905
948
|
language?: MaybeRef<string>;
|
|
906
949
|
}
|
|
907
950
|
declare function useCodeOptions(options: UseCodeOptionsOptions): {
|
|
908
|
-
languageCodeOptions:
|
|
909
|
-
languageIcon?: boolean |
|
|
951
|
+
languageCodeOptions: vue213.ComputedRef<{
|
|
952
|
+
languageIcon?: boolean | vue213.Component | undefined;
|
|
910
953
|
language?: Record<string, CodeOptionsLanguage>;
|
|
911
954
|
languageName?: boolean;
|
|
912
955
|
lineNumbers?: boolean;
|
|
913
956
|
maxHeight?: number | string;
|
|
914
957
|
}>;
|
|
915
|
-
showLanguageIcon:
|
|
916
|
-
showLanguageName:
|
|
917
|
-
showLineNumbers:
|
|
958
|
+
showLanguageIcon: vue213.ComputedRef<boolean>;
|
|
959
|
+
showLanguageName: vue213.ComputedRef<boolean>;
|
|
960
|
+
showLineNumbers: vue213.ComputedRef<boolean>;
|
|
918
961
|
};
|
|
919
962
|
//#endregion
|
|
920
963
|
//#region src/composables/use-context.d.ts
|
|
@@ -934,12 +977,12 @@ declare function useContext(): {
|
|
|
934
977
|
context: Context;
|
|
935
978
|
provideContext: (ctx: Partial<Context>) => void;
|
|
936
979
|
injectContext: () => Context;
|
|
937
|
-
mode:
|
|
938
|
-
hideTooltip:
|
|
939
|
-
icons:
|
|
940
|
-
isDark:
|
|
941
|
-
enableAnimate:
|
|
942
|
-
parsedNodes:
|
|
980
|
+
mode: vue213.ComputedRef<"streaming" | "static">;
|
|
981
|
+
hideTooltip: vue213.ComputedRef<boolean>;
|
|
982
|
+
icons: vue213.ComputedRef<Partial<Icons>>;
|
|
983
|
+
isDark: vue213.ComputedRef<boolean>;
|
|
984
|
+
enableAnimate: vue213.ComputedRef<boolean | undefined>;
|
|
985
|
+
parsedNodes: vue213.ComputedRef<ParsedNode[]>;
|
|
943
986
|
readonly getContainer: () => HTMLElement | undefined;
|
|
944
987
|
readonly getOverlayContainer: () => Element | null;
|
|
945
988
|
readonly beforeDownload: (event: DownloadEvent) => MaybePromise<boolean>;
|
|
@@ -956,6 +999,29 @@ declare function useControls(options: UseControlsOptions): {
|
|
|
956
999
|
resolveControls: <T extends NodeRendererProps = NodeRendererProps>(type: string, builtinControls: Control[], props: T) => Control[];
|
|
957
1000
|
};
|
|
958
1001
|
//#endregion
|
|
1002
|
+
//#region src/composables/use-deferred-render.d.ts
|
|
1003
|
+
interface UseDeferredRenderOptions {
|
|
1004
|
+
targetRef: MaybeRef<HTMLElement | null | undefined>;
|
|
1005
|
+
immediate?: boolean;
|
|
1006
|
+
debounceDelay?: number;
|
|
1007
|
+
rootMargin?: string;
|
|
1008
|
+
idleTimeout?: number;
|
|
1009
|
+
}
|
|
1010
|
+
declare function useDeferredRender(options: UseDeferredRenderOptions): {
|
|
1011
|
+
shouldRender: vue213.Ref<boolean, boolean>;
|
|
1012
|
+
};
|
|
1013
|
+
//#endregion
|
|
1014
|
+
//#region src/composables/use-dirty-parser.d.ts
|
|
1015
|
+
interface UseIdleOptions {
|
|
1016
|
+
idle?: boolean;
|
|
1017
|
+
idleTimeout?: number;
|
|
1018
|
+
}
|
|
1019
|
+
declare function useDirtyParser(parse: (content: string) => MarkdownParserResult, options?: UseIdleOptions): {
|
|
1020
|
+
requestParse: (content: string) => void;
|
|
1021
|
+
result: vue213.Ref<MarkdownParserResult | undefined, MarkdownParserResult | undefined>;
|
|
1022
|
+
running: vue213.Ref<boolean, boolean>;
|
|
1023
|
+
};
|
|
1024
|
+
//#endregion
|
|
959
1025
|
//#region src/composables/use-floating.d.ts
|
|
960
1026
|
interface UseFloatingOptions {
|
|
961
1027
|
hideTooltip?: MaybeRef<boolean>;
|
|
@@ -965,11 +1031,11 @@ interface UseFloatingOptions {
|
|
|
965
1031
|
getContainer?: () => HTMLElement | undefined;
|
|
966
1032
|
}
|
|
967
1033
|
declare function useFloating(options: UseFloatingOptions): {
|
|
968
|
-
referenceEl:
|
|
969
|
-
floatingEl:
|
|
970
|
-
open:
|
|
971
|
-
appendTo:
|
|
972
|
-
floatingStyle:
|
|
1034
|
+
referenceEl: vue213.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1035
|
+
floatingEl: vue213.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1036
|
+
open: vue213.Ref<boolean, boolean>;
|
|
1037
|
+
appendTo: vue213.ComputedRef<HTMLElement | "body">;
|
|
1038
|
+
floatingStyle: vue213.ComputedRef<{
|
|
973
1039
|
position: "absolute" | "fixed";
|
|
974
1040
|
top: string;
|
|
975
1041
|
left: string;
|
|
@@ -990,7 +1056,7 @@ declare function useI18n(): {
|
|
|
990
1056
|
//#endregion
|
|
991
1057
|
//#region src/composables/use-katex.d.ts
|
|
992
1058
|
declare function useKatex(): {
|
|
993
|
-
installed:
|
|
1059
|
+
installed: vue213.Ref<boolean, boolean>;
|
|
994
1060
|
render: (code: string, options?: KatexOptions$1) => Promise<{
|
|
995
1061
|
html?: string;
|
|
996
1062
|
error?: string;
|
|
@@ -1006,9 +1072,9 @@ interface UseMathRendererOptions {
|
|
|
1006
1072
|
throttle?: MaybeRef<number>;
|
|
1007
1073
|
}
|
|
1008
1074
|
declare function useMathRenderer(options: UseMathRendererOptions): {
|
|
1009
|
-
html:
|
|
1010
|
-
error:
|
|
1011
|
-
errorMessage:
|
|
1075
|
+
html: vue213.Ref<string, string>;
|
|
1076
|
+
error: vue213.ComputedRef<boolean>;
|
|
1077
|
+
errorMessage: vue213.Ref<string, string>;
|
|
1012
1078
|
};
|
|
1013
1079
|
//#endregion
|
|
1014
1080
|
//#region src/composables/use-medium-zoom.d.ts
|
|
@@ -1018,12 +1084,12 @@ interface UseMediumZoomOptions {
|
|
|
1018
1084
|
close?: () => void;
|
|
1019
1085
|
}
|
|
1020
1086
|
declare function useMediumZoom(options: UseMediumZoomOptions): {
|
|
1021
|
-
isAnimating:
|
|
1022
|
-
elementStyle:
|
|
1087
|
+
isAnimating: vue213.Ref<boolean, boolean>;
|
|
1088
|
+
elementStyle: vue213.ComputedRef<{
|
|
1023
1089
|
opacity: number;
|
|
1024
1090
|
}>;
|
|
1025
|
-
elementRef:
|
|
1026
|
-
zoomElementRef:
|
|
1091
|
+
elementRef: vue213.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1092
|
+
zoomElementRef: vue213.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1027
1093
|
zoomIn: () => Promise<void>;
|
|
1028
1094
|
zoomOut: () => Promise<void>;
|
|
1029
1095
|
};
|
|
@@ -1034,7 +1100,7 @@ interface UseMermaidOptions {
|
|
|
1034
1100
|
isDark?: MaybeRef<boolean>;
|
|
1035
1101
|
}
|
|
1036
1102
|
declare function useMermaid(options?: UseMermaidOptions): {
|
|
1037
|
-
installed:
|
|
1103
|
+
installed: vue213.Ref<boolean, boolean>;
|
|
1038
1104
|
getMermaid: () => Promise<Mermaid>;
|
|
1039
1105
|
parseMermaid: (code: string) => Promise<{
|
|
1040
1106
|
valid: boolean;
|
|
@@ -1058,10 +1124,10 @@ interface UseSanitizersOptions {
|
|
|
1058
1124
|
isImage?: MaybeRef<boolean | undefined>;
|
|
1059
1125
|
}
|
|
1060
1126
|
declare function useSanitizers(options: UseSanitizersOptions): {
|
|
1061
|
-
hardenOptions:
|
|
1127
|
+
hardenOptions: vue213.ComputedRef<HardenOptions>;
|
|
1062
1128
|
transformHardenUrl: (url: string) => string | null;
|
|
1063
|
-
transformedUrl:
|
|
1064
|
-
isHardenUrl:
|
|
1129
|
+
transformedUrl: vue213.ComputedRef<string | null>;
|
|
1130
|
+
isHardenUrl: vue213.ComputedRef<boolean>;
|
|
1065
1131
|
};
|
|
1066
1132
|
//#endregion
|
|
1067
1133
|
//#region src/composables/use-shiki.d.ts
|
|
@@ -1071,7 +1137,7 @@ interface UseShikiOptions {
|
|
|
1071
1137
|
isDark?: MaybeRef<boolean>;
|
|
1072
1138
|
}
|
|
1073
1139
|
declare function useShiki(options?: UseShikiOptions): {
|
|
1074
|
-
installed:
|
|
1140
|
+
installed: vue213.Ref<boolean, boolean>;
|
|
1075
1141
|
getHighlighter: () => Promise<Highlighter>;
|
|
1076
1142
|
codeToTokens: (code: string) => Promise<TokensResult>;
|
|
1077
1143
|
preload: () => Promise<void>;
|
|
@@ -1084,12 +1150,12 @@ interface UseTailwindV3ThemeOptions {
|
|
|
1084
1150
|
styleScope?: MaybeRef<string | string[]>;
|
|
1085
1151
|
}
|
|
1086
1152
|
declare function useTailwindV3Theme(options: UseTailwindV3ThemeOptions): {
|
|
1087
|
-
element:
|
|
1153
|
+
element: vue213.ComputedRef<Element | undefined>;
|
|
1088
1154
|
id: string;
|
|
1089
|
-
css:
|
|
1155
|
+
css: vue213.ShallowRef<string>;
|
|
1090
1156
|
load: () => void;
|
|
1091
1157
|
unload: () => void;
|
|
1092
|
-
isLoaded: Readonly<
|
|
1158
|
+
isLoaded: Readonly<vue213.ShallowRef<boolean>>;
|
|
1093
1159
|
generateCSS: () => void;
|
|
1094
1160
|
};
|
|
1095
1161
|
//#endregion
|
|
@@ -1109,11 +1175,11 @@ interface ZoomState {
|
|
|
1109
1175
|
translateY: number;
|
|
1110
1176
|
}
|
|
1111
1177
|
declare function useZoom(options?: UseZoomOptions): {
|
|
1112
|
-
zoom:
|
|
1113
|
-
translateX:
|
|
1114
|
-
translateY:
|
|
1115
|
-
isDragging:
|
|
1116
|
-
transformStyle:
|
|
1178
|
+
zoom: vue213.Ref<number, number>;
|
|
1179
|
+
translateX: vue213.Ref<number, number>;
|
|
1180
|
+
translateY: vue213.Ref<number, number>;
|
|
1181
|
+
isDragging: vue213.Ref<boolean, boolean>;
|
|
1182
|
+
transformStyle: vue213.ComputedRef<{
|
|
1117
1183
|
transform: string;
|
|
1118
1184
|
}>;
|
|
1119
1185
|
zoomIn: () => void;
|
|
@@ -1132,16 +1198,16 @@ declare function useZoom(options?: UseZoomOptions): {
|
|
|
1132
1198
|
};
|
|
1133
1199
|
//#endregion
|
|
1134
1200
|
//#region src/index.vue.d.ts
|
|
1135
|
-
declare const __VLS_export:
|
|
1201
|
+
declare const __VLS_export: vue213.DefineComponent<StreamMarkdownProps, {
|
|
1136
1202
|
getMarkdownParser: () => MarkdownParser;
|
|
1137
1203
|
getParsedNodes: () => ParsedNode[];
|
|
1138
1204
|
getProcessedContent: () => string;
|
|
1139
|
-
}, {}, {}, {},
|
|
1205
|
+
}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
1140
1206
|
copied: (content: string) => any;
|
|
1141
|
-
}, string,
|
|
1207
|
+
}, string, vue213.PublicProps, Readonly<StreamMarkdownProps> & Readonly<{
|
|
1142
1208
|
onCopied?: ((content: string) => any) | undefined;
|
|
1143
1209
|
}>, {
|
|
1144
|
-
nodeRenderers: Partial<Record<"delete" | "text" | "blockquote" | "break" | "code" | "definition" | "emphasis" | "footnoteDefinition" | "footnoteReference" | "heading" | "html" | "image" | "imageReference" | "inlineCode" | "link" | "linkReference" | "list" | "listItem" | "paragraph" | "strong" | "table" | "tableCell" | "tableRow" | "thematicBreak" | "yaml" | "inlineMath" | "math",
|
|
1210
|
+
nodeRenderers: Partial<Record<"delete" | "text" | "blockquote" | "break" | "code" | "definition" | "emphasis" | "footnoteDefinition" | "footnoteReference" | "heading" | "html" | "image" | "imageReference" | "inlineCode" | "link" | "linkReference" | "list" | "listItem" | "paragraph" | "strong" | "table" | "tableCell" | "tableRow" | "thematicBreak" | "yaml" | "inlineMath" | "math", vue213.Component>>;
|
|
1145
1211
|
controls: ControlsConfig;
|
|
1146
1212
|
previewers: PreviewerConfig;
|
|
1147
1213
|
isDark: boolean;
|
|
@@ -1150,22 +1216,19 @@ declare const __VLS_export: vue210.DefineComponent<StreamMarkdownProps, {
|
|
|
1150
1216
|
icons: Partial<Icons>;
|
|
1151
1217
|
locale: string | LocaleConfig;
|
|
1152
1218
|
enableAnimate: boolean;
|
|
1153
|
-
}, {}, {}, {}, string,
|
|
1219
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
1154
1220
|
declare const _default: typeof __VLS_export;
|
|
1155
1221
|
//#endregion
|
|
1156
1222
|
//#region src/locales/index.d.ts
|
|
1157
1223
|
declare const SUPPORT_LANGUAGES: string[];
|
|
1158
1224
|
declare const localesGlob: Record<string, () => Promise<unknown>>;
|
|
1159
|
-
declare const localeMessages:
|
|
1160
|
-
declare const currentLocale:
|
|
1225
|
+
declare const localeMessages: vue213.Ref<LocaleConfig | undefined, LocaleConfig | undefined>;
|
|
1226
|
+
declare const currentLocale: vue213.Ref<string, string>;
|
|
1161
1227
|
declare function loadLocaleMessages(language: string | LocaleConfig): Promise<void>;
|
|
1162
1228
|
//#endregion
|
|
1163
1229
|
//#region src/postprocess/footnote.d.ts
|
|
1164
1230
|
declare function postFixFootnote(data: SyntaxTree): SyntaxTree;
|
|
1165
1231
|
//#endregion
|
|
1166
|
-
//#region src/postprocess/text.d.ts
|
|
1167
|
-
declare function postFixText(data: SyntaxTree): SyntaxTree;
|
|
1168
|
-
//#endregion
|
|
1169
1232
|
//#region src/postprocess/index.d.ts
|
|
1170
1233
|
declare function postNormalize(data: SyntaxTree): SyntaxTree;
|
|
1171
1234
|
declare function postprocess(data: SyntaxTree): SyntaxTree;
|
|
@@ -1429,6 +1492,9 @@ declare const quoteStandaloneDashPattern: RegExp;
|
|
|
1429
1492
|
declare const quoteTaskListPattern: RegExp;
|
|
1430
1493
|
declare const quoteIncompleteTaskListPattern: RegExp;
|
|
1431
1494
|
declare const trailingStandaloneDashWithNewlinesPattern: RegExp;
|
|
1495
|
+
declare const linkImagePattern: RegExp;
|
|
1496
|
+
declare const incompleteLinkImageUrlPattern: RegExp;
|
|
1497
|
+
declare const standaloneUrlPattern: RegExp;
|
|
1432
1498
|
//#endregion
|
|
1433
1499
|
//#region src/preprocess/index.d.ts
|
|
1434
1500
|
declare function proprocessContent(content: string): string;
|
|
@@ -1446,6 +1512,12 @@ declare function svgToPngBlob(svgString: string, options?: {
|
|
|
1446
1512
|
scale?: number;
|
|
1447
1513
|
}): Promise<Blob> | null;
|
|
1448
1514
|
//#endregion
|
|
1515
|
+
//#region src/utils/idle.d.ts
|
|
1516
|
+
declare function createIdleCallback(): {
|
|
1517
|
+
request: (cb: IdleRequestCallback, timeout?: number) => number;
|
|
1518
|
+
cancel: (id: number) => void;
|
|
1519
|
+
};
|
|
1520
|
+
//#endregion
|
|
1449
1521
|
//#region src/utils/inference.d.ts
|
|
1450
1522
|
declare function isClient(): boolean;
|
|
1451
1523
|
declare function isServer(): boolean;
|
|
@@ -1466,6 +1538,9 @@ declare function findNodeParent(targetNode: ParsedNode, nodes: ParsedNode[], par
|
|
|
1466
1538
|
index: number;
|
|
1467
1539
|
} | null;
|
|
1468
1540
|
//#endregion
|
|
1541
|
+
//#region src/utils/plugins.d.ts
|
|
1542
|
+
declare function resolveBuiltinExtensions<Builtins extends Record<string, BuiltinPluginFactory<Ctx, any>>, Ctx, Key extends keyof Builtins, Ext = (ReturnType<Builtins[Key]> extends (infer U)[] ? U : ReturnType<Builtins[Key]>)>(builtins: Builtins, ctx: Ctx, control?: Partial<Record<Key, false | BuiltinPluginFactory<Ctx, Ext>>>, extend?: Ext[]): Ext[];
|
|
1543
|
+
//#endregion
|
|
1469
1544
|
//#region src/utils/preload.d.ts
|
|
1470
1545
|
declare function preloadAsyncComponents(components: Record<string, Component>, include?: string[], exclude?: string[]): Promise<void>;
|
|
1471
1546
|
//#endregion
|
|
@@ -1480,4 +1555,4 @@ declare function tableDataToTSV(data: TableData): string;
|
|
|
1480
1555
|
declare function escapeMarkdownTableCell(cell: string): string;
|
|
1481
1556
|
declare function tableDataToMarkdown(data: TableData): string;
|
|
1482
1557
|
//#endregion
|
|
1483
|
-
export { BlockquoteNode, BlockquoteNodeRendererProps, BreakNode, BreakNodeRendererProps, BuiltinNodeRenderers, BuiltinPreviewers, BuiltinUIComponents, ButtonProps, CODE_PREVIEWERS, CodeControlsConfig, CodeNode, CodeNodeRendererProps, CodeOptions, CodeOptionsLanguage, ContentDownloadEvent, Control, ControlTransformer, ControlsConfig, DEFAULT_DARK_THEME, DEFAULT_HARDEN_OPTIONS, DEFAULT_LIGHT_THEME, DefinitionNode, DefinitionNodeRendererProps, DeleteNode, DeleteNodeRendererProps, DownloadEvent, EmphasisNode, EmphasisNodeRendererProps, FootnoteDefinitionNode, FootnoteDefinitionNodeRendererProps, FootnoteReferenceNode, FootnoteReferenceNodeRendererProps, HardenOptions, HeadingNode, HeadingNodeRendererProps, HtmlNode, HtmlNodeRendererProps, ICONS, IconName, Icons, ImageControlsConfig, ImageNode, ImageNodeRendererProps, ImageOptions, ImageReferenceNode, ImageReferenceNodeRendererProps, InlineCodeNode, InlineCodeNodeRendererProps, InlineMathNode, InlineMathNodeRendererProps, KatexOptions, LANGUAGE_ALIAS, LANGUAGE_EXTENSIONS, LANGUAGE_ICONS, LinkNode, LinkNodeRendererProps, LinkReferenceNode, LinkReferenceNodeRendererProps, ListItemNode, ListItemNodeRendererProps, ListNode, ListNodeRendererProps, LocaleConfig, _default as Markdown, MarkdownParser, MarkdownParserOptions, MathNode, MathNodeRendererProps, MaybePromise, MdastOptions, MermaidControlsConfig, MermaidOptions, NODE_RENDERERS, NodeRendererListProps, NodeRendererProps, NodeRenderers, NodeType, OptionalIconName, Options, PRELOAD_NODE_RENDERER, ParagraphNode, ParagraphNodeRendererProps, ParsedNode, PreloadConfig, PreviewSegmentedPlacement, PreviewerConfig, SHADCN_SCHEMAS, SUPPORT_LANGUAGES, SelectOption, ShikiOptions, StreamMarkdownContext, StreamMarkdownProps, StrongNode, StrongNodeRendererProps, SyntaxTree, TableCellNode, TableCellNodeRendererProps, TableControlsConfig, TableData, TableNode, TableNodeRendererProps, TableRowNode, TableRowNodeRendererProps, TextNode, TextNodeRendererProps, ThematicBreakNode, ThematicBreakNodeRendererProps, UI, UIOptions, UrlDownloadEvent, YamlNode, YamlNodeRendererProps, ZoomControlPosition, codeBlockPattern, crlfPattern, currentLocale, doubleAsteriskPattern, doubleDollarPattern, doubleTildePattern, doubleUnderscorePattern, escapeMarkdownTableCell, extractTableDataFromElement, findLastLeafNode, findNodeParent, fixCode, fixDelete, fixEmphasis, fixFootnote, fixLink, fixMath, fixStrong, fixTable, fixTaskList, flow, footnoteDefLabelPattern, footnoteDefLinePattern, footnoteDefPattern, footnoteRefLabelPattern, footnoteRefPattern, hasKatex, hasMermaid, hasShiki, incompleteBracketPattern, incompleteFootnoteRefPattern, incompleteLinkTextPattern, incompleteTaskListPattern, incompleteUrlPattern, isClient, isServer, loadLocaleMessages, localeMessages, localesGlob, normalize, postFixFootnote,
|
|
1558
|
+
export { BUILTIN_FROM_MDAST_EXTENSIONS, BUILTIN_MICROMARK_EXTENSIONS, BUILTIN_TO_MARKDOWN_EXTENSIONS, BlockquoteNode, BlockquoteNodeRendererProps, BreakNode, BreakNodeRendererProps, BuiltinFromMdastExtension, BuiltinMicromarkExtension, BuiltinNodeRenderers, BuiltinPluginContext, BuiltinPluginControl, BuiltinPluginFactory, BuiltinPreviewers, BuiltinToMarkdownExtension, BuiltinUIComponents, ButtonProps, CODE_PREVIEWERS, CodeControlsConfig, CodeNode, CodeNodeRendererProps, CodeOptions, CodeOptionsLanguage, ContentDownloadEvent, Control, ControlTransformer, ControlsConfig, DEFAULT_DARK_THEME, DEFAULT_HARDEN_OPTIONS, DEFAULT_LIGHT_THEME, DefinitionNode, DefinitionNodeRendererProps, DeleteNode, DeleteNodeRendererProps, DownloadEvent, EmphasisNode, EmphasisNodeRendererProps, FootnoteDefinitionNode, FootnoteDefinitionNodeRendererProps, FootnoteReferenceNode, FootnoteReferenceNodeRendererProps, type FromMarkdownExtension, HardenOptions, HeadingNode, HeadingNodeRendererProps, HtmlNode, HtmlNodeRendererProps, ICONS, IconName, Icons, ImageControlsConfig, ImageNode, ImageNodeRendererProps, ImageOptions, ImageReferenceNode, ImageReferenceNodeRendererProps, InlineCodeNode, InlineCodeNodeRendererProps, InlineMathNode, InlineMathNodeRendererProps, KatexOptions, LANGUAGE_ALIAS, LANGUAGE_EXTENSIONS, LANGUAGE_ICONS, LinkNode, LinkNodeRendererProps, LinkReferenceNode, LinkReferenceNodeRendererProps, ListItemNode, ListItemNodeRendererProps, ListNode, ListNodeRendererProps, LocaleConfig, _default as Markdown, MarkdownParser, MarkdownParserOptions, MarkdownParserResult, MathNode, MathNodeRendererProps, MaybeArray, MaybePromise, MdastOptions, MermaidControlsConfig, MermaidOptions, type MicromarkExtension, NODE_RENDERERS, NodeRendererListProps, NodeRendererProps, NodeRenderers, NodeType, OptionalIconName, Options, PRELOAD_NODE_RENDERER, ParagraphNode, ParagraphNodeRendererProps, ParsedNode, PreloadConfig, PreviewSegmentedPlacement, PreviewerConfig, SHADCN_SCHEMAS, SUPPORT_LANGUAGES, SelectOption, ShikiOptions, StreamMarkdownContext, StreamMarkdownProps, StrongNode, StrongNodeRendererProps, SyntaxTree, TableCellNode, TableCellNodeRendererProps, TableControlsConfig, TableData, TableNode, TableNodeRendererProps, TableRowNode, TableRowNodeRendererProps, TextNode, TextNodeRendererProps, ThematicBreakNode, ThematicBreakNodeRendererProps, type ToMarkdownExtension, UI, UIOptions, UrlDownloadEvent, YamlNode, YamlNodeRendererProps, ZoomControlPosition, codeBlockPattern, createIdleCallback, crlfPattern, currentLocale, doubleAsteriskPattern, doubleDollarPattern, doubleTildePattern, doubleUnderscorePattern, escapeMarkdownTableCell, extractTableDataFromElement, findLastLeafNode, findNodeParent, fixCode, fixDelete, fixEmphasis, fixFootnote, fixLink, fixMath, fixStrong, fixTable, fixTaskList, flow, footnoteDefLabelPattern, footnoteDefLinePattern, footnoteDefPattern, footnoteRefLabelPattern, footnoteRefPattern, hasKatex, hasMermaid, hasShiki, incompleteBracketPattern, incompleteFootnoteRefPattern, incompleteLinkImageUrlPattern, incompleteLinkTextPattern, incompleteTaskListPattern, incompleteUrlPattern, isClient, isServer, linkImagePattern, loadLocaleMessages, localeMessages, localesGlob, normalize, postFixFootnote, postNormalize, postprocess, preloadAsyncComponents, preprocess, preprocessLaTeX, proprocessContent, quoteIncompleteTaskListPattern, quoteStandaloneDashPattern, quoteTaskListPattern, resolveBuiltinExtensions, save, saveImage, separatorPattern, singleAsteriskPattern, singleBacktickPattern, singleUnderscorePattern, standaloneDashPattern, standaloneUrlPattern, svgToPngBlob, tableDataToCSV, tableDataToMarkdown, tableDataToTSV, tableRowPattern, taskListPattern, trailingBackticksPattern, trailingStandaloneBracketPattern, trailingStandaloneDashWithNewlinesPattern, trailingWhitespacePattern, transformUrl, tripleBacktickPattern, useCodeOptions, useContext, useControls, useDeferredRender, useDirtyParser, useFloating, useI18n, useKatex, useMathRenderer, useMediumZoom, useMermaid, useSanitizers, useShiki, useTailwindV3Theme, useZoom };
|