This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
1
themes/blowfish/assets/lib/mermaid/diagrams/sankey/parser/sankey.spec.d.ts
vendored
Normal file
1
themes/blowfish/assets/lib/mermaid/diagrams/sankey/parser/sankey.spec.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
36
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDB.d.ts
vendored
Normal file
36
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDB.d.ts
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
declare class SankeyLink {
|
||||
source: SankeyNode;
|
||||
target: SankeyNode;
|
||||
value: number;
|
||||
constructor(source: SankeyNode, target: SankeyNode, value?: number);
|
||||
}
|
||||
declare class SankeyNode {
|
||||
ID: string;
|
||||
constructor(ID: string);
|
||||
}
|
||||
declare const _default: {
|
||||
nodesMap: Record<string, SankeyNode>;
|
||||
getConfig: () => import("../../config.type.js").SankeyDiagramConfig | undefined;
|
||||
getNodes: () => SankeyNode[];
|
||||
getLinks: () => SankeyLink[];
|
||||
getGraph: () => {
|
||||
nodes: {
|
||||
id: string;
|
||||
}[];
|
||||
links: {
|
||||
source: string;
|
||||
target: string;
|
||||
value: number;
|
||||
}[];
|
||||
};
|
||||
addLink: (source: SankeyNode, target: SankeyNode, value: number) => void;
|
||||
findOrCreateNode: (ID: string) => SankeyNode;
|
||||
getAccTitle: () => string;
|
||||
setAccTitle: (txt: string) => void;
|
||||
getAccDescription: () => string;
|
||||
setAccDescription: (txt: string) => void;
|
||||
getDiagramTitle: () => string;
|
||||
setDiagramTitle: (txt: string) => void;
|
||||
clear: () => void;
|
||||
};
|
||||
export default _default;
|
3
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDetector.d.ts
vendored
Normal file
3
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDetector.d.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
|
||||
declare const plugin: ExternalDiagramDefinition;
|
||||
export default plugin;
|
2
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDiagram.d.ts
vendored
Normal file
2
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDiagram.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
import type { DiagramDefinition } from '../../diagram-api/types.js';
|
||||
export declare const diagram: DiagramDefinition;
|
14
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyRenderer.d.ts
vendored
Normal file
14
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyRenderer.d.ts
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
import type { Diagram } from '../../Diagram.js';
|
||||
/**
|
||||
* Draws Sankey diagram.
|
||||
*
|
||||
* @param text - The text of the diagram
|
||||
* @param id - The id of the diagram which will be used as a DOM element id¨
|
||||
* @param _version - Mermaid version from package.json
|
||||
* @param diagObj - A standard diagram containing the db and the text and type etc of the diagram
|
||||
*/
|
||||
export declare const draw: (text: string, id: string, _version: string, diagObj: Diagram) => void;
|
||||
declare const _default: {
|
||||
draw: (text: string, id: string, _version: string, diagObj: Diagram) => void;
|
||||
};
|
||||
export default _default;
|
1
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyUtils.d.ts
vendored
Normal file
1
themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyUtils.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export declare const prepareTextForParsing: (text: string) => string;
|
Loading…
Add table
Add a link
Reference in a new issue