vue-stream-markdown 0.2.3 → 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/README.md +1 -1
- package/dist/{blockquote-Crr-D7fY.js → blockquote-ClgbyGJ2.js} +2 -2
- package/dist/button-BKN2jNlv.js +6 -0
- package/dist/{button-DVWlhfQ9.js → button-BVOWJPmC.js} +2 -2
- package/dist/{code-Bz8LM16H.js → code-DG1O8Nim.js} +10 -10
- package/dist/code-block-C3VwzdZn.js +10 -0
- package/dist/{code-block-CmUZxKNr.js → code-block-wjjUUcJZ.js} +22 -11
- package/dist/composables-CcP6Ysj8.js +10954 -0
- package/dist/{delete-DFoiOzHW.js → delete-C9W-KhtX.js} +2 -2
- package/dist/dropdown-ByLAwToD.js +6 -0
- package/dist/{emphasis-DvaBuxeK.js → emphasis-DiWz4428.js} +2 -2
- package/dist/error-component-Bhq210EM.js +5 -0
- package/dist/{error-component-BTe-SuY7.js → error-component-BrESW9p1.js} +2 -2
- package/dist/{footnote-definition-ByWh1N3S.js → footnote-definition-lObKczNc.js} +5 -5
- package/dist/{footnote-reference-BJ4J7BFo.js → footnote-reference-D4hG5a5R.js} +1 -1
- package/dist/{heading-1fssqGGO.js → heading-CV3_yOWw.js} +2 -2
- package/dist/{icon-DcLTFhFW.js → icon-CRNiOEiK.js} +1 -1
- package/dist/icon-CVg4xQw0.js +4 -0
- package/dist/image-C9bwOpvz.js +9 -0
- package/dist/{image-xPrAKT9D.js → image-CRAZ3iRD.js} +17 -12
- package/dist/{image-DXnmoID_.js → image-CS78DShm.js} +13 -10
- package/dist/index.d.ts +294 -182
- package/dist/index.js +10387 -18754
- package/dist/{inline-math-CPkpjl8t.js → inline-math-BE7gPPl0.js} +3 -3
- package/dist/{link-BACrkxRW.js → link-EaqqdLrN.js} +4 -4
- package/dist/{list-Cu8G46hK.js → list-EaQaXX4p.js} +2 -2
- package/dist/{list-item-BMgDS1tS.js → list-item-KAU_GIzi.js} +2 -2
- package/dist/{math-XsZX0VMw.js → math-CsyxsUp9.js} +3 -3
- package/dist/{mermaid-CQdSlhqn.js → mermaid-CA30wprV.js} +25 -11
- package/dist/modal-C0X_IXfp.js +4 -0
- package/dist/{modal-C1riNMrs.js → modal-D8sOifLe.js} +1 -1
- package/dist/node-list--ReOjYkK.js +4 -0
- package/dist/{node-list-7H-lIfUX.js → node-list-VskJkISk.js} +2 -81
- package/dist/{paragraph-Cfd37HUK.js → paragraph-D6OuJvHb.js} +2 -2
- package/dist/{previewers-C7PKsIbc.js → previewers-CwjTiQh8.js} +1 -1
- package/dist/segmented-D-zfh_BF.js +7 -0
- package/dist/{segmented-C9j-IIDc.js → segmented-DafF5jPA.js} +1 -1
- package/dist/{shiki-BoBbCakv.js → shiki-C1omjtbf.js} +2 -2
- package/dist/{strong-BzOBAWrG.js → strong-Clqsbyuc.js} +2 -2
- package/dist/{table-YY5M01Jm.js → table-DQZFzn1X.js} +13 -8
- package/dist/{tooltip-DarhJuZR.js → tooltip-BfznjscC.js} +1 -1
- package/dist/tooltip-Yf5TSh_Q.js +4 -0
- package/dist/vanilla-C7Ds8DWX.js +4 -0
- package/dist/{vanilla-Z6d1vQmX.js → vanilla-CfMvJwq0.js} +1 -1
- package/dist/{zoom-container-DQMpHHGQ.js → zoom-container-Ci1d-2Rg.js} +2 -2
- package/dist/zoom-container-Dd5Vtieh.js +7 -0
- package/package.json +3 -5
- package/dist/button-Dw4uJRaD.js +0 -6
- package/dist/code-block-Bitp8x1w.js +0 -10
- package/dist/composables-CzUVrTt_.js +0 -2151
- package/dist/dropdown-CSRjqK0u.js +0 -6
- package/dist/error-component-DDnC0bqw.js +0 -5
- package/dist/icon-DE3AzDqz.js +0 -4
- package/dist/image-Dl-r78_E.js +0 -9
- package/dist/modal-C7O4jt5-.js +0 -4
- package/dist/node-list-DMwAmH_n.js +0 -4
- package/dist/segmented-BRTZXoDN.js +0 -7
- package/dist/tooltip-vDDEbLwf.js +0 -4
- package/dist/vanilla-CzQw2_b4.js +0 -4
- package/dist/zoom-container-JLbwB4gy.js +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +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
|
-
import { MarkdownItAsync } from "markdown-it-async";
|
|
6
5
|
import { KatexOptions as KatexOptions$1 } from "katex";
|
|
7
|
-
import remend from "remend";
|
|
8
6
|
import { BuiltinLanguage, BuiltinTheme, BundledLanguage, BundledTheme, CodeToTokensOptions, Highlighter, SpecialLanguage, TokensResult } from "shiki";
|
|
9
7
|
import { Mermaid, MermaidConfig } from "mermaid";
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
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";
|
|
13
14
|
|
|
14
15
|
//#region src/components/previewers/index.d.ts
|
|
15
16
|
declare const CODE_PREVIEWERS: Record<string, Component>;
|
|
@@ -21,6 +22,10 @@ type ParsedNode = SyntaxTree['children'][number] & {
|
|
|
21
22
|
};
|
|
22
23
|
type NodeType = ParsedNode['type'];
|
|
23
24
|
type NodeRenderers = Partial<Record<NodeType, Component>>;
|
|
25
|
+
interface MarkdownParserResult {
|
|
26
|
+
content: string;
|
|
27
|
+
nodes: ParsedNode[];
|
|
28
|
+
}
|
|
24
29
|
type BlockquoteNode = Extract<ParsedNode, {
|
|
25
30
|
type: 'blockquote';
|
|
26
31
|
}>;
|
|
@@ -103,6 +108,17 @@ type InlineMathNode = Extract<ParsedNode, {
|
|
|
103
108
|
type: 'inlineMath';
|
|
104
109
|
}>;
|
|
105
110
|
//#endregion
|
|
111
|
+
//#region src/types/events.d.ts
|
|
112
|
+
type DownloadEvent = UrlDownloadEvent | ContentDownloadEvent;
|
|
113
|
+
interface UrlDownloadEvent {
|
|
114
|
+
type: 'image';
|
|
115
|
+
url: string;
|
|
116
|
+
}
|
|
117
|
+
interface ContentDownloadEvent {
|
|
118
|
+
type: 'code' | 'mermaid' | 'table';
|
|
119
|
+
content: string;
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
106
122
|
//#region src/types/locale.d.ts
|
|
107
123
|
interface LocaleConfig {
|
|
108
124
|
button: {
|
|
@@ -133,24 +149,89 @@ interface LocaleConfig {
|
|
|
133
149
|
};
|
|
134
150
|
}
|
|
135
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
|
|
136
219
|
//#region src/markdown-parser.d.ts
|
|
137
220
|
interface Options extends MarkdownParserOptions {
|
|
138
221
|
mode: 'streaming' | 'static';
|
|
139
222
|
}
|
|
140
223
|
declare class MarkdownParser {
|
|
141
224
|
private mode;
|
|
142
|
-
private md;
|
|
143
225
|
private content;
|
|
144
226
|
private syntaxTree;
|
|
227
|
+
private micromarkExtensions;
|
|
228
|
+
private fromMdastExtensions;
|
|
229
|
+
private toMdastExtensions;
|
|
145
230
|
private options;
|
|
146
231
|
constructor(options: Options);
|
|
147
232
|
private update;
|
|
148
233
|
updateMode(mode: 'streaming' | 'static'): void;
|
|
149
|
-
parseMarkdown(content: string):
|
|
150
|
-
content: string;
|
|
151
|
-
nodes: ParsedNode[];
|
|
152
|
-
};
|
|
153
|
-
markdownToHtml(content: string): string;
|
|
234
|
+
parseMarkdown(content: string): MarkdownParserResult;
|
|
154
235
|
markdownToAst(content: string, loading?: boolean): SyntaxTree;
|
|
155
236
|
astToMarkdown(data: SyntaxTree | ParsedNode): string;
|
|
156
237
|
hasLoadingNode(nodes?: ParsedNode[]): boolean;
|
|
@@ -249,45 +330,9 @@ interface InlineMathNodeRendererProps extends NodeRendererProps {
|
|
|
249
330
|
node: InlineMathNode;
|
|
250
331
|
}
|
|
251
332
|
//#endregion
|
|
252
|
-
//#region src/constants/code.d.ts
|
|
253
|
-
declare const DEFAULT_LIGHT_THEME = "github-light";
|
|
254
|
-
declare const DEFAULT_DARK_THEME = "github-dark";
|
|
255
|
-
declare const LANGUAGE_ALIAS: Record<string, BuiltinLanguage>;
|
|
256
|
-
declare const LANGUAGE_EXTENSIONS: Partial<Record<BuiltinLanguage, string>>;
|
|
257
|
-
declare const LANGUAGE_ICONS: Partial<Record<BuiltinLanguage | SpecialLanguage, Component>>;
|
|
258
|
-
//#endregion
|
|
259
|
-
//#region src/constants/harden.d.ts
|
|
260
|
-
declare const DEFAULT_HARDEN_OPTIONS: HardenOptions;
|
|
261
|
-
//#endregion
|
|
262
|
-
//#region src/constants/icons.d.ts
|
|
263
|
-
declare const ICONS: {
|
|
264
|
-
readonly arrowLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
265
|
-
readonly check: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
266
|
-
readonly code: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
267
|
-
readonly collapse: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
268
|
-
readonly copy: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
269
|
-
readonly cornerDownLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
270
|
-
readonly download: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
271
|
-
readonly error: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
272
|
-
readonly flipHorizontal: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
273
|
-
readonly image: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
274
|
-
readonly link: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
275
|
-
readonly maximize: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
276
|
-
readonly mermaid: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
277
|
-
readonly minimize: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
278
|
-
readonly preview: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
279
|
-
readonly rotateLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
280
|
-
readonly zoomIn: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
281
|
-
readonly zoomOut: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
282
|
-
};
|
|
283
|
-
//#endregion
|
|
284
|
-
//#region src/constants/preload.d.ts
|
|
285
|
-
declare const PRELOAD_NODE_RENDERER: BuiltinNodeRenderers[];
|
|
286
|
-
//#endregion
|
|
287
|
-
//#region src/constants/theme.d.ts
|
|
288
|
-
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"];
|
|
289
|
-
//#endregion
|
|
290
333
|
//#region src/types/shared.d.ts
|
|
334
|
+
type MaybePromise<T> = T | Promise<T>;
|
|
335
|
+
type MaybeArray<T> = T | T[];
|
|
291
336
|
type BuiltinNodeRenderers = keyof typeof NODE_RENDERERS;
|
|
292
337
|
type BuiltinPreviewers = 'mermaid' | 'html';
|
|
293
338
|
type BuiltinUIComponents = keyof typeof UI;
|
|
@@ -327,6 +372,7 @@ interface StreamMarkdownProps extends StreamMarkdownContext, MarkdownParserOptio
|
|
|
327
372
|
preload?: PreloadConfig;
|
|
328
373
|
locale?: string | LocaleConfig;
|
|
329
374
|
enableAnimate?: boolean;
|
|
375
|
+
beforeDownload?: (event: DownloadEvent) => MaybePromise<boolean>;
|
|
330
376
|
}
|
|
331
377
|
interface PreloadConfig {
|
|
332
378
|
nodeRenderers?: BuiltinNodeRenderers[];
|
|
@@ -337,12 +383,17 @@ interface MarkdownParserOptions {
|
|
|
337
383
|
postNormalize?: (data: SyntaxTree) => SyntaxTree;
|
|
338
384
|
preprocess?: (content: string) => string;
|
|
339
385
|
postprocess?: (data: SyntaxTree) => SyntaxTree;
|
|
340
|
-
extendMarkdownIt?: (md: MarkdownItAsync) => void;
|
|
341
386
|
}
|
|
342
387
|
interface MdastOptions {
|
|
343
|
-
from?:
|
|
344
|
-
to?:
|
|
345
|
-
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;
|
|
346
397
|
}
|
|
347
398
|
interface StreamMarkdownContext {
|
|
348
399
|
controls?: ControlsConfig;
|
|
@@ -466,20 +517,20 @@ declare const NODE_RENDERERS: NodeRenderers;
|
|
|
466
517
|
//#endregion
|
|
467
518
|
//#region src/components/index.d.ts
|
|
468
519
|
declare const UI: {
|
|
469
|
-
readonly Button:
|
|
520
|
+
readonly Button: vue213.DefineComponent<ButtonProps, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
470
521
|
click: (event: MouseEvent, item?: SelectOption | undefined) => any;
|
|
471
|
-
}, string,
|
|
522
|
+
}, string, vue213.PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
472
523
|
onClick?: ((event: MouseEvent, item?: SelectOption | undefined) => any) | undefined;
|
|
473
524
|
}>, {
|
|
474
525
|
variant: "icon" | "text";
|
|
475
|
-
buttonStyle:
|
|
526
|
+
buttonStyle: vue213.CSSProperties;
|
|
476
527
|
iconWidth: number;
|
|
477
528
|
iconHeight: number;
|
|
478
|
-
iconStyle:
|
|
529
|
+
iconStyle: vue213.CSSProperties;
|
|
479
530
|
options: SelectOption[];
|
|
480
|
-
}, {}, {}, {}, string,
|
|
531
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
481
532
|
readonly CodeBlock: {
|
|
482
|
-
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, {
|
|
483
534
|
P: {};
|
|
484
535
|
B: {};
|
|
485
536
|
D: {};
|
|
@@ -490,7 +541,7 @@ declare const UI: {
|
|
|
490
541
|
__isFragment?: never;
|
|
491
542
|
__isTeleport?: never;
|
|
492
543
|
__isSuspense?: never;
|
|
493
|
-
} &
|
|
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 () => {
|
|
494
545
|
$slots: {
|
|
495
546
|
title?: (props: {}) => any;
|
|
496
547
|
} & {
|
|
@@ -502,16 +553,16 @@ declare const UI: {
|
|
|
502
553
|
};
|
|
503
554
|
});
|
|
504
555
|
readonly Dropdown: {
|
|
505
|
-
new (...args: any[]):
|
|
556
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
506
557
|
title?: string;
|
|
507
558
|
options?: SelectOption[];
|
|
508
559
|
}> & Readonly<{
|
|
509
560
|
onClick?: ((event: MouseEvent, item: SelectOption) => any) | undefined;
|
|
510
|
-
}>, {}, {}, {}, {},
|
|
561
|
+
}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
511
562
|
click: (event: MouseEvent, item: SelectOption) => any;
|
|
512
|
-
},
|
|
563
|
+
}, vue213.PublicProps, {
|
|
513
564
|
options: SelectOption[];
|
|
514
|
-
}, false, {}, {},
|
|
565
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
515
566
|
P: {};
|
|
516
567
|
B: {};
|
|
517
568
|
D: {};
|
|
@@ -529,30 +580,30 @@ declare const UI: {
|
|
|
529
580
|
__isFragment?: never;
|
|
530
581
|
__isTeleport?: never;
|
|
531
582
|
__isSuspense?: never;
|
|
532
|
-
} &
|
|
583
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
533
584
|
title?: string;
|
|
534
585
|
options?: SelectOption[];
|
|
535
586
|
}> & Readonly<{
|
|
536
587
|
onClick?: ((event: MouseEvent, item: SelectOption) => any) | undefined;
|
|
537
|
-
}>, {}, {}, {}, {},
|
|
588
|
+
}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
538
589
|
click: (event: MouseEvent, item: SelectOption) => any;
|
|
539
590
|
}, string, {
|
|
540
591
|
options: SelectOption[];
|
|
541
|
-
}, {}, string, {},
|
|
592
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
542
593
|
$slots: {
|
|
543
594
|
default?: (props: {}) => any;
|
|
544
595
|
};
|
|
545
596
|
});
|
|
546
597
|
readonly ErrorComponent: {
|
|
547
|
-
new (...args: any[]):
|
|
598
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
548
599
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
549
600
|
showIcon?: boolean;
|
|
550
|
-
icon?: string |
|
|
601
|
+
icon?: string | vue213.Component;
|
|
551
602
|
message?: string;
|
|
552
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
603
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {
|
|
553
604
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
554
605
|
showIcon: boolean;
|
|
555
|
-
}, false, {}, {},
|
|
606
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
556
607
|
P: {};
|
|
557
608
|
B: {};
|
|
558
609
|
D: {};
|
|
@@ -562,7 +613,7 @@ declare const UI: {
|
|
|
562
613
|
}, Readonly<{
|
|
563
614
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
564
615
|
showIcon?: boolean;
|
|
565
|
-
icon?: string |
|
|
616
|
+
icon?: string | vue213.Component;
|
|
566
617
|
message?: string;
|
|
567
618
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
568
619
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
@@ -571,36 +622,36 @@ declare const UI: {
|
|
|
571
622
|
__isFragment?: never;
|
|
572
623
|
__isTeleport?: never;
|
|
573
624
|
__isSuspense?: never;
|
|
574
|
-
} &
|
|
625
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
575
626
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
576
627
|
showIcon?: boolean;
|
|
577
|
-
icon?: string |
|
|
628
|
+
icon?: string | vue213.Component;
|
|
578
629
|
message?: string;
|
|
579
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
630
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {
|
|
580
631
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
581
632
|
showIcon: boolean;
|
|
582
|
-
}, {}, string, {},
|
|
633
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
583
634
|
$slots: {
|
|
584
635
|
default?: (props: {}) => any;
|
|
585
636
|
};
|
|
586
637
|
});
|
|
587
|
-
readonly Icon:
|
|
588
|
-
icon: string |
|
|
638
|
+
readonly Icon: vue213.DefineComponent<{
|
|
639
|
+
icon: string | vue213.Component;
|
|
589
640
|
width?: number;
|
|
590
641
|
height?: number;
|
|
591
642
|
class?: string | string[] | Record<string, unknown>;
|
|
592
|
-
style?:
|
|
593
|
-
}, {}, {}, {}, {},
|
|
594
|
-
icon: string |
|
|
643
|
+
style?: vue213.CSSProperties;
|
|
644
|
+
}, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, vue213.PublicProps, Readonly<{
|
|
645
|
+
icon: string | vue213.Component;
|
|
595
646
|
width?: number;
|
|
596
647
|
height?: number;
|
|
597
648
|
class?: string | string[] | Record<string, unknown>;
|
|
598
|
-
style?:
|
|
649
|
+
style?: vue213.CSSProperties;
|
|
599
650
|
}> & Readonly<{}>, {
|
|
600
651
|
width: number;
|
|
601
652
|
height: number;
|
|
602
|
-
}, {}, {}, {}, string,
|
|
603
|
-
readonly Image:
|
|
653
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
654
|
+
readonly Image: vue213.DefineComponent<{
|
|
604
655
|
src?: string;
|
|
605
656
|
alt?: string;
|
|
606
657
|
title?: string;
|
|
@@ -609,10 +660,11 @@ declare const UI: {
|
|
|
609
660
|
controls?: ControlsConfig;
|
|
610
661
|
transformHardenUrl?: (url: string) => string | null;
|
|
611
662
|
nodeProps: ImageNodeRendererProps;
|
|
612
|
-
|
|
663
|
+
handleDownload?: (url: string) => Promise<void>;
|
|
664
|
+
}, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
613
665
|
load: (event: Event) => any;
|
|
614
666
|
error: (event: Event) => any;
|
|
615
|
-
}, string,
|
|
667
|
+
}, string, vue213.PublicProps, Readonly<{
|
|
616
668
|
src?: string;
|
|
617
669
|
alt?: string;
|
|
618
670
|
title?: string;
|
|
@@ -621,6 +673,7 @@ declare const UI: {
|
|
|
621
673
|
controls?: ControlsConfig;
|
|
622
674
|
transformHardenUrl?: (url: string) => string | null;
|
|
623
675
|
nodeProps: ImageNodeRendererProps;
|
|
676
|
+
handleDownload?: (url: string) => Promise<void>;
|
|
624
677
|
}> & Readonly<{
|
|
625
678
|
onLoad?: ((event: Event) => any) | undefined;
|
|
626
679
|
onError?: ((event: Event) => any) | undefined;
|
|
@@ -628,25 +681,25 @@ declare const UI: {
|
|
|
628
681
|
controls: ControlsConfig;
|
|
629
682
|
preview: boolean;
|
|
630
683
|
margin: number;
|
|
631
|
-
}, {}, {}, {}, string,
|
|
684
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
632
685
|
readonly Modal: {
|
|
633
|
-
new (...args: any[]):
|
|
686
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
634
687
|
title?: string;
|
|
635
688
|
zIndex?: number;
|
|
636
|
-
modalStyle?:
|
|
637
|
-
headerStyle?:
|
|
689
|
+
modalStyle?: vue213.CSSProperties;
|
|
690
|
+
headerStyle?: vue213.CSSProperties;
|
|
638
691
|
transition?: string;
|
|
639
692
|
close?: () => void;
|
|
640
693
|
} & {
|
|
641
694
|
open?: boolean;
|
|
642
695
|
}> & Readonly<{
|
|
643
696
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
644
|
-
}>, {}, {}, {}, {},
|
|
697
|
+
}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {
|
|
645
698
|
"update:open": (value: boolean) => any;
|
|
646
|
-
},
|
|
699
|
+
}, vue213.PublicProps, {
|
|
647
700
|
zIndex: number;
|
|
648
701
|
transition: string;
|
|
649
|
-
}, false, {}, {},
|
|
702
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
650
703
|
P: {};
|
|
651
704
|
B: {};
|
|
652
705
|
D: {};
|
|
@@ -656,8 +709,8 @@ declare const UI: {
|
|
|
656
709
|
}, Readonly<{
|
|
657
710
|
title?: string;
|
|
658
711
|
zIndex?: number;
|
|
659
|
-
modalStyle?:
|
|
660
|
-
headerStyle?:
|
|
712
|
+
modalStyle?: vue213.CSSProperties;
|
|
713
|
+
headerStyle?: vue213.CSSProperties;
|
|
661
714
|
transition?: string;
|
|
662
715
|
close?: () => void;
|
|
663
716
|
} & {
|
|
@@ -671,23 +724,23 @@ declare const UI: {
|
|
|
671
724
|
__isFragment?: never;
|
|
672
725
|
__isTeleport?: never;
|
|
673
726
|
__isSuspense?: never;
|
|
674
|
-
} &
|
|
727
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
675
728
|
title?: string;
|
|
676
729
|
zIndex?: number;
|
|
677
|
-
modalStyle?:
|
|
678
|
-
headerStyle?:
|
|
730
|
+
modalStyle?: vue213.CSSProperties;
|
|
731
|
+
headerStyle?: vue213.CSSProperties;
|
|
679
732
|
transition?: string;
|
|
680
733
|
close?: () => void;
|
|
681
734
|
} & {
|
|
682
735
|
open?: boolean;
|
|
683
736
|
}> & Readonly<{
|
|
684
737
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
685
|
-
}>, {}, {}, {}, {},
|
|
738
|
+
}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {
|
|
686
739
|
"update:open": (value: boolean) => any;
|
|
687
740
|
}, string, {
|
|
688
741
|
zIndex: number;
|
|
689
742
|
transition: string;
|
|
690
|
-
}, {}, string, {},
|
|
743
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
691
744
|
$slots: {
|
|
692
745
|
title?: (props: {}) => any;
|
|
693
746
|
} & {
|
|
@@ -698,39 +751,39 @@ declare const UI: {
|
|
|
698
751
|
default?: (props: {}) => any;
|
|
699
752
|
};
|
|
700
753
|
});
|
|
701
|
-
readonly NodeList:
|
|
754
|
+
readonly NodeList: vue213.DefineComponent<NodeRendererListProps, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, vue213.PublicProps, Readonly<NodeRendererListProps> & Readonly<{}>, {
|
|
702
755
|
nodes: ParsedNode[];
|
|
703
|
-
}, {}, {}, {}, string,
|
|
704
|
-
readonly Segmented:
|
|
756
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
757
|
+
readonly Segmented: vue213.DefineComponent<{
|
|
705
758
|
options?: SelectOption[];
|
|
706
|
-
buttonStyle?:
|
|
759
|
+
buttonStyle?: vue213.CSSProperties;
|
|
707
760
|
} & {
|
|
708
761
|
value?: string;
|
|
709
|
-
}, {}, {}, {}, {},
|
|
762
|
+
}, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {
|
|
710
763
|
"update:value": (value: string) => any;
|
|
711
764
|
} & {
|
|
712
765
|
change: (value: string) => any;
|
|
713
|
-
}, string,
|
|
766
|
+
}, string, vue213.PublicProps, Readonly<{
|
|
714
767
|
options?: SelectOption[];
|
|
715
|
-
buttonStyle?:
|
|
768
|
+
buttonStyle?: vue213.CSSProperties;
|
|
716
769
|
} & {
|
|
717
770
|
value?: string;
|
|
718
771
|
}> & Readonly<{
|
|
719
772
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
720
773
|
onChange?: ((value: string) => any) | undefined;
|
|
721
774
|
}>, {
|
|
722
|
-
buttonStyle:
|
|
775
|
+
buttonStyle: vue213.CSSProperties;
|
|
723
776
|
options: SelectOption[];
|
|
724
|
-
}, {}, {}, {}, string,
|
|
725
|
-
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>;
|
|
726
779
|
readonly Table: {
|
|
727
|
-
new (...args: any[]):
|
|
780
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
728
781
|
getAlign?: (index: number) => "left" | "center" | "right";
|
|
729
782
|
headers?: unknown[];
|
|
730
783
|
rows?: Array<{
|
|
731
784
|
children: unknown[];
|
|
732
785
|
}>;
|
|
733
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
786
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
734
787
|
P: {};
|
|
735
788
|
B: {};
|
|
736
789
|
D: {};
|
|
@@ -747,13 +800,13 @@ declare const UI: {
|
|
|
747
800
|
__isFragment?: never;
|
|
748
801
|
__isTeleport?: never;
|
|
749
802
|
__isSuspense?: never;
|
|
750
|
-
} &
|
|
803
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
751
804
|
getAlign?: (index: number) => "left" | "center" | "right";
|
|
752
805
|
headers?: unknown[];
|
|
753
806
|
rows?: Array<{
|
|
754
807
|
children: unknown[];
|
|
755
808
|
}>;
|
|
756
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
809
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
757
810
|
$slots: {
|
|
758
811
|
'header-cell'?: (props: {
|
|
759
812
|
cell: unknown;
|
|
@@ -768,7 +821,7 @@ declare const UI: {
|
|
|
768
821
|
};
|
|
769
822
|
});
|
|
770
823
|
readonly Tooltip: {
|
|
771
|
-
new (...args: any[]):
|
|
824
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
772
825
|
content?: string;
|
|
773
826
|
trigger?: "hover" | "click";
|
|
774
827
|
placement?: _floating_ui_dom0.Placement;
|
|
@@ -776,11 +829,11 @@ declare const UI: {
|
|
|
776
829
|
}> & Readonly<{}>, {
|
|
777
830
|
show: () => void;
|
|
778
831
|
hide: () => void;
|
|
779
|
-
}, {}, {}, {},
|
|
832
|
+
}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {
|
|
780
833
|
trigger: "hover" | "click";
|
|
781
834
|
placement: _floating_ui_dom0.Placement;
|
|
782
835
|
delay: number | [number, number];
|
|
783
|
-
}, false, {}, {},
|
|
836
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
784
837
|
P: {};
|
|
785
838
|
B: {};
|
|
786
839
|
D: {};
|
|
@@ -803,7 +856,7 @@ declare const UI: {
|
|
|
803
856
|
__isFragment?: never;
|
|
804
857
|
__isTeleport?: never;
|
|
805
858
|
__isSuspense?: never;
|
|
806
|
-
} &
|
|
859
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
807
860
|
content?: string;
|
|
808
861
|
trigger?: "hover" | "click";
|
|
809
862
|
placement?: _floating_ui_dom0.Placement;
|
|
@@ -811,11 +864,11 @@ declare const UI: {
|
|
|
811
864
|
}> & Readonly<{}>, {
|
|
812
865
|
show: () => void;
|
|
813
866
|
hide: () => void;
|
|
814
|
-
}, {}, {}, {},
|
|
867
|
+
}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {
|
|
815
868
|
trigger: "hover" | "click";
|
|
816
869
|
placement: _floating_ui_dom0.Placement;
|
|
817
870
|
delay: number | [number, number];
|
|
818
|
-
}, {}, string, {},
|
|
871
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
819
872
|
$slots: {
|
|
820
873
|
default?: (props: {}) => any;
|
|
821
874
|
} & {
|
|
@@ -823,19 +876,19 @@ declare const UI: {
|
|
|
823
876
|
};
|
|
824
877
|
});
|
|
825
878
|
readonly ZoomContainer: {
|
|
826
|
-
new (...args: any[]):
|
|
879
|
+
new (...args: any[]): vue213.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
827
880
|
interactive?: boolean;
|
|
828
881
|
showControl?: boolean;
|
|
829
882
|
controlSize?: "vanilla" | "large";
|
|
830
883
|
position?: ZoomControlPosition;
|
|
831
|
-
containerStyle?:
|
|
832
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
884
|
+
containerStyle?: vue213.CSSProperties;
|
|
885
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, vue213.PublicProps, {
|
|
833
886
|
interactive: boolean;
|
|
834
887
|
showControl: boolean;
|
|
835
888
|
controlSize: "vanilla" | "large";
|
|
836
889
|
position: ZoomControlPosition;
|
|
837
|
-
containerStyle:
|
|
838
|
-
}, false, {}, {},
|
|
890
|
+
containerStyle: vue213.CSSProperties;
|
|
891
|
+
}, false, {}, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, {}, any, vue213.ComponentProvideOptions, {
|
|
839
892
|
P: {};
|
|
840
893
|
B: {};
|
|
841
894
|
D: {};
|
|
@@ -847,30 +900,30 @@ declare const UI: {
|
|
|
847
900
|
showControl?: boolean;
|
|
848
901
|
controlSize?: "vanilla" | "large";
|
|
849
902
|
position?: ZoomControlPosition;
|
|
850
|
-
containerStyle?:
|
|
903
|
+
containerStyle?: vue213.CSSProperties;
|
|
851
904
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
852
905
|
interactive: boolean;
|
|
853
906
|
showControl: boolean;
|
|
854
907
|
controlSize: "vanilla" | "large";
|
|
855
908
|
position: ZoomControlPosition;
|
|
856
|
-
containerStyle:
|
|
909
|
+
containerStyle: vue213.CSSProperties;
|
|
857
910
|
}>;
|
|
858
911
|
__isFragment?: never;
|
|
859
912
|
__isTeleport?: never;
|
|
860
913
|
__isSuspense?: never;
|
|
861
|
-
} &
|
|
914
|
+
} & vue213.ComponentOptionsBase<Readonly<{
|
|
862
915
|
interactive?: boolean;
|
|
863
916
|
showControl?: boolean;
|
|
864
917
|
controlSize?: "vanilla" | "large";
|
|
865
918
|
position?: ZoomControlPosition;
|
|
866
|
-
containerStyle?:
|
|
867
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
919
|
+
containerStyle?: vue213.CSSProperties;
|
|
920
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {}, string, {
|
|
868
921
|
interactive: boolean;
|
|
869
922
|
showControl: boolean;
|
|
870
923
|
controlSize: "vanilla" | "large";
|
|
871
924
|
position: ZoomControlPosition;
|
|
872
|
-
containerStyle:
|
|
873
|
-
}, {}, string, {},
|
|
925
|
+
containerStyle: vue213.CSSProperties;
|
|
926
|
+
}, {}, string, {}, vue213.GlobalComponents, vue213.GlobalDirectives, string, vue213.ComponentProvideOptions> & vue213.VNodeProps & vue213.AllowedComponentProps & vue213.ComponentCustomProps & (new () => {
|
|
874
927
|
$slots: {
|
|
875
928
|
controls?: (props: {
|
|
876
929
|
iconWidth?: undefined;
|
|
@@ -895,16 +948,16 @@ interface UseCodeOptionsOptions {
|
|
|
895
948
|
language?: MaybeRef<string>;
|
|
896
949
|
}
|
|
897
950
|
declare function useCodeOptions(options: UseCodeOptionsOptions): {
|
|
898
|
-
languageCodeOptions:
|
|
899
|
-
languageIcon?: boolean |
|
|
951
|
+
languageCodeOptions: vue213.ComputedRef<{
|
|
952
|
+
languageIcon?: boolean | vue213.Component | undefined;
|
|
900
953
|
language?: Record<string, CodeOptionsLanguage>;
|
|
901
954
|
languageName?: boolean;
|
|
902
955
|
lineNumbers?: boolean;
|
|
903
956
|
maxHeight?: number | string;
|
|
904
957
|
}>;
|
|
905
|
-
showLanguageIcon:
|
|
906
|
-
showLanguageName:
|
|
907
|
-
showLineNumbers:
|
|
958
|
+
showLanguageIcon: vue213.ComputedRef<boolean>;
|
|
959
|
+
showLanguageName: vue213.ComputedRef<boolean>;
|
|
960
|
+
showLineNumbers: vue213.ComputedRef<boolean>;
|
|
908
961
|
};
|
|
909
962
|
//#endregion
|
|
910
963
|
//#region src/composables/use-context.d.ts
|
|
@@ -917,20 +970,22 @@ interface Context {
|
|
|
917
970
|
parsedNodes?: MaybeRef<ParsedNode[]>;
|
|
918
971
|
getContainer?: () => HTMLElement | undefined;
|
|
919
972
|
getOverlayContainer?: () => Element | null;
|
|
973
|
+
beforeDownload?: StreamMarkdownProps['beforeDownload'];
|
|
920
974
|
onCopied?: (content: string) => void;
|
|
921
975
|
}
|
|
922
976
|
declare function useContext(): {
|
|
923
977
|
context: Context;
|
|
924
978
|
provideContext: (ctx: Partial<Context>) => void;
|
|
925
979
|
injectContext: () => Context;
|
|
926
|
-
mode:
|
|
927
|
-
hideTooltip:
|
|
928
|
-
icons:
|
|
929
|
-
isDark:
|
|
930
|
-
enableAnimate:
|
|
931
|
-
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[]>;
|
|
932
986
|
readonly getContainer: () => HTMLElement | undefined;
|
|
933
987
|
readonly getOverlayContainer: () => Element | null;
|
|
988
|
+
readonly beforeDownload: (event: DownloadEvent) => MaybePromise<boolean>;
|
|
934
989
|
readonly onCopied: (content: string) => void;
|
|
935
990
|
};
|
|
936
991
|
//#endregion
|
|
@@ -944,6 +999,29 @@ declare function useControls(options: UseControlsOptions): {
|
|
|
944
999
|
resolveControls: <T extends NodeRendererProps = NodeRendererProps>(type: string, builtinControls: Control[], props: T) => Control[];
|
|
945
1000
|
};
|
|
946
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
|
|
947
1025
|
//#region src/composables/use-floating.d.ts
|
|
948
1026
|
interface UseFloatingOptions {
|
|
949
1027
|
hideTooltip?: MaybeRef<boolean>;
|
|
@@ -953,11 +1031,11 @@ interface UseFloatingOptions {
|
|
|
953
1031
|
getContainer?: () => HTMLElement | undefined;
|
|
954
1032
|
}
|
|
955
1033
|
declare function useFloating(options: UseFloatingOptions): {
|
|
956
|
-
referenceEl:
|
|
957
|
-
floatingEl:
|
|
958
|
-
open:
|
|
959
|
-
appendTo:
|
|
960
|
-
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<{
|
|
961
1039
|
position: "absolute" | "fixed";
|
|
962
1040
|
top: string;
|
|
963
1041
|
left: string;
|
|
@@ -978,7 +1056,7 @@ declare function useI18n(): {
|
|
|
978
1056
|
//#endregion
|
|
979
1057
|
//#region src/composables/use-katex.d.ts
|
|
980
1058
|
declare function useKatex(): {
|
|
981
|
-
installed:
|
|
1059
|
+
installed: vue213.Ref<boolean, boolean>;
|
|
982
1060
|
render: (code: string, options?: KatexOptions$1) => Promise<{
|
|
983
1061
|
html?: string;
|
|
984
1062
|
error?: string;
|
|
@@ -994,9 +1072,9 @@ interface UseMathRendererOptions {
|
|
|
994
1072
|
throttle?: MaybeRef<number>;
|
|
995
1073
|
}
|
|
996
1074
|
declare function useMathRenderer(options: UseMathRendererOptions): {
|
|
997
|
-
html:
|
|
998
|
-
error:
|
|
999
|
-
errorMessage:
|
|
1075
|
+
html: vue213.Ref<string, string>;
|
|
1076
|
+
error: vue213.ComputedRef<boolean>;
|
|
1077
|
+
errorMessage: vue213.Ref<string, string>;
|
|
1000
1078
|
};
|
|
1001
1079
|
//#endregion
|
|
1002
1080
|
//#region src/composables/use-medium-zoom.d.ts
|
|
@@ -1006,12 +1084,12 @@ interface UseMediumZoomOptions {
|
|
|
1006
1084
|
close?: () => void;
|
|
1007
1085
|
}
|
|
1008
1086
|
declare function useMediumZoom(options: UseMediumZoomOptions): {
|
|
1009
|
-
isAnimating:
|
|
1010
|
-
elementStyle:
|
|
1087
|
+
isAnimating: vue213.Ref<boolean, boolean>;
|
|
1088
|
+
elementStyle: vue213.ComputedRef<{
|
|
1011
1089
|
opacity: number;
|
|
1012
1090
|
}>;
|
|
1013
|
-
elementRef:
|
|
1014
|
-
zoomElementRef:
|
|
1091
|
+
elementRef: vue213.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1092
|
+
zoomElementRef: vue213.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1015
1093
|
zoomIn: () => Promise<void>;
|
|
1016
1094
|
zoomOut: () => Promise<void>;
|
|
1017
1095
|
};
|
|
@@ -1022,7 +1100,7 @@ interface UseMermaidOptions {
|
|
|
1022
1100
|
isDark?: MaybeRef<boolean>;
|
|
1023
1101
|
}
|
|
1024
1102
|
declare function useMermaid(options?: UseMermaidOptions): {
|
|
1025
|
-
installed:
|
|
1103
|
+
installed: vue213.Ref<boolean, boolean>;
|
|
1026
1104
|
getMermaid: () => Promise<Mermaid>;
|
|
1027
1105
|
parseMermaid: (code: string) => Promise<{
|
|
1028
1106
|
valid: boolean;
|
|
@@ -1046,10 +1124,10 @@ interface UseSanitizersOptions {
|
|
|
1046
1124
|
isImage?: MaybeRef<boolean | undefined>;
|
|
1047
1125
|
}
|
|
1048
1126
|
declare function useSanitizers(options: UseSanitizersOptions): {
|
|
1049
|
-
hardenOptions:
|
|
1127
|
+
hardenOptions: vue213.ComputedRef<HardenOptions>;
|
|
1050
1128
|
transformHardenUrl: (url: string) => string | null;
|
|
1051
|
-
transformedUrl:
|
|
1052
|
-
isHardenUrl:
|
|
1129
|
+
transformedUrl: vue213.ComputedRef<string | null>;
|
|
1130
|
+
isHardenUrl: vue213.ComputedRef<boolean>;
|
|
1053
1131
|
};
|
|
1054
1132
|
//#endregion
|
|
1055
1133
|
//#region src/composables/use-shiki.d.ts
|
|
@@ -1059,7 +1137,7 @@ interface UseShikiOptions {
|
|
|
1059
1137
|
isDark?: MaybeRef<boolean>;
|
|
1060
1138
|
}
|
|
1061
1139
|
declare function useShiki(options?: UseShikiOptions): {
|
|
1062
|
-
installed:
|
|
1140
|
+
installed: vue213.Ref<boolean, boolean>;
|
|
1063
1141
|
getHighlighter: () => Promise<Highlighter>;
|
|
1064
1142
|
codeToTokens: (code: string) => Promise<TokensResult>;
|
|
1065
1143
|
preload: () => Promise<void>;
|
|
@@ -1072,12 +1150,12 @@ interface UseTailwindV3ThemeOptions {
|
|
|
1072
1150
|
styleScope?: MaybeRef<string | string[]>;
|
|
1073
1151
|
}
|
|
1074
1152
|
declare function useTailwindV3Theme(options: UseTailwindV3ThemeOptions): {
|
|
1075
|
-
element:
|
|
1153
|
+
element: vue213.ComputedRef<Element | undefined>;
|
|
1076
1154
|
id: string;
|
|
1077
|
-
css:
|
|
1155
|
+
css: vue213.ShallowRef<string>;
|
|
1078
1156
|
load: () => void;
|
|
1079
1157
|
unload: () => void;
|
|
1080
|
-
isLoaded: Readonly<
|
|
1158
|
+
isLoaded: Readonly<vue213.ShallowRef<boolean>>;
|
|
1081
1159
|
generateCSS: () => void;
|
|
1082
1160
|
};
|
|
1083
1161
|
//#endregion
|
|
@@ -1097,11 +1175,11 @@ interface ZoomState {
|
|
|
1097
1175
|
translateY: number;
|
|
1098
1176
|
}
|
|
1099
1177
|
declare function useZoom(options?: UseZoomOptions): {
|
|
1100
|
-
zoom:
|
|
1101
|
-
translateX:
|
|
1102
|
-
translateY:
|
|
1103
|
-
isDragging:
|
|
1104
|
-
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<{
|
|
1105
1183
|
transform: string;
|
|
1106
1184
|
}>;
|
|
1107
1185
|
zoomIn: () => void;
|
|
@@ -1120,16 +1198,16 @@ declare function useZoom(options?: UseZoomOptions): {
|
|
|
1120
1198
|
};
|
|
1121
1199
|
//#endregion
|
|
1122
1200
|
//#region src/index.vue.d.ts
|
|
1123
|
-
declare const __VLS_export:
|
|
1201
|
+
declare const __VLS_export: vue213.DefineComponent<StreamMarkdownProps, {
|
|
1124
1202
|
getMarkdownParser: () => MarkdownParser;
|
|
1125
1203
|
getParsedNodes: () => ParsedNode[];
|
|
1126
1204
|
getProcessedContent: () => string;
|
|
1127
|
-
}, {}, {}, {},
|
|
1205
|
+
}, {}, {}, {}, vue213.ComponentOptionsMixin, vue213.ComponentOptionsMixin, {} & {
|
|
1128
1206
|
copied: (content: string) => any;
|
|
1129
|
-
}, string,
|
|
1207
|
+
}, string, vue213.PublicProps, Readonly<StreamMarkdownProps> & Readonly<{
|
|
1130
1208
|
onCopied?: ((content: string) => any) | undefined;
|
|
1131
1209
|
}>, {
|
|
1132
|
-
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>>;
|
|
1133
1211
|
controls: ControlsConfig;
|
|
1134
1212
|
previewers: PreviewerConfig;
|
|
1135
1213
|
isDark: boolean;
|
|
@@ -1138,22 +1216,19 @@ declare const __VLS_export: vue210.DefineComponent<StreamMarkdownProps, {
|
|
|
1138
1216
|
icons: Partial<Icons>;
|
|
1139
1217
|
locale: string | LocaleConfig;
|
|
1140
1218
|
enableAnimate: boolean;
|
|
1141
|
-
}, {}, {}, {}, string,
|
|
1219
|
+
}, {}, {}, {}, string, vue213.ComponentProvideOptions, false, {}, any>;
|
|
1142
1220
|
declare const _default: typeof __VLS_export;
|
|
1143
1221
|
//#endregion
|
|
1144
1222
|
//#region src/locales/index.d.ts
|
|
1145
1223
|
declare const SUPPORT_LANGUAGES: string[];
|
|
1146
1224
|
declare const localesGlob: Record<string, () => Promise<unknown>>;
|
|
1147
|
-
declare const localeMessages:
|
|
1148
|
-
declare const currentLocale:
|
|
1225
|
+
declare const localeMessages: vue213.Ref<LocaleConfig | undefined, LocaleConfig | undefined>;
|
|
1226
|
+
declare const currentLocale: vue213.Ref<string, string>;
|
|
1149
1227
|
declare function loadLocaleMessages(language: string | LocaleConfig): Promise<void>;
|
|
1150
1228
|
//#endregion
|
|
1151
1229
|
//#region src/postprocess/footnote.d.ts
|
|
1152
1230
|
declare function postFixFootnote(data: SyntaxTree): SyntaxTree;
|
|
1153
1231
|
//#endregion
|
|
1154
|
-
//#region src/postprocess/text.d.ts
|
|
1155
|
-
declare function postFixText(data: SyntaxTree): SyntaxTree;
|
|
1156
|
-
//#endregion
|
|
1157
1232
|
//#region src/postprocess/index.d.ts
|
|
1158
1233
|
declare function postNormalize(data: SyntaxTree): SyntaxTree;
|
|
1159
1234
|
declare function postprocess(data: SyntaxTree): SyntaxTree;
|
|
@@ -1297,6 +1372,31 @@ declare function fixFootnote(content: string): string;
|
|
|
1297
1372
|
*/
|
|
1298
1373
|
declare function fixLink(content: string): string;
|
|
1299
1374
|
//#endregion
|
|
1375
|
+
//#region src/preprocess/math.d.ts
|
|
1376
|
+
/**
|
|
1377
|
+
* Fix unclosed block math ($$) syntax in streaming markdown
|
|
1378
|
+
*
|
|
1379
|
+
* Block math is defined as $$ delimiters on separate lines:
|
|
1380
|
+
* $$
|
|
1381
|
+
* E = mc^2
|
|
1382
|
+
* $$
|
|
1383
|
+
*
|
|
1384
|
+
* This function processes the entire content (not just last paragraph)
|
|
1385
|
+
* because block math can span multiple paragraphs.
|
|
1386
|
+
*
|
|
1387
|
+
* @param content - Markdown content (potentially incomplete in stream mode)
|
|
1388
|
+
* @returns Content with auto-completed block math if needed
|
|
1389
|
+
*
|
|
1390
|
+
* @example
|
|
1391
|
+
* fixMath('$$\nE = mc^2')
|
|
1392
|
+
* // Returns: '$$\nE = mc^2\n$$'
|
|
1393
|
+
*
|
|
1394
|
+
* @example
|
|
1395
|
+
* fixMath('$$\nE = mc^2\n$$')
|
|
1396
|
+
* // Returns: '$$\nE = mc^2\n$$' (no change)
|
|
1397
|
+
*/
|
|
1398
|
+
declare function fixMath(content: string): string;
|
|
1399
|
+
//#endregion
|
|
1300
1400
|
//#region src/preprocess/strong.d.ts
|
|
1301
1401
|
/**
|
|
1302
1402
|
* Fix unclosed strong (** or __) syntax in streaming markdown
|
|
@@ -1392,11 +1492,14 @@ declare const quoteStandaloneDashPattern: RegExp;
|
|
|
1392
1492
|
declare const quoteTaskListPattern: RegExp;
|
|
1393
1493
|
declare const quoteIncompleteTaskListPattern: RegExp;
|
|
1394
1494
|
declare const trailingStandaloneDashWithNewlinesPattern: RegExp;
|
|
1495
|
+
declare const linkImagePattern: RegExp;
|
|
1496
|
+
declare const incompleteLinkImageUrlPattern: RegExp;
|
|
1497
|
+
declare const standaloneUrlPattern: RegExp;
|
|
1395
1498
|
//#endregion
|
|
1396
1499
|
//#region src/preprocess/index.d.ts
|
|
1397
1500
|
declare function proprocessContent(content: string): string;
|
|
1398
1501
|
declare function normalize(content: string): string;
|
|
1399
|
-
declare function preprocess(content: string
|
|
1502
|
+
declare function preprocess(content: string): string;
|
|
1400
1503
|
//#endregion
|
|
1401
1504
|
//#region src/utils/harden.d.ts
|
|
1402
1505
|
declare function transformUrl(url: unknown, allowedPrefixes: string[], defaultOrigin: string, allowDataImages?: boolean, isImage?: boolean, allowedProtocols?: string[]): string | null;
|
|
@@ -1409,6 +1512,12 @@ declare function svgToPngBlob(svgString: string, options?: {
|
|
|
1409
1512
|
scale?: number;
|
|
1410
1513
|
}): Promise<Blob> | null;
|
|
1411
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
|
|
1412
1521
|
//#region src/utils/inference.d.ts
|
|
1413
1522
|
declare function isClient(): boolean;
|
|
1414
1523
|
declare function isServer(): boolean;
|
|
@@ -1429,6 +1538,9 @@ declare function findNodeParent(targetNode: ParsedNode, nodes: ParsedNode[], par
|
|
|
1429
1538
|
index: number;
|
|
1430
1539
|
} | null;
|
|
1431
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
|
|
1432
1544
|
//#region src/utils/preload.d.ts
|
|
1433
1545
|
declare function preloadAsyncComponents(components: Record<string, Component>, include?: string[], exclude?: string[]): Promise<void>;
|
|
1434
1546
|
//#endregion
|
|
@@ -1443,4 +1555,4 @@ declare function tableDataToTSV(data: TableData): string;
|
|
|
1443
1555
|
declare function escapeMarkdownTableCell(cell: string): string;
|
|
1444
1556
|
declare function tableDataToMarkdown(data: TableData): string;
|
|
1445
1557
|
//#endregion
|
|
1446
|
-
export { BlockquoteNode, BlockquoteNodeRendererProps, BreakNode, BreakNodeRendererProps, BuiltinNodeRenderers, BuiltinPreviewers, BuiltinUIComponents, ButtonProps, CODE_PREVIEWERS, CodeControlsConfig, CodeNode, CodeNodeRendererProps, CodeOptions, CodeOptionsLanguage, Control, ControlTransformer, ControlsConfig, DEFAULT_DARK_THEME, DEFAULT_HARDEN_OPTIONS, DEFAULT_LIGHT_THEME, DefinitionNode, DefinitionNodeRendererProps, DeleteNode, DeleteNodeRendererProps, 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, 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, YamlNode, YamlNodeRendererProps, ZoomControlPosition, codeBlockPattern, crlfPattern, currentLocale, doubleAsteriskPattern, doubleDollarPattern, doubleTildePattern, doubleUnderscorePattern, escapeMarkdownTableCell, extractTableDataFromElement, findLastLeafNode, findNodeParent, fixCode, fixDelete, fixEmphasis, fixFootnote, fixLink, 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 };
|