markstream-angular 0.0.2-beta.0 → 0.0.2-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.js +2776 -2557
- package/dist/types/index.d.ts +6 -73
- package/dist/types/{components → markstream-angular/src/components}/CodeBlockNode/CodeBlockNode.component.d.ts +57 -4
- package/dist/types/{components → markstream-angular/src/components}/CodeBlockNode/HtmlPreviewFrame.component.d.ts +3 -0
- package/dist/types/{components → markstream-angular/src/components}/D2BlockNode/D2BlockNode.component.d.ts +8 -0
- package/dist/types/{components → markstream-angular/src/components}/FootnoteReferenceNode/FootnoteReferenceNode.component.d.ts +1 -0
- package/dist/types/{components → markstream-angular/src/components}/InfographicBlockNode/InfographicBlockNode.component.d.ts +12 -0
- package/dist/types/{components → markstream-angular/src/components}/MermaidBlockNode/MermaidBlockNode.component.d.ts +17 -0
- package/dist/types/{components → markstream-angular/src/components}/NestedRenderer/NestedRenderer.component.d.ts +1 -1
- package/dist/types/{components → markstream-angular/src/components}/NodeOutlet/NodeOutlet.component.d.ts +5 -3
- package/dist/types/{components → markstream-angular/src/components}/NodeRenderer/NodeRenderer.component.d.ts +10 -9
- package/dist/types/markstream-angular/src/components/TableNode/TableNode.component.d.ts +29 -0
- package/dist/types/markstream-angular/src/components/shared/diagram-height.d.ts +9 -0
- package/dist/types/{components → markstream-angular/src/components}/shared/node-helpers.d.ts +78 -13
- package/dist/types/{components → markstream-angular/src/components}/shared/node-outlet-helpers.d.ts +4 -1
- package/dist/types/{customComponents.d.ts → markstream-angular/src/customComponents.d.ts} +1 -1
- package/dist/types/{enhanceRenderedHtml.d.ts → markstream-angular/src/enhanceRenderedHtml.d.ts} +7 -5
- package/dist/types/{hydrateCustomTagContent.d.ts → markstream-angular/src/hydrateCustomTagContent.d.ts} +1 -1
- package/dist/types/markstream-angular/src/index.d.ts +73 -0
- package/dist/types/markstream-angular/src/optional/d2.d.ts +17 -0
- package/dist/types/markstream-angular/src/optional/infographic.d.ts +13 -0
- package/dist/types/markstream-angular/src/optional/katex.d.ts +9 -0
- package/dist/types/markstream-angular/src/optional/mermaid.d.ts +27 -0
- package/dist/types/markstream-angular/src/optional/monaco.d.ts +18 -0
- package/dist/types/{parseNestedMarkdownToNodes.d.ts → markstream-angular/src/parseNestedMarkdownToNodes.d.ts} +7 -2
- package/dist/types/{renderMarkdownHtml.d.ts → markstream-angular/src/renderMarkdownHtml.d.ts} +3 -1
- package/dist/types/markstream-angular/src/sanitizeHtmlContent.d.ts +2 -0
- package/dist/types/{types → markstream-angular/src/types}/monaco.d.ts +3 -3
- package/dist/types/markstream-angular/src/utils/normalizeKaTeXRenderInput.d.ts +1 -0
- package/dist/workers/mermaidParser.worker.js +8 -8
- package/package.json +3 -3
- package/dist/types/components/TableNode/TableNode.component.d.ts +0 -14
- package/dist/types/optional/d2.d.ts +0 -6
- package/dist/types/optional/infographic.d.ts +0 -1
- package/dist/types/optional/katex.d.ts +0 -6
- package/dist/types/optional/mermaid.d.ts +0 -6
- package/dist/types/optional/monaco.d.ts +0 -1
- package/dist/types/sanitizeHtmlContent.d.ts +0 -1
- /package/dist/types/{components → markstream-angular/src/components}/AdmonitionNode/AdmonitionNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/BlockquoteNode/BlockquoteNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/CheckboxNode/CheckboxNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/DefinitionListNode/DefinitionListNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/DynamicNodeHost/DynamicNodeHost.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/EmojiNode/EmojiNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/EmphasisNode/EmphasisNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/FallbackComponent/FallbackComponent.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/FootnoteAnchorNode/FootnoteAnchorNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/FootnoteNode/FootnoteNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/HardBreakNode/HardBreakNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/HeadingNode/HeadingNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/HighlightNode/HighlightNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/HtmlBlockNode/HtmlBlockNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/HtmlInlineNode/HtmlInlineNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/ImageNode/ImageNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/InlineCodeNode/InlineCodeNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/InsertNode/InsertNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/LinkNode/LinkNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/ListItemNode/ListItemNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/ListNode/ListNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/MathBlockNode/MathBlockNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/MathInlineNode/MathInlineNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/ParagraphNode/ParagraphNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/PreCodeNode/PreCodeNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/ReferenceNode/ReferenceNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/StrikethroughNode/StrikethroughNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/StrongNode/StrongNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/SubscriptNode/SubscriptNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/SuperscriptNode/SuperscriptNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/TextNode/TextNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/TextNode/streamingTextState.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/ThematicBreakNode/ThematicBreakNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/VmrContainerNode/VmrContainerNode.component.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/shared/render-window.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/shared/rich-block-helpers.d.ts +0 -0
- /package/dist/types/{components → markstream-angular/src/components}/shared/safe-attrs.directive.d.ts +0 -0
- /package/dist/types/{i18n → markstream-angular/src/i18n}/useSafeI18n.d.ts +0 -0
- /package/dist/types/{markstream-angular.component.d.ts → markstream-angular/src/markstream-angular.component.d.ts} +0 -0
- /package/dist/types/{sanitizeSvg.d.ts → markstream-angular/src/sanitizeSvg.d.ts} +0 -0
- /package/dist/types/{tooltip → markstream-angular/src/tooltip}/singletonTooltip.d.ts +0 -0
- /package/dist/types/{utils → markstream-angular/src/utils}/languageIcon.d.ts +0 -0
- /package/dist/types/{workers → markstream-angular/src/workers}/katexCdnWorker.d.ts +0 -0
- /package/dist/types/{workers → markstream-angular/src/workers}/katexRenderer.worker.d.ts +0 -0
- /package/dist/types/{workers → markstream-angular/src/workers}/katexWorkerClient.d.ts +0 -0
- /package/dist/types/{workers → markstream-angular/src/workers}/mermaidCdnWorker.d.ts +0 -0
- /package/dist/types/{workers → markstream-angular/src/workers}/mermaidParser.worker.d.ts +0 -0
- /package/dist/types/{workers → markstream-angular/src/workers}/mermaidWorkerClient.d.ts +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface InfographicInstance {
|
|
2
|
+
render: (source: string) => unknown;
|
|
3
|
+
destroy?: () => unknown;
|
|
4
|
+
on?: (event: string, handler: (payload: unknown) => void) => unknown;
|
|
5
|
+
}
|
|
6
|
+
export interface InfographicConstructor {
|
|
7
|
+
new (options: {
|
|
8
|
+
container: HTMLElement;
|
|
9
|
+
width?: string | number;
|
|
10
|
+
height?: string | number;
|
|
11
|
+
}): InfographicInstance;
|
|
12
|
+
}
|
|
13
|
+
export declare function getInfographic(): Promise<InfographicConstructor | null>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface KatexModule {
|
|
2
|
+
renderToString: (content: string, options?: Record<string, unknown>) => string;
|
|
3
|
+
}
|
|
4
|
+
export type KatexLoader = () => Promise<unknown> | unknown;
|
|
5
|
+
export declare function setKatexLoader(loader: KatexLoader | null): void;
|
|
6
|
+
export declare function enableKatex(loader?: KatexLoader): void;
|
|
7
|
+
export declare function disableKatex(): void;
|
|
8
|
+
export declare function isKatexEnabled(): boolean;
|
|
9
|
+
export declare function getKatex(): Promise<KatexModule | null>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type MermaidLoader = () => Promise<unknown> | unknown;
|
|
2
|
+
export interface MermaidModule {
|
|
3
|
+
render: (id: string, source: string) => Promise<MermaidRenderResult> | MermaidRenderResult;
|
|
4
|
+
parse?: (source: string) => Promise<unknown> | unknown;
|
|
5
|
+
initialize?: (config?: Record<string, unknown>) => unknown;
|
|
6
|
+
mermaidAPI?: {
|
|
7
|
+
render?: MermaidModule['render'];
|
|
8
|
+
parse?: MermaidModule['parse'];
|
|
9
|
+
initialize?: MermaidModule['initialize'];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export type MermaidRenderResult = string | {
|
|
13
|
+
svg?: string;
|
|
14
|
+
bindFunctions?: (element: Element) => unknown;
|
|
15
|
+
};
|
|
16
|
+
interface MermaidInitConfig extends Record<string, unknown> {
|
|
17
|
+
securityLevel?: unknown;
|
|
18
|
+
flowchart?: {
|
|
19
|
+
htmlLabels?: unknown;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare function setMermaidLoader(loader: MermaidLoader | null): void;
|
|
23
|
+
export declare function enableMermaid(loader?: MermaidLoader): void;
|
|
24
|
+
export declare function disableMermaid(): void;
|
|
25
|
+
export declare function isMermaidEnabled(): boolean;
|
|
26
|
+
export declare function getMermaid(initConfig?: MermaidInitConfig): Promise<MermaidModule | null>;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface MonacoRuntimeHelpers {
|
|
2
|
+
createEditor?: (container: HTMLElement, code: string, language: string) => Promise<unknown> | unknown;
|
|
3
|
+
createDiffEditor?: (container: HTMLElement, original: string, modified: string, language: string) => Promise<unknown> | unknown;
|
|
4
|
+
updateCode?: (code: string, language?: string) => Promise<unknown> | unknown;
|
|
5
|
+
updateDiff?: (original: string, modified: string, language?: string) => Promise<unknown> | unknown;
|
|
6
|
+
cleanupEditor?: () => unknown;
|
|
7
|
+
safeClean?: () => unknown;
|
|
8
|
+
setTheme?: (theme?: string | Record<string, unknown>) => Promise<unknown> | unknown;
|
|
9
|
+
getEditorView?: () => unknown;
|
|
10
|
+
getDiffEditorView?: () => unknown;
|
|
11
|
+
refreshDiffPresentation?: () => unknown;
|
|
12
|
+
}
|
|
13
|
+
export interface MonacoRuntimeModule {
|
|
14
|
+
useMonaco: (options?: Record<string, unknown>) => MonacoRuntimeHelpers;
|
|
15
|
+
preloadMonacoWorkers?: () => Promise<unknown> | unknown;
|
|
16
|
+
getOrCreateHighlighter?: (...args: unknown[]) => Promise<unknown> | unknown;
|
|
17
|
+
}
|
|
18
|
+
export declare function getUseMonaco(): Promise<MonacoRuntimeModule | null>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import { BaseNode, MarkdownIt, ParseOptions } from '
|
|
1
|
+
import { BaseNode, MarkdownIt, ParseOptions } from '../../markdown-parser/src/index.ts';
|
|
2
|
+
type NestedMarkdownSourceNode = BaseNode & {
|
|
3
|
+
children?: BaseNode[];
|
|
4
|
+
content?: string;
|
|
5
|
+
};
|
|
2
6
|
export interface NestedMarkdownNodesInput {
|
|
3
|
-
node?:
|
|
7
|
+
node?: NestedMarkdownSourceNode | null;
|
|
4
8
|
nodes?: readonly BaseNode[] | null;
|
|
5
9
|
content?: string | null;
|
|
6
10
|
}
|
|
@@ -12,3 +16,4 @@ export interface NestedMarkdownNodesOptions {
|
|
|
12
16
|
customMarkdownIt?: (markdown: MarkdownIt) => MarkdownIt;
|
|
13
17
|
}
|
|
14
18
|
export declare function parseNestedMarkdownToNodes(input: NestedMarkdownNodesInput, options?: NestedMarkdownNodesOptions): BaseNode[];
|
|
19
|
+
export {};
|
package/dist/types/{renderMarkdownHtml.d.ts → markstream-angular/src/renderMarkdownHtml.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseNode, ParsedNode, ParseOptions } from '
|
|
1
|
+
import { BaseNode, HtmlPolicy, ParsedNode, ParseOptions } from '../../markdown-parser/src/index.ts';
|
|
2
2
|
export type RenderableMarkdownNode = (ParsedNode | BaseNode) & Record<string, unknown>;
|
|
3
3
|
type NestedClassValue = string | readonly string[] | null | undefined;
|
|
4
4
|
export interface MarkstreamAngularRenderOptions {
|
|
@@ -8,11 +8,13 @@ export interface MarkstreamAngularRenderOptions {
|
|
|
8
8
|
parseOptions?: ParseOptions;
|
|
9
9
|
customHtmlTags?: readonly string[];
|
|
10
10
|
allowHtml?: boolean;
|
|
11
|
+
htmlPolicy?: HtmlPolicy;
|
|
11
12
|
}
|
|
12
13
|
export interface NestedMarkdownHtmlOptions {
|
|
13
14
|
cacheKey?: string;
|
|
14
15
|
customHtmlTags?: readonly string[];
|
|
15
16
|
allowHtml?: boolean;
|
|
17
|
+
htmlPolicy?: HtmlPolicy;
|
|
16
18
|
customNodeTag?: string;
|
|
17
19
|
customNodeClass?: NestedClassValue | ((node: RenderableMarkdownNode) => NestedClassValue);
|
|
18
20
|
}
|
|
@@ -7,7 +7,7 @@ export interface CodeBlockMonacoThemeObject {
|
|
|
7
7
|
[key: string]: unknown;
|
|
8
8
|
}
|
|
9
9
|
export type CodeBlockMonacoTheme = string | CodeBlockMonacoThemeObject;
|
|
10
|
-
export type CodeBlockMonacoLanguage = string | ((...args:
|
|
10
|
+
export type CodeBlockMonacoLanguage = string | ((...args: unknown[]) => unknown);
|
|
11
11
|
export interface CodeBlockDiffHideUnchangedRegionsOptions {
|
|
12
12
|
enabled?: boolean;
|
|
13
13
|
contextLineCount?: number;
|
|
@@ -60,6 +60,6 @@ export interface CodeBlockMonacoOptions {
|
|
|
60
60
|
diffHunkActionsOnHover?: boolean;
|
|
61
61
|
diffHunkHoverHideDelayMs?: number;
|
|
62
62
|
onDiffHunkAction?: (context: CodeBlockDiffHunkActionContext) => void | boolean | Promise<void | boolean>;
|
|
63
|
-
scrollbar?: Record<string,
|
|
64
|
-
[key: string]:
|
|
63
|
+
scrollbar?: Record<string, unknown>;
|
|
64
|
+
[key: string]: unknown;
|
|
65
65
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function normalizeKaTeXRenderInput(content: string): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import f from "mermaid";
|
|
2
|
-
f.initialize({ startOnLoad: !1, securityLevel: "
|
|
3
|
-
function
|
|
2
|
+
f.initialize({ startOnLoad: !1, securityLevel: "strict", flowchart: { htmlLabels: !1 } });
|
|
3
|
+
function u(r, t) {
|
|
4
4
|
const e = `%%{init: {"theme": "${t === "dark" ? "dark" : "default"}"}}%%
|
|
5
5
|
`;
|
|
6
6
|
return r.trimStart().startsWith("%%{") ? r : e + r;
|
|
@@ -15,7 +15,7 @@ function g(r) {
|
|
|
15
15
|
return -1;
|
|
16
16
|
}
|
|
17
17
|
async function l(r, t) {
|
|
18
|
-
const a =
|
|
18
|
+
const a = u(r, t), e = f;
|
|
19
19
|
if (typeof e.parse == "function")
|
|
20
20
|
return await e.parse(a), !0;
|
|
21
21
|
throw new Error("mermaid.parse not available in worker");
|
|
@@ -28,16 +28,16 @@ async function p(r, t) {
|
|
|
28
28
|
const n = a.slice(0, e + 1);
|
|
29
29
|
await l(n.join(`
|
|
30
30
|
`), t);
|
|
31
|
-
let
|
|
31
|
+
let s = e + 1, o = a.length, c = e + 1, d = 0;
|
|
32
32
|
const m = 12;
|
|
33
|
-
for (;
|
|
34
|
-
const i = Math.floor((
|
|
33
|
+
for (; s <= o && d < m; ) {
|
|
34
|
+
const i = Math.floor((s + o) / 2), h = [...n, ...a.slice(e + 1, i)].join(`
|
|
35
35
|
`);
|
|
36
36
|
d += 1;
|
|
37
37
|
try {
|
|
38
|
-
await l(
|
|
38
|
+
await l(h, t), c = i, s = i + 1;
|
|
39
39
|
} catch {
|
|
40
|
-
|
|
40
|
+
o = i - 1;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
return [...n, ...a.slice(e + 1, c)].join(`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markstream-angular",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.2-beta.
|
|
4
|
+
"version": "0.0.2-beta.10",
|
|
5
5
|
"description": "Experimental Angular Markdown renderer for Markstream, built on stream-markdown AST and a stable HTML baseline renderer.",
|
|
6
6
|
"author": "Simon He",
|
|
7
7
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@terrastruct/d2": ">=0.1.33",
|
|
48
48
|
"katex": ">=0.16.22",
|
|
49
49
|
"mermaid": ">=11",
|
|
50
|
-
"stream-monaco": ">=0.0.
|
|
50
|
+
"stream-monaco": ">=0.0.40"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"@antv/infographic": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@floating-ui/dom": "^1.7.6",
|
|
71
|
-
"stream-markdown-parser": "0.0.
|
|
71
|
+
"stream-markdown-parser": "0.0.93"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@types/node": "^18.19.130",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AngularRenderableNode, AngularRenderContext } from '../shared/node-helpers';
|
|
2
|
-
export declare class TableNodeComponent {
|
|
3
|
-
node: AngularRenderableNode;
|
|
4
|
-
context?: AngularRenderContext;
|
|
5
|
-
indexKey?: string;
|
|
6
|
-
get headerRow(): AngularRenderableNode;
|
|
7
|
-
get rows(): AngularRenderableNode[];
|
|
8
|
-
cellsFor(row: AngularRenderableNode): AngularRenderableNode[];
|
|
9
|
-
childrenFor(cell: AngularRenderableNode): AngularRenderableNode[];
|
|
10
|
-
alignment(cell: AngularRenderableNode): string;
|
|
11
|
-
trackRow: (index: number) => string;
|
|
12
|
-
trackCell: (index: number) => number;
|
|
13
|
-
cellPrefix(rowIndex: string | number, cellIndex: number): string;
|
|
14
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type D2Loader = () => Promise<any> | any;
|
|
2
|
-
export declare function setD2Loader(loader: D2Loader | null): void;
|
|
3
|
-
export declare function enableD2(loader?: D2Loader): void;
|
|
4
|
-
export declare function disableD2(): void;
|
|
5
|
-
export declare function isD2Enabled(): boolean;
|
|
6
|
-
export declare function getD2(): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getInfographic(): Promise<any>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type KatexLoader = () => Promise<any> | any;
|
|
2
|
-
export declare function setKatexLoader(loader: KatexLoader | null): void;
|
|
3
|
-
export declare function enableKatex(loader?: KatexLoader): void;
|
|
4
|
-
export declare function disableKatex(): void;
|
|
5
|
-
export declare function isKatexEnabled(): boolean;
|
|
6
|
-
export declare function getKatex(): Promise<any>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type MermaidLoader = () => Promise<any> | any;
|
|
2
|
-
export declare function setMermaidLoader(loader: MermaidLoader | null): void;
|
|
3
|
-
export declare function enableMermaid(loader?: MermaidLoader): void;
|
|
4
|
-
export declare function disableMermaid(): void;
|
|
5
|
-
export declare function isMermaidEnabled(): boolean;
|
|
6
|
-
export declare function getMermaid(initConfig?: Record<string, any>): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getUseMonaco(): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function sanitizeHtmlContent(content: string): string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/types/{components → markstream-angular/src/components}/shared/render-window.d.ts
RENAMED
|
File without changes
|
/package/dist/types/{components → markstream-angular/src/components}/shared/rich-block-helpers.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|