This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
3
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.d.ts
vendored
Normal file
3
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.d.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import type { ExternalDiagramDefinition } from '../../../diagram-api/types.js';
|
||||
declare const plugin: ExternalDiagramDefinition;
|
||||
export default plugin;
|
1
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.spec.d.ts
vendored
Normal file
1
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.spec.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
10
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts
vendored
Normal file
10
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
export function setConf(cnf: any): void;
|
||||
export function addVertices(vert: any, svgId: any, root: any, doc: any, diagObj: any, parentLookupDb: any, graph: any): Promise<any>;
|
||||
export function addEdges(edges: object, diagObj: any, graph: any, svg: any): any;
|
||||
export function getClasses(text: any, diagObj: any): Record<string, import('../../../diagram-api/types.js').DiagramStyleClassDef>;
|
||||
export function draw(text: any, id: any, _version: any, diagObj: any): Promise<void>;
|
||||
declare namespace _default {
|
||||
export { getClasses };
|
||||
export { draw };
|
||||
}
|
||||
export default _default;
|
10
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts
vendored
Normal file
10
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
import * as db from '../flowDb.js';
|
||||
export declare const diagram: {
|
||||
db: typeof db;
|
||||
renderer: {
|
||||
getClasses: (text: any, diagObj: any) => Record<string, import("../../../diagram-api/types.js").DiagramStyleClassDef>;
|
||||
draw: (text: any, id: any, _version: any, diagObj: any) => Promise<void>;
|
||||
};
|
||||
parser: any;
|
||||
styles: (options: import("./styles.js").FlowChartStyleOptions) => string;
|
||||
};
|
5
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts
vendored
Normal file
5
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
export interface TreeData {
|
||||
parentById: Record<string, string>;
|
||||
childrenById: Record<string, string[]>;
|
||||
}
|
||||
export declare const findCommonAncestor: (id1: string, id2: string, treeData: TreeData) => string;
|
1
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts
vendored
Normal file
1
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
19
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/styles.d.ts
vendored
Normal file
19
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/styles.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/** Returns the styles given options */
|
||||
export interface FlowChartStyleOptions {
|
||||
arrowheadColor: string;
|
||||
border2: string;
|
||||
clusterBkg: string;
|
||||
clusterBorder: string;
|
||||
edgeLabelBackground: string;
|
||||
fontFamily: string;
|
||||
lineColor: string;
|
||||
mainBkg: string;
|
||||
nodeBorder: string;
|
||||
nodeTextColor: string;
|
||||
tertiaryColor: string;
|
||||
textColor: string;
|
||||
titleColor: string;
|
||||
[key: string]: string;
|
||||
}
|
||||
declare const getStyles: (options: FlowChartStyleOptions) => string;
|
||||
export default getStyles;
|
9
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowChartShapes.d.ts
vendored
Normal file
9
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowChartShapes.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/** @param render */
|
||||
export function addToRender(render: any): void;
|
||||
/** @param addShape */
|
||||
export function addToRenderV2(addShape: any): void;
|
||||
declare namespace _default {
|
||||
export { addToRender };
|
||||
export { addToRenderV2 };
|
||||
}
|
||||
export default _default;
|
87
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDb.d.ts
vendored
Normal file
87
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDb.d.ts
vendored
Normal file
|
@ -0,0 +1,87 @@
|
|||
export function lookUpDomId(id: any): any;
|
||||
export function addVertex(_id: any, textObj: any, type: any, style: any, classes: any, dir: any, props?: {}): void;
|
||||
export function addSingleLink(_start: any, _end: any, type: any): void;
|
||||
export function addLink(_start: any, _end: any, type: any): void;
|
||||
export function updateLinkInterpolate(positions: any, interp: any): void;
|
||||
export function updateLink(positions: any, style: any): void;
|
||||
export function addClass(ids: any, style: any): void;
|
||||
export function setDirection(dir: any): void;
|
||||
export function setClass(ids: any, className: any): void;
|
||||
export function setLink(ids: any, linkStr: any, target: any): void;
|
||||
export function getTooltip(id: any): any;
|
||||
export function setClickEvent(ids: any, functionName: any, functionArgs: any): void;
|
||||
export function bindFunctions(element: any): void;
|
||||
export function getDirection(): any;
|
||||
export function getVertices(): {} | any | any;
|
||||
export function getEdges(): {} | any | any[];
|
||||
export function getClasses(): {} | any | any;
|
||||
export function clear(ver?: string): void;
|
||||
export function setGen(ver: any): void;
|
||||
export function defaultStyle(): string;
|
||||
export function addSubGraph(_id: any, list: any, _title: any): any;
|
||||
export function getDepthFirstPos(pos: any): any;
|
||||
export function indexNodes(): void;
|
||||
export function getSubGraphs(): any[];
|
||||
export function firstGraph(): boolean;
|
||||
export function destructLink(_str: any, _startStr: any): {
|
||||
type: string;
|
||||
stroke: string;
|
||||
};
|
||||
export namespace lex {
|
||||
export { firstGraph };
|
||||
}
|
||||
declare namespace _default {
|
||||
export function defaultConfig(): import("../../config.type.js").FlowchartDiagramConfig | undefined;
|
||||
export { setAccTitle };
|
||||
export { getAccTitle };
|
||||
export { getAccDescription };
|
||||
export { setAccDescription };
|
||||
export { addVertex };
|
||||
export { lookUpDomId };
|
||||
export { addLink };
|
||||
export { updateLinkInterpolate };
|
||||
export { updateLink };
|
||||
export { addClass };
|
||||
export { setDirection };
|
||||
export { setClass };
|
||||
export { setTooltip };
|
||||
export { getTooltip };
|
||||
export { setClickEvent };
|
||||
export { setLink };
|
||||
export { bindFunctions };
|
||||
export { getDirection };
|
||||
export { getVertices };
|
||||
export { getEdges };
|
||||
export { getClasses };
|
||||
export { clear };
|
||||
export { setGen };
|
||||
export { defaultStyle };
|
||||
export { addSubGraph };
|
||||
export { getDepthFirstPos };
|
||||
export { indexNodes };
|
||||
export { getSubGraphs };
|
||||
export { destructLink };
|
||||
export { lex };
|
||||
export { exists };
|
||||
export { makeUniq };
|
||||
export { setDiagramTitle };
|
||||
export { getDiagramTitle };
|
||||
}
|
||||
export default _default;
|
||||
import { setAccTitle } from '../common/commonDb.js';
|
||||
import { getAccTitle } from '../common/commonDb.js';
|
||||
import { getAccDescription } from '../common/commonDb.js';
|
||||
import { setAccDescription } from '../common/commonDb.js';
|
||||
declare function setTooltip(ids: any, tooltip: any): void;
|
||||
declare function exists(allSgs: any, _id: any): boolean;
|
||||
/**
|
||||
* Deletes an id from all subgraphs
|
||||
*
|
||||
* @param sg
|
||||
* @param allSubgraphs
|
||||
*/
|
||||
declare function makeUniq(sg: any, allSubgraphs: any): {
|
||||
nodes: any[];
|
||||
};
|
||||
import { setDiagramTitle } from '../common/commonDb.js';
|
||||
import { getDiagramTitle } from '../common/commonDb.js';
|
3
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector-v2.d.ts
vendored
Normal file
3
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector-v2.d.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
|
||||
declare const plugin: ExternalDiagramDefinition;
|
||||
export default plugin;
|
3
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector.d.ts
vendored
Normal file
3
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector.d.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
|
||||
declare const plugin: ExternalDiagramDefinition;
|
||||
export default plugin;
|
57
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts
vendored
Normal file
57
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts
vendored
Normal file
|
@ -0,0 +1,57 @@
|
|||
import type { MermaidConfig } from '../../config.type.js';
|
||||
export declare const diagram: {
|
||||
parser: any;
|
||||
db: {
|
||||
defaultConfig: () => import("../../config.type.js").FlowchartDiagramConfig | undefined;
|
||||
setAccTitle: (txt: string) => void;
|
||||
getAccTitle: () => string;
|
||||
getAccDescription: () => string;
|
||||
setAccDescription: (txt: string) => void;
|
||||
addVertex: (_id: any, textObj: any, type: any, style: any, classes: any, dir: any, props?: {}) => void;
|
||||
lookUpDomId: (id: any) => any;
|
||||
addLink: (_start: any, _end: any, type: any) => void;
|
||||
updateLinkInterpolate: (positions: any, interp: any) => void;
|
||||
updateLink: (positions: any, style: any) => void;
|
||||
addClass: (ids: any, style: any) => void;
|
||||
setDirection: (dir: any) => void;
|
||||
setClass: (ids: any, className: any) => void;
|
||||
setTooltip: (ids: any, tooltip: any) => void;
|
||||
getTooltip: (id: any) => any;
|
||||
setClickEvent: (ids: any, functionName: any, functionArgs: any) => void;
|
||||
setLink: (ids: any, linkStr: any, target: any) => void;
|
||||
bindFunctions: (element: any) => void;
|
||||
getDirection: () => any;
|
||||
getVertices: () => any;
|
||||
getEdges: () => any;
|
||||
getClasses: () => any;
|
||||
clear: (ver?: string) => void;
|
||||
setGen: (ver: any) => void;
|
||||
defaultStyle: () => string;
|
||||
addSubGraph: (_id: any, list: any, _title: any) => any;
|
||||
getDepthFirstPos: (pos: any) => any;
|
||||
indexNodes: () => void;
|
||||
getSubGraphs: () => any[];
|
||||
destructLink: (_str: any, _startStr: any) => {
|
||||
type: string;
|
||||
stroke: string;
|
||||
};
|
||||
lex: {
|
||||
firstGraph: () => boolean;
|
||||
};
|
||||
exists: (allSgs: any, _id: any) => boolean;
|
||||
makeUniq: (sg: any, allSubgraphs: any) => {
|
||||
nodes: any[];
|
||||
};
|
||||
setDiagramTitle: (txt: string) => void;
|
||||
getDiagramTitle: () => string;
|
||||
};
|
||||
renderer: {
|
||||
setConf: (cnf: any) => void;
|
||||
addVertices: (vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any) => Promise<void>;
|
||||
addEdges: (edges: object, g: object, diagObj: any) => Promise<void>;
|
||||
getClasses: (text: any, diagObj: any) => Record<string, import("../../diagram-api/types.js").DiagramStyleClassDef>;
|
||||
draw: (text: any, id: any, _version: any, diagObj: any) => Promise<void>;
|
||||
};
|
||||
styles: (options: import("./styles.js").FlowChartStyleOptions) => string;
|
||||
init: (cnf: MermaidConfig) => void;
|
||||
};
|
57
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram.d.ts
vendored
Normal file
57
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram.d.ts
vendored
Normal file
|
@ -0,0 +1,57 @@
|
|||
import type { MermaidConfig } from '../../config.type.js';
|
||||
export declare const diagram: {
|
||||
parser: any;
|
||||
db: {
|
||||
defaultConfig: () => import("../../config.type.js").FlowchartDiagramConfig | undefined;
|
||||
setAccTitle: (txt: string) => void;
|
||||
getAccTitle: () => string;
|
||||
getAccDescription: () => string;
|
||||
setAccDescription: (txt: string) => void;
|
||||
addVertex: (_id: any, textObj: any, type: any, style: any, classes: any, dir: any, props?: {}) => void;
|
||||
lookUpDomId: (id: any) => any;
|
||||
addLink: (_start: any, _end: any, type: any) => void;
|
||||
updateLinkInterpolate: (positions: any, interp: any) => void;
|
||||
updateLink: (positions: any, style: any) => void;
|
||||
addClass: (ids: any, style: any) => void;
|
||||
setDirection: (dir: any) => void;
|
||||
setClass: (ids: any, className: any) => void;
|
||||
setTooltip: (ids: any, tooltip: any) => void;
|
||||
getTooltip: (id: any) => any;
|
||||
setClickEvent: (ids: any, functionName: any, functionArgs: any) => void;
|
||||
setLink: (ids: any, linkStr: any, target: any) => void;
|
||||
bindFunctions: (element: any) => void;
|
||||
getDirection: () => any;
|
||||
getVertices: () => any;
|
||||
getEdges: () => any;
|
||||
getClasses: () => any;
|
||||
clear: (ver?: string) => void;
|
||||
setGen: (ver: any) => void;
|
||||
defaultStyle: () => string;
|
||||
addSubGraph: (_id: any, list: any, _title: any) => any;
|
||||
getDepthFirstPos: (pos: any) => any;
|
||||
indexNodes: () => void;
|
||||
getSubGraphs: () => any[];
|
||||
destructLink: (_str: any, _startStr: any) => {
|
||||
type: string;
|
||||
stroke: string;
|
||||
};
|
||||
lex: {
|
||||
firstGraph: () => boolean;
|
||||
};
|
||||
exists: (allSgs: any, _id: any) => boolean;
|
||||
makeUniq: (sg: any, allSubgraphs: any) => {
|
||||
nodes: any[];
|
||||
};
|
||||
setDiagramTitle: (txt: string) => void;
|
||||
getDiagramTitle: () => string;
|
||||
};
|
||||
renderer: {
|
||||
setConf: (cnf: any) => void;
|
||||
addVertices: (vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any) => Promise<void>;
|
||||
addEdges: (edges: object, g: object, diagObj: any) => Promise<void>;
|
||||
getClasses: (text: any, diagObj: any) => Record<string, import("../../diagram-api/types.js").DiagramStyleClassDef>;
|
||||
draw: (text: any, id: any, _version: any, diagObj: any) => Promise<void>;
|
||||
};
|
||||
styles: (options: import("./styles.js").FlowChartStyleOptions) => string;
|
||||
init: (cnf: MermaidConfig) => void;
|
||||
};
|
13
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts
vendored
Normal file
13
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
export function setConf(cnf: any): void;
|
||||
export function addVertices(vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any): Promise<void>;
|
||||
export function addEdges(edges: object, g: object, diagObj: any): Promise<void>;
|
||||
export function getClasses(text: any, diagObj: any): Record<string, import('../../diagram-api/types.js').DiagramStyleClassDef>;
|
||||
export function draw(text: any, id: any, _version: any, diagObj: any): Promise<void>;
|
||||
declare namespace _default {
|
||||
export { setConf };
|
||||
export { addVertices };
|
||||
export { addEdges };
|
||||
export { getClasses };
|
||||
export { draw };
|
||||
}
|
||||
export default _default;
|
13
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer.d.ts
vendored
Normal file
13
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
export function setConf(cnf: any): void;
|
||||
export function addVertices(vert: any, g: any, svgId: any, root: any, _doc: any, diagObj: any): Promise<void>;
|
||||
export function addEdges(edges: object, g: object, diagObj: any): Promise<void>;
|
||||
export function getClasses(text: any, diagObj: any): Record<string, import('../../diagram-api/types.js').DiagramStyleClassDef>;
|
||||
export function draw(text: any, id: any, _version: any, diagObj: any): Promise<void>;
|
||||
declare namespace _default {
|
||||
export { setConf };
|
||||
export { addVertices };
|
||||
export { addEdges };
|
||||
export { getClasses };
|
||||
export { draw };
|
||||
}
|
||||
export default _default;
|
18
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/styles.d.ts
vendored
Normal file
18
themes/blowfish/assets/lib/mermaid/diagrams/flowchart/styles.d.ts
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/** Returns the styles given options */
|
||||
export interface FlowChartStyleOptions {
|
||||
arrowheadColor: string;
|
||||
border2: string;
|
||||
clusterBkg: string;
|
||||
clusterBorder: string;
|
||||
edgeLabelBackground: string;
|
||||
fontFamily: string;
|
||||
lineColor: string;
|
||||
mainBkg: string;
|
||||
nodeBorder: string;
|
||||
nodeTextColor: string;
|
||||
tertiaryColor: string;
|
||||
textColor: string;
|
||||
titleColor: string;
|
||||
}
|
||||
declare const getStyles: (options: FlowChartStyleOptions) => string;
|
||||
export default getStyles;
|
Loading…
Add table
Add a link
Reference in a new issue