summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/diagrams
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/diagrams')
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/blockDB.d.ts54
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/blockDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/blockDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/blockRenderer.d.ts15
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/blockTypes.d.ts36
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/blockUtils.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/layout.d.ts13
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/layout.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/parser/block.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/renderHelpers.d.ts10
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/block/styles.d.ts18
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Db.d.ts127
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Detector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Diagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Renderer.d.ts12
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/c4/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/c4/svgDraw.d.ts36
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classDb.d.ts144
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classDetector-V2.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram-v2.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classRenderer-v2.d.ts57
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classRenderer.d.ts5
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classTypes.d.ts78
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/classTypes.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/class/svgDraw.d.ts25
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/common/common.d.ts110
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/common/common.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/common/commonDb.d.ts7
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/common/commonTypes.d.ts51
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/common/svgDrawCommon.d.ts15
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/er/erDb.d.ts49
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/er/erDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/er/erDiagram.d.ts34
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/er/erMarkers.d.ts24
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts19
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/er/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/error/errorDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/error/errorDiagram.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/error/errorRenderer.d.ts12
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/error/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts10
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts10
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts5
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/styles.d.ts19
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowChartShapes.d.ts9
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDb.d.ts87
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector-v2.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts57
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram.d.ts57
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts13
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer.d.ts13
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/styles.d.ts18
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.d.ts106
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttRenderer.d.ts7
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/gantt/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphAst.d.ts61
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphRenderer.d.ts5
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/git/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/info/info.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/info/infoDb.d.ts5
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/info/infoDetector.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/info/infoDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/info/infoRenderer.d.ts4
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/info/infoTypes.d.ts9
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/info/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/mindmap/detector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmap-definition.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmap.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapDb.d.ts30
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapRenderer.d.ts21
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapTypes.d.ts20
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/mindmap/styles.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/mindmap/svgDraw.d.ts13
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/pie/pie.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDb.d.ts6
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDetector.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/pie/pieRenderer.d.ts13
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/pie/pieStyles.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/pie/pieTypes.d.ts53
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/pie/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/parser/quadrant.jison.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantBuilder.d.ts118
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDb.d.ts38
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantRenderer.d.ts6
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDb.d.ts70
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementMarkers.d.ts10
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementRenderer.d.ts7
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/requirement/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sankey/parser/sankey.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDB.d.ts36
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyRenderer.d.ts14
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyUtils.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDb.d.ts153
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceRenderer.d.ts202
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sequence/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/sequence/svgDraw.d.ts73
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/id-cache.d.ts11
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/shapes.d.ts14
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/stateCommon.d.ts22
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/stateDb.d.ts91
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/stateDetector-V2.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/stateDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/stateDiagram-v2.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/stateDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/stateRenderer-v2.d.ts20
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/stateRenderer.d.ts7
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/state/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/timeline/detector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/timeline/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts46
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/timeline/timeline-definition.d.ts10
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/timeline/timelineDb.d.ts20
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/timeline/timelineRenderer.d.ts19
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDb.d.ts30
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyRenderer.d.ts30
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/user-journey/styles.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/user-journey/svgDraw.d.ts20
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/bandAxis.d.ts12
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/baseAxis.d.ts38
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/index.d.ts12
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts11
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/chartTitle.d.ts16
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/barPlot.d.ts12
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/index.d.ts20
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/linePlot.d.ts11
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/index.d.ts5
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/interfaces.d.ts132
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/orchestrator.d.ts12
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts10
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/parser/xychart.jison.spec.d.ts1
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts40
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDetector.d.ts3
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDiagram.d.ts2
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartRenderer.d.ts6
159 files changed, 0 insertions, 3159 deletions
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDB.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDB.d.ts
deleted file mode 100644
index 2db398e..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDB.d.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-import type { DiagramDB } from '../../diagram-api/types.js';
-import type { BlockConfig, Block, ClassDef } from './blockTypes.js';
-/**
- * Called when the parser comes across a (style) class definition
- * @example classDef my-style fill:#f96;
- *
- * @param id - the id of this (style) class
- * @param styleAttributes - the string with 1 or more style attributes (each separated by a comma)
- */
-export declare const addStyleClass: (id: string, styleAttributes?: string) => void;
-/**
- * Called when the parser comes across a style definition
- * @example style my-block-id fill:#f96;
- *
- * @param id - the id of the block to style
- * @param styles - the string with 1 or more style attributes (each separated by a comma)
- */
-export declare const addStyle2Node: (id: string, styles?: string) => void;
-/**
- * Add a CSS/style class to the block with the given id.
- * If the block isn't already in the list of known blocks, add it.
- * Might be called by parser when a CSS/style class should be applied to a block
- *
- * @param itemIds - The id or a list of ids of the item(s) to apply the css class to
- * @param cssClassName - CSS class name
- */
-export declare const setCssClass: (itemIds: string, cssClassName: string) => void;
-export declare function typeStr2Type(typeStr: string): "circle" | "round" | "square" | "diamond" | "hexagon" | "rect_left_inv_arrow" | "lean_right" | "lean_left" | "trapezoid" | "inv_trapezoid" | "stadium" | "subroutine" | "cylinder" | "na" | "block_arrow" | "doublecircle";
-export declare function edgeTypeStr2Type(typeStr: string): string;
-export declare function edgeStrToEdgeData(typeStr: string): string;
-export declare const generateId: () => string;
-/**
- * Return all of the style classes
- */
-export declare const getClasses: () => Record<string, ClassDef>;
-declare const db: {
- readonly getConfig: () => BlockConfig | undefined;
- readonly typeStr2Type: typeof typeStr2Type;
- readonly edgeTypeStr2Type: typeof edgeTypeStr2Type;
- readonly edgeStrToEdgeData: typeof edgeStrToEdgeData;
- readonly getLogger: () => Console;
- readonly getBlocksFlat: () => Block[];
- readonly getBlocks: () => Block[];
- readonly getEdges: () => Block[];
- readonly setHierarchy: (block: Block[]) => void;
- readonly getBlock: (id: string) => Block;
- readonly setBlock: (block: Block) => void;
- readonly getColumns: (blockId: string) => number;
- readonly getClasses: () => Record<string, ClassDef>;
- readonly clear: () => void;
- readonly generateId: () => string;
-};
-export type BlockDB = typeof db & DiagramDB;
-export default db;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/blockRenderer.d.ts
deleted file mode 100644
index 1220b0f..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockRenderer.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { Diagram } from '../../Diagram.js';
-/**
- * Returns the all the styles from classDef statements in the graph definition.
- *
- * @param text - The text with the classes
- * @param diagObj - The diagram object
- * @returns ClassDef - The styles
- */
-export declare const getClasses: (text: any, diagObj: any) => any;
-export declare const draw: (text: string, id: string, _version: string, diagObj: Diagram) => Promise<void>;
-declare const _default: {
- draw: (text: string, id: string, _version: string, diagObj: Diagram) => Promise<void>;
- getClasses: (text: any, diagObj: any) => any;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockTypes.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/blockTypes.d.ts
deleted file mode 100644
index f43189e..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockTypes.d.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-export type { BlockDiagramConfig as BlockConfig } from '../../config.type.js';
-export type BlockType = 'na' | 'column-setting' | 'edge' | 'round' | 'block_arrow' | 'space' | 'square' | 'diamond' | 'hexagon' | 'odd' | 'lean_right' | 'lean_left' | 'trapezoid' | 'inv_trapezoid' | 'rect_left_inv_arrow' | 'odd_right' | 'circle' | 'ellipse' | 'stadium' | 'subroutine' | 'cylinder' | 'group' | 'doublecircle' | 'classDef' | 'applyClass' | 'applyStyles' | 'composite';
-export interface Block {
- start?: string;
- end?: string;
- arrowTypeEnd?: string;
- arrowTypeStart?: string;
- width?: number;
- id: string;
- label?: string;
- intersect?: any;
- parent?: Block;
- type?: BlockType;
- children: Block[];
- size?: {
- width: number;
- height: number;
- x: number;
- y: number;
- };
- node?: any;
- columns?: number;
- classes?: string[];
- directions?: string[];
- css?: string;
- styleClass?: string;
- styles?: string[];
- stylesStr?: string;
- widthInColumns?: number;
-}
-export interface ClassDef {
- id: string;
- textStyles: string[];
- styles: string[];
-}
-export type Direction = 'up' | 'down' | 'left' | 'right' | 'x' | 'y';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockUtils.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/blockUtils.d.ts
deleted file mode 100644
index e9448d4..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/blockUtils.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const prepareTextForParsing: (text: string) => string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/layout.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/layout.d.ts
deleted file mode 100644
index 1a2c54e..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/layout.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { BlockDB } from './blockDB.js';
-interface BlockPosition {
- px: number;
- py: number;
-}
-export declare function calculateBlockPosition(columns: number, position: number): BlockPosition;
-export declare function layout(db: BlockDB): {
- x: number;
- y: number;
- width: number;
- height: number;
-} | undefined;
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/layout.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/layout.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/layout.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/parser/block.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/parser/block.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/parser/block.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/renderHelpers.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/renderHelpers.d.ts
deleted file mode 100644
index 8157bdf..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/renderHelpers.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import type { Block } from './blockTypes.js';
-import type { BlockDB } from './blockDB.js';
-declare function calculateBlockSize(elem: d3.Selection<SVGGElement, unknown, HTMLElement, any>, block: any, db: any): Promise<void>;
-type ActionFun = typeof calculateBlockSize;
-export declare function insertBlockPositioned(elem: any, block: Block, db: any): Promise<void>;
-export declare function performOperations(elem: d3.Selection<SVGGElement, unknown, HTMLElement, any>, blocks: Block[], db: BlockDB, operation: ActionFun): Promise<void>;
-export declare function calculateBlockSizes(elem: any, blocks: Block[], db: BlockDB): Promise<void>;
-export declare function insertBlocks(elem: d3.Selection<SVGGElement, unknown, HTMLElement, any>, blocks: Block[], db: BlockDB): Promise<void>;
-export declare function insertEdges(elem: any, edges: Block[], blocks: Block[], db: BlockDB, id: string): Promise<void>;
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/block/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/block/styles.d.ts
deleted file mode 100644
index 14b3769..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/block/styles.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/** Returns the styles given options */
-export interface BlockChartStyleOptions {
- 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: BlockChartStyleOptions) => string;
-export default getStyles;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Db.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Db.d.ts
deleted file mode 100644
index 23d8348..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Db.d.ts
+++ /dev/null
@@ -1,127 +0,0 @@
-export function getC4Type(): any;
-export function setC4Type(c4TypeParam: any): void;
-export function addRel(type: any, from: any, to: any, label: any, techn: any, descr: any, sprite: any, tags: any, link: any): void;
-export function addPersonOrSystem(typeC4Shape: any, alias: any, label: any, descr: any, sprite: any, tags: any, link: any): void;
-export function addContainer(typeC4Shape: any, alias: any, label: any, techn: any, descr: any, sprite: any, tags: any, link: any): void;
-export function addComponent(typeC4Shape: any, alias: any, label: any, techn: any, descr: any, sprite: any, tags: any, link: any): void;
-export function addPersonOrSystemBoundary(alias: any, label: any, type: any, tags: any, link: any): void;
-export function addContainerBoundary(alias: any, label: any, type: any, tags: any, link: any): void;
-export function addDeploymentNode(nodeType: any, alias: any, label: any, type: any, descr: any, sprite: any, tags: any, link: any): void;
-export function popBoundaryParseStack(): void;
-export function updateElStyle(typeC4Shape: any, elementName: any, bgColor: any, fontColor: any, borderColor: any, shadowing: any, shape: any, sprite: any, techn: any, legendText: any, legendSprite: any): void;
-export function updateRelStyle(typeC4Shape: any, from: any, to: any, textColor: any, lineColor: any, offsetX: any, offsetY: any): void;
-export function updateLayoutConfig(typeC4Shape: any, c4ShapeInRowParam: any, c4BoundaryInRowParam: any): void;
-export function getC4ShapeInRow(): number;
-export function getC4BoundaryInRow(): number;
-export function getCurrentBoundaryParse(): string;
-export function getParentBoundaryParse(): string;
-export function getC4ShapeArray(parentBoundary: any): any[];
-export function getC4Shape(alias: any): any;
-export function getC4ShapeKeys(parentBoundary: any): string[];
-export function getBoundaries(parentBoundary: any): {
- alias: string;
- label: {
- text: string;
- };
- type: {
- text: string;
- };
- tags: null;
- link: null;
- parentBoundary: string;
-}[];
-export function getBoundarys(parentBoundary: any): {
- alias: string;
- label: {
- text: string;
- };
- type: {
- text: string;
- };
- tags: null;
- link: null;
- parentBoundary: string;
-}[];
-export function getRels(): any[];
-export function getTitle(): string;
-export function setWrap(wrapSetting: any): void;
-export function autoWrap(): boolean;
-export function clear(): void;
-export namespace LINETYPE {
- let SOLID: number;
- let DOTTED: number;
- let NOTE: number;
- let SOLID_CROSS: number;
- let DOTTED_CROSS: number;
- let SOLID_OPEN: number;
- let DOTTED_OPEN: number;
- let LOOP_START: number;
- let LOOP_END: number;
- let ALT_START: number;
- let ALT_ELSE: number;
- let ALT_END: number;
- let OPT_START: number;
- let OPT_END: number;
- let ACTIVE_START: number;
- let ACTIVE_END: number;
- let PAR_START: number;
- let PAR_AND: number;
- let PAR_END: number;
- let RECT_START: number;
- let RECT_END: number;
- let SOLID_POINT: number;
- let DOTTED_POINT: number;
-}
-export namespace ARROWTYPE {
- let FILLED: number;
- let OPEN: number;
-}
-export namespace PLACEMENT {
- let LEFTOF: number;
- let RIGHTOF: number;
- let OVER: number;
-}
-export function setTitle(txt: any): void;
-declare namespace _default {
- export { addPersonOrSystem };
- export { addPersonOrSystemBoundary };
- export { addContainer };
- export { addContainerBoundary };
- export { addComponent };
- export { addDeploymentNode };
- export { popBoundaryParseStack };
- export { addRel };
- export { updateElStyle };
- export { updateRelStyle };
- export { updateLayoutConfig };
- export { autoWrap };
- export { setWrap };
- export { getC4ShapeArray };
- export { getC4Shape };
- export { getC4ShapeKeys };
- export { getBoundaries };
- export { getBoundarys };
- export { getCurrentBoundaryParse };
- export { getParentBoundaryParse };
- export { getRels };
- export { getTitle };
- export { getC4Type };
- export { getC4ShapeInRow };
- export { getC4BoundaryInRow };
- export { setAccTitle };
- export { getAccTitle };
- export { getAccDescription };
- export { setAccDescription };
- export function getConfig(): import("../../config.type.js").C4DiagramConfig | undefined;
- export { clear };
- export { LINETYPE };
- export { ARROWTYPE };
- export { PLACEMENT };
- export { setTitle };
- export { setC4Type };
-}
-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';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Detector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Detector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Detector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Diagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Diagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Diagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Renderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Renderer.d.ts
deleted file mode 100644
index 5101d04..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/c4/c4Renderer.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-export function setConf(cnf: any): void;
-export function drawBoundary(diagram: any, boundary: any, bounds: any): void;
-export function drawC4ShapeArray(currentBounds: any, diagram: any, c4ShapeArray: any, c4ShapeKeys: any): void;
-export function drawRels(diagram: any, rels: any, getC4ShapeObj: any, diagObj: any): void;
-export function draw(_text: any, id: any, _version: any, diagObj: any): void;
-declare namespace _default {
- export { drawC4ShapeArray as drawPersonOrSystemArray };
- export { drawBoundary };
- export { setConf };
- export { draw };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/c4/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/c4/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/c4/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/c4/svgDraw.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/c4/svgDraw.d.ts
deleted file mode 100644
index ab7e85f..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/c4/svgDraw.d.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-export function drawRect(elem: any, rectData: any): import("../common/commonTypes.js").D3RectElement;
-export function drawImage(elem: any, width: any, height: any, x: any, y: any, link: any): void;
-export function drawRels(elem: any, rels: any, conf: any): void;
-export function drawC4Shape(elem: any, c4Shape: any, conf: any): any;
-export function insertDatabaseIcon(elem: any): void;
-export function insertComputerIcon(elem: any): void;
-export function insertClockIcon(elem: any): void;
-export function insertArrowHead(elem: any): void;
-export function insertArrowEnd(elem: any): void;
-export function insertArrowFilledHead(elem: any): void;
-export function insertDynamicNumber(elem: any): void;
-export function insertArrowCrossHead(elem: any): void;
-declare namespace _default {
- export { drawRect };
- export { drawBoundary };
- export { drawC4Shape };
- export { drawRels };
- export { drawImage };
- export { insertArrowHead };
- export { insertArrowEnd };
- export { insertArrowFilledHead };
- export { insertDynamicNumber };
- export { insertArrowCrossHead };
- export { insertDatabaseIcon };
- export { insertComputerIcon };
- export { insertClockIcon };
-}
-export default _default;
-/**
- * Draws an boundary in the diagram
- *
- * @param {any} elem - The diagram we'll draw to.
- * @param {any} boundary - The boundary to draw.
- * @param {any} conf - DrawText implementation discriminator object
- */
-declare function drawBoundary(elem: any, boundary: any, conf: any): void;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classDb.d.ts
deleted file mode 100644
index 16a80bd..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDb.d.ts
+++ /dev/null
@@ -1,144 +0,0 @@
-import type { ClassRelation, ClassNode, ClassNote, ClassMap, NamespaceMap, NamespaceNode } from './classTypes.js';
-export declare const setClassLabel: (_id: string, label: string) => void;
-/**
- * Function called by parser when a node definition has been found.
- *
- * @param id - Id of the class to add
- * @public
- */
-export declare const addClass: (_id: string) => void;
-/**
- * Function to lookup domId from id in the graph definition.
- *
- * @param id - class ID to lookup
- * @public
- */
-export declare const lookUpDomId: (_id: string) => string;
-export declare const clear: () => void;
-export declare const getClass: (id: string) => ClassNode;
-export declare const getClasses: () => ClassMap;
-export declare const getRelations: () => ClassRelation[];
-export declare const getNotes: () => ClassNote[];
-export declare const addRelation: (relation: ClassRelation) => void;
-/**
- * Adds an annotation to the specified class Annotations mark special properties of the given type
- * (like 'interface' or 'service')
- *
- * @param className - The class name
- * @param annotation - The name of the annotation without any brackets
- * @public
- */
-export declare const addAnnotation: (className: string, annotation: string) => void;
-/**
- * Adds a member to the specified class
- *
- * @param className - The class name
- * @param member - The full name of the member. If the member is enclosed in `<<brackets>>` it is
- * treated as an annotation If the member is ending with a closing bracket ) it is treated as a
- * method Otherwise the member will be treated as a normal property
- * @public
- */
-export declare const addMember: (className: string, member: string) => void;
-export declare const addMembers: (className: string, members: string[]) => void;
-export declare const addNote: (text: string, className: string) => void;
-export declare const cleanupLabel: (label: string) => string;
-/**
- * Called by parser when assigning cssClass to a class
- *
- * @param ids - Comma separated list of ids
- * @param className - Class to add
- */
-export declare const setCssClass: (ids: string, className: string) => void;
-export declare const getTooltip: (id: string, namespace?: string) => string | undefined;
-/**
- * Called by parser when a link is found. Adds the URL to the vertex data.
- *
- * @param ids - Comma separated list of ids
- * @param linkStr - URL to create a link for
- * @param target - Target of the link, _blank by default as originally defined in the svgDraw.js file
- */
-export declare const setLink: (ids: string, linkStr: string, target: string) => void;
-/**
- * Called by parser when a click definition is found. Registers an event handler.
- *
- * @param ids - Comma separated list of ids
- * @param functionName - Function to be called on click
- * @param functionArgs - Function args the function should be called with
- */
-export declare const setClickEvent: (ids: string, functionName: string, functionArgs: string) => void;
-export declare const bindFunctions: (element: Element) => void;
-export declare const lineType: {
- LINE: number;
- DOTTED_LINE: number;
-};
-export declare const relationType: {
- AGGREGATION: number;
- EXTENSION: number;
- COMPOSITION: number;
- DEPENDENCY: number;
- LOLLIPOP: number;
-};
-/**
- * Function called by parser when a namespace definition has been found.
- *
- * @param id - Id of the namespace to add
- * @public
- */
-export declare const addNamespace: (id: string) => void;
-/**
- * Function called by parser when a namespace definition has been found.
- *
- * @param id - Id of the namespace to add
- * @param classNames - Ids of the class to add
- * @public
- */
-export declare const addClassesToNamespace: (id: string, classNames: string[]) => void;
-export declare const setCssStyle: (id: string, styles: string[]) => void;
-declare const _default: {
- setAccTitle: (txt: string) => void;
- getAccTitle: () => string;
- getAccDescription: () => string;
- setAccDescription: (txt: string) => void;
- getConfig: () => import("../../config.type.js").ClassDiagramConfig | undefined;
- addClass: (_id: string) => void;
- bindFunctions: (element: Element) => void;
- clear: () => void;
- getClass: (id: string) => ClassNode;
- getClasses: () => ClassMap;
- getNotes: () => ClassNote[];
- addAnnotation: (className: string, annotation: string) => void;
- addNote: (text: string, className: string) => void;
- getRelations: () => ClassRelation[];
- addRelation: (relation: ClassRelation) => void;
- getDirection: () => string;
- setDirection: (dir: string) => void;
- addMember: (className: string, member: string) => void;
- addMembers: (className: string, members: string[]) => void;
- cleanupLabel: (label: string) => string;
- lineType: {
- LINE: number;
- DOTTED_LINE: number;
- };
- relationType: {
- AGGREGATION: number;
- EXTENSION: number;
- COMPOSITION: number;
- DEPENDENCY: number;
- LOLLIPOP: number;
- };
- setClickEvent: (ids: string, functionName: string, functionArgs: string) => void;
- setCssClass: (ids: string, className: string) => void;
- setLink: (ids: string, linkStr: string, target: string) => void;
- getTooltip: (id: string, namespace?: string | undefined) => string | undefined;
- setTooltip: (ids: string, tooltip?: string | undefined) => void;
- lookUpDomId: (_id: string) => string;
- setDiagramTitle: (txt: string) => void;
- getDiagramTitle: () => string;
- setClassLabel: (_id: string, label: string) => void;
- addNamespace: (id: string) => void;
- addClassesToNamespace: (id: string, classNames: string[]) => void;
- getNamespace: (name: string) => NamespaceNode;
- getNamespaces: () => NamespaceMap;
- setCssStyle: (id: string, styles: string[]) => void;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDetector-V2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classDetector-V2.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDetector-V2.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram-v2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram-v2.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram-v2.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classDiagram.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classRenderer-v2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classRenderer-v2.d.ts
deleted file mode 100644
index ff137bc..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classRenderer-v2.d.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-import * as graphlib from 'dagre-d3-es/src/graphlib/index.js';
-import type { ClassRelation, ClassNote, ClassMap, NamespaceMap } from './classTypes.js';
-/**
- * Function that adds the vertices found during parsing to the graph to be rendered.
- *
- * @param namespaces - Object containing the vertices.
- * @param g - The graph that is to be drawn.
- * @param _id - id of the graph
- * @param diagObj - The diagram object
- */
-export declare const addNamespaces: (namespaces: NamespaceMap, g: graphlib.Graph, _id: string, diagObj: any) => void;
-/**
- * Function that adds the vertices found during parsing to the graph to be rendered.
- *
- * @param classes - Object containing the vertices.
- * @param g - The graph that is to be drawn.
- * @param _id - id of the graph
- * @param diagObj - The diagram object
- * @param parent - id of the parent namespace, if it exists
- */
-export declare const addClasses: (classes: ClassMap, g: graphlib.Graph, _id: string, diagObj: any, parent?: string) => void;
-/**
- * Function that adds the additional vertices (notes) found during parsing to the graph to be rendered.
- *
- * @param notes - Object containing the additional vertices (notes).
- * @param g - The graph that is to be drawn.
- * @param startEdgeId - starting index for note edge
- * @param classes - Classes
- */
-export declare const addNotes: (notes: ClassNote[], g: graphlib.Graph, startEdgeId: number, classes: ClassMap) => void;
-/**
- * Add edges to graph based on parsed graph definition
- *
- * @param relations -
- * @param g - The graph object
- */
-export declare const addRelations: (relations: ClassRelation[], g: graphlib.Graph) => void;
-/**
- * Merges the value of `conf` with the passed `cnf`
- *
- * @param cnf - Config to merge
- */
-export declare const setConf: (cnf: any) => void;
-/**
- * Draws a class diagram in the tag with id: id based on the definition in text.
- *
- * @param text -
- * @param id -
- * @param _version -
- * @param diagObj -
- */
-export declare const draw: (text: string, id: string, _version: string, diagObj: any) => Promise<void>;
-declare const _default: {
- setConf: (cnf: any) => void;
- draw: (text: string, id: string, _version: string, diagObj: any) => Promise<void>;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classRenderer.d.ts
deleted file mode 100644
index b6532d5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classRenderer.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export function draw(text: string, id: string, _version: any, diagObj: any): void;
-declare namespace _default {
- export { draw };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classTypes.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classTypes.d.ts
deleted file mode 100644
index a4556c9..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classTypes.d.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-export interface ClassNode {
- id: string;
- type: string;
- label: string;
- cssClasses: string[];
- methods: ClassMember[];
- members: ClassMember[];
- annotations: string[];
- domId: string;
- styles: string[];
- parent?: string;
- link?: string;
- linkTarget?: string;
- haveCallback?: boolean;
- tooltip?: string;
-}
-export type Visibility = '#' | '+' | '~' | '-' | '';
-export declare const visibilityValues: string[];
-/**
- * Parses and stores class diagram member variables/methods.
- *
- */
-export declare class ClassMember {
- id: string;
- cssStyle: string;
- memberType: 'method' | 'attribute';
- visibility: Visibility;
- /**
- * denote if static or to determine which css class to apply to the node
- * @defaultValue ''
- */
- classifier: string;
- /**
- * parameters for method
- * @defaultValue ''
- */
- parameters: string;
- /**
- * return type for method
- * @defaultValue ''
- */
- returnType: string;
- constructor(input: string, memberType: 'method' | 'attribute');
- getDisplayDetails(): {
- displayText: string;
- cssStyle: string;
- };
- parseMember(input: string): void;
- parseClassifier(): "" | "font-style:italic;" | "text-decoration:underline;";
-}
-export interface ClassNote {
- id: string;
- class: string;
- text: string;
-}
-export type ClassRelation = {
- id1: string;
- id2: string;
- relationTitle1: string;
- relationTitle2: string;
- type: string;
- title: string;
- text: string;
- style: string[];
- relation: {
- type1: number;
- type2: number;
- lineType: number;
- };
-};
-export interface NamespaceNode {
- id: string;
- domId: string;
- classes: ClassMap;
- children: NamespaceMap;
-}
-export type ClassMap = Record<string, ClassNode>;
-export type NamespaceMap = Record<string, NamespaceNode>;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/classTypes.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/classTypes.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/classTypes.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/class/svgDraw.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/class/svgDraw.d.ts
deleted file mode 100644
index 661cdf3..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/class/svgDraw.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-export function drawEdge(elem: any, path: any, relation: any, conf: any, diagObj: any): void;
-export function drawClass(elem: SVGSVGElement, classDef: any, conf: any, diagObj: any): {
- id: any;
- label: any;
- width: number;
- height: number;
-};
-export function getClassTitleString(classDef: any): any;
-export function drawNote(elem: SVGSVGElement, note: {
- id: string;
- text: string;
- class: string;
-}, conf: any, diagObj: any): {
- id: string;
- text: string;
- width: number;
- height: number;
-};
-declare namespace _default {
- export { getClassTitleString };
- export { drawClass };
- export { drawEdge };
- export { drawNote };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/common/common.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/common/common.d.ts
deleted file mode 100644
index c43fcad..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/common/common.d.ts
+++ /dev/null
@@ -1,110 +0,0 @@
-import type { MermaidConfig } from '../../config.type.js';
-export declare const lineBreakRegex: RegExp;
-/**
- * Gets the rows of lines in a string
- *
- * @param s - The string to check the lines for
- * @returns The rows in that string
- */
-export declare const getRows: (s?: string) => string[];
-/**
- * Removes script tags from a text
- *
- * @param txt - The text to sanitize
- * @returns The safer text
- */
-export declare const removeScript: (txt: string) => string;
-export declare const sanitizeText: (text: string, config: MermaidConfig) => string;
-export declare const sanitizeTextOrArray: (a: string | string[] | string[][], config: MermaidConfig) => string | string[];
-/**
- * Whether or not a text has any line breaks
- *
- * @param text - The text to test
- * @returns Whether or not the text has breaks
- */
-export declare const hasBreaks: (text: string) => boolean;
-/**
- * Splits on <br> tags
- *
- * @param text - Text to split
- * @returns List of lines as strings
- */
-export declare const splitBreaks: (text: string) => string[];
-/**
- * Converts a string/boolean into a boolean
- *
- * @param val - String or boolean to convert
- * @returns The result from the input
- */
-export declare const evaluate: (val?: string | boolean) => boolean;
-/**
- * Wrapper around Math.max which removes non-numeric values
- * Returns the larger of a set of supplied numeric expressions.
- * @param values - Numeric expressions to be evaluated
- * @returns The smaller value
- */
-export declare const getMax: (...values: number[]) => number;
-/**
- * Wrapper around Math.min which removes non-numeric values
- * Returns the smaller of a set of supplied numeric expressions.
- * @param values - Numeric expressions to be evaluated
- * @returns The smaller value
- */
-export declare const getMin: (...values: number[]) => number;
-/**
- * Makes generics in typescript syntax
- *
- * @example
- * Array of array of strings in typescript syntax
- *
- * ```js
- * // returns "Array<Array<string>>"
- * parseGenericTypes('Array~Array~string~~');
- * ```
- * @param text - The text to convert
- * @returns The converted string
- */
-export declare const parseGenericTypes: (input: string) => string;
-export declare const countOccurrence: (string: string, substring: string) => number;
-export declare const isMathMLSupported: () => boolean;
-export declare const katexRegex: RegExp;
-/**
- * Whether or not a text has KaTeX delimiters
- *
- * @param text - The text to test
- * @returns Whether or not the text has KaTeX delimiters
- */
-export declare const hasKatex: (text: string) => boolean;
-/**
- * Computes the minimum dimensions needed to display a div containing MathML
- *
- * @param text - The text to test
- * @param config - Configuration for Mermaid
- * @returns Object containing \{width, height\}
- */
-export declare const calculateMathMLDimensions: (text: string, config: MermaidConfig) => Promise<{
- width: number;
- height: number;
-}>;
-/**
- * Attempts to render and return the KaTeX portion of a string with MathML
- *
- * @param text - The text to test
- * @param config - Configuration for Mermaid
- * @returns String containing MathML if KaTeX is supported, or an error message if it is not and stylesheets aren't present
- */
-export declare const renderKatex: (text: string, config: MermaidConfig) => Promise<string>;
-declare const _default: {
- getRows: (s?: string | undefined) => string[];
- sanitizeText: (text: string, config: MermaidConfig) => string;
- sanitizeTextOrArray: (a: string | string[] | string[][], config: MermaidConfig) => string | string[];
- hasBreaks: (text: string) => boolean;
- splitBreaks: (text: string) => string[];
- lineBreakRegex: RegExp;
- removeScript: (txt: string) => string;
- getUrl: (useAbsolute: boolean) => string;
- evaluate: (val?: string | boolean | undefined) => boolean;
- getMax: (...values: number[]) => number;
- getMin: (...values: number[]) => number;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/common/common.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/common/common.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/common/common.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/common/commonDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/common/commonDb.d.ts
deleted file mode 100644
index 143f5ee..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/common/commonDb.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export declare const clear: () => void;
-export declare const setAccTitle: (txt: string) => void;
-export declare const getAccTitle: () => string;
-export declare const setAccDescription: (txt: string) => void;
-export declare const getAccDescription: () => string;
-export declare const setDiagramTitle: (txt: string) => void;
-export declare const getDiagramTitle: () => string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/common/commonTypes.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/common/commonTypes.d.ts
deleted file mode 100644
index 671f19f..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/common/commonTypes.d.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-export interface RectData {
- x: number;
- y: number;
- fill: string;
- width: number;
- height: number;
- stroke: string;
- class?: string;
- color?: string;
- rx?: number;
- ry?: number;
- attrs?: Record<string, string | number>;
- anchor?: string;
- name?: string;
-}
-export interface Bound {
- startx: number;
- stopx: number;
- starty: number;
- stopy: number;
- fill: string;
- stroke: string;
-}
-export interface TextData {
- x: number;
- y: number;
- anchor: string;
- text: string;
- textMargin: number;
- class?: string;
-}
-export interface TextObject {
- x: number;
- y: number;
- width: number;
- height: number;
- fill?: string;
- anchor?: string;
- 'text-anchor': string;
- style: string;
- textMargin: number;
- rx: number;
- ry: number;
- tspan: boolean;
- valign?: string;
-}
-export type D3RectElement = d3.Selection<SVGRectElement, unknown, Element | null, unknown>;
-export type D3UseElement = d3.Selection<SVGUseElement, unknown, Element | null, unknown>;
-export type D3ImageElement = d3.Selection<SVGImageElement, unknown, Element | null, unknown>;
-export type D3TextElement = d3.Selection<SVGTextElement, unknown, Element | null, unknown>;
-export type D3TSpanElement = d3.Selection<SVGTSpanElement, unknown, Element | null, unknown>;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/common/svgDrawCommon.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/common/svgDrawCommon.d.ts
deleted file mode 100644
index 3d864ab..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/common/svgDrawCommon.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { Group, SVG } from '../../diagram-api/types.js';
-import type { Bound, D3RectElement, D3TextElement, RectData, TextData, TextObject } from './commonTypes.js';
-export declare const drawRect: (element: SVG | Group, rectData: RectData) => D3RectElement;
-/**
- * Draws a background rectangle
- *
- * @param element - Diagram (reference for bounds)
- * @param bounds - Shape of the rectangle
- */
-export declare const drawBackgroundRect: (element: SVG | Group, bounds: Bound) => void;
-export declare const drawText: (element: SVG | Group, textData: TextData) => D3TextElement;
-export declare const drawImage: (elem: SVG | Group, x: number, y: number, link: string) => void;
-export declare const drawEmbeddedImage: (element: SVG | Group, x: number, y: number, link: string) => void;
-export declare const getNoteRect: () => RectData;
-export declare const getTextObj: () => TextObject;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/er/erDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/er/erDb.d.ts
deleted file mode 100644
index ffeca06..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/er/erDb.d.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-declare namespace _default {
- export { Cardinality };
- export { Identification };
- export function getConfig(): import("../../config.type.js").ErDiagramConfig | undefined;
- export { addEntity };
- export { addAttributes };
- export { getEntities };
- export { addRelationship };
- export { getRelationships };
- export { clear };
- export { setAccTitle };
- export { getAccTitle };
- export { setAccDescription };
- export { getAccDescription };
- export { setDiagramTitle };
- export { getDiagramTitle };
-}
-export default _default;
-declare namespace Cardinality {
- let ZERO_OR_ONE: string;
- let ZERO_OR_MORE: string;
- let ONE_OR_MORE: string;
- let ONLY_ONE: string;
- let MD_PARENT: string;
-}
-declare namespace Identification {
- let NON_IDENTIFYING: string;
- let IDENTIFYING: string;
-}
-declare function addEntity(name: any, alias?: undefined): any;
-declare function addAttributes(entityName: any, attribs: any): void;
-declare function getEntities(): {};
-/**
- * Add a relationship
- *
- * @param entA The first entity in the relationship
- * @param rolA The role played by the first entity in relation to the second
- * @param entB The second entity in the relationship
- * @param rSpec The details of the relationship between the two entities
- */
-declare function addRelationship(entA: any, rolA: any, entB: any, rSpec: any): void;
-declare function getRelationships(): any[];
-declare function clear(): void;
-import { setAccTitle } from '../common/commonDb.js';
-import { getAccTitle } from '../common/commonDb.js';
-import { setAccDescription } from '../common/commonDb.js';
-import { getAccDescription } from '../common/commonDb.js';
-import { setDiagramTitle } from '../common/commonDb.js';
-import { getDiagramTitle } from '../common/commonDb.js';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/er/erDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/er/erDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/er/erDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/er/erDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/er/erDiagram.d.ts
deleted file mode 100644
index 716fa3c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/er/erDiagram.d.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-export declare const diagram: {
- parser: any;
- db: {
- Cardinality: {
- ZERO_OR_ONE: string;
- ZERO_OR_MORE: string;
- ONE_OR_MORE: string;
- ONLY_ONE: string;
- MD_PARENT: string;
- };
- Identification: {
- NON_IDENTIFYING: string;
- IDENTIFYING: string;
- };
- getConfig: () => import("../../config.type.js").ErDiagramConfig | undefined;
- addEntity: (name: any, alias?: undefined) => any;
- addAttributes: (entityName: any, attribs: any) => void;
- getEntities: () => {};
- addRelationship: (entA: any, rolA: any, entB: any, rSpec: any) => void;
- getRelationships: () => any[];
- clear: () => void;
- setAccTitle: (txt: string) => void;
- getAccTitle: () => string;
- setAccDescription: (txt: string) => void;
- getAccDescription: () => string;
- setDiagramTitle: (txt: string) => void;
- getDiagramTitle: () => string;
- };
- renderer: {
- setConf: (cnf: any) => void;
- draw: (text: any, id: any, _version: any, diagObj: any) => void;
- };
- styles: (options: any) => string;
-};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/er/erMarkers.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/er/erMarkers.d.ts
deleted file mode 100644
index fb88be2..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/er/erMarkers.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-declare namespace _default {
- export { ERMarkers };
- export { insertMarkers };
-}
-export default _default;
-declare namespace ERMarkers {
- let ONLY_ONE_START: string;
- let ONLY_ONE_END: string;
- let ZERO_OR_ONE_START: string;
- let ZERO_OR_ONE_END: string;
- let ONE_OR_MORE_START: string;
- let ONE_OR_MORE_END: string;
- let ZERO_OR_MORE_START: string;
- let ZERO_OR_MORE_END: string;
- let MD_PARENT_END: string;
- let MD_PARENT_START: string;
-}
-/**
- * Put the markers into the svg DOM for later use with edge paths
- *
- * @param elem
- * @param conf
- */
-declare function insertMarkers(elem: any, conf: any): void;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts
deleted file mode 100644
index 247bfde..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Return a unique id based on the given string. Start with the prefix, then a hyphen, then the
- * simplified str, then a hyphen, then a unique uuid based on the str. (Hyphens are only included if needed.)
- * Although the official XML standard for ids says that many more characters are valid in the id,
- * this keeps things simple by accepting only A-Za-z0-9.
- *
- * @param {string} str Given string to use as the basis for the id. Default is `''`
- * @param {string} prefix String to put at the start, followed by '-'. Default is `''`
- * @returns {string}
- * @see https://www.w3.org/TR/xml/#NT-Name
- */
-export function generateId(str?: string, prefix?: string): string;
-export function setConf(cnf: any): void;
-export function draw(text: any, id: any, _version: any, diagObj: any): void;
-declare namespace _default {
- export { setConf };
- export { draw };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/er/erRenderer.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/er/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/er/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/er/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/error/errorDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/error/errorDetector.d.ts
deleted file mode 100644
index af34845..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/error/errorDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/error/errorDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/error/errorDiagram.d.ts
deleted file mode 100644
index 4c733f1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/error/errorDiagram.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-declare const diagram: DiagramDefinition;
-export default diagram;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/error/errorRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/error/errorRenderer.d.ts
deleted file mode 100644
index ff6dd7b..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/error/errorRenderer.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * Draws an info picture in the tag with id: id based on the graph definition in text.
- *
- * @param _text - Mermaid graph definition.
- * @param id - The text for the error
- * @param version - The version
- */
-export declare const draw: (_text: string, id: string, version: string) => void;
-export declare const renderer: {
- draw: (_text: string, id: string, version: string) => void;
-};
-export default renderer;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/error/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/error/styles.d.ts
deleted file mode 100644
index 0abad95..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/error/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.d.ts
deleted file mode 100644
index 487b548..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/detector.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts
deleted file mode 100644
index 153b508..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-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;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts
deleted file mode 100644
index a3fc657..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-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;
-};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts
deleted file mode 100644
index b122751..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export interface TreeData {
- parentById: Record<string, string>;
- childrenById: Record<string, string[]>;
-}
-export declare const findCommonAncestor: (id1: string, id2: string, treeData: TreeData) => string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/styles.d.ts
deleted file mode 100644
index 651501c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/styles.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/** 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;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowChartShapes.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowChartShapes.d.ts
deleted file mode 100644
index 70c9d04..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowChartShapes.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/** @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;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDb.d.ts
deleted file mode 100644
index ae72e1d..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDb.d.ts
+++ /dev/null
@@ -1,87 +0,0 @@
-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';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector-v2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector-v2.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector-v2.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts
deleted file mode 100644
index 3105c6e..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-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;
-};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram.d.ts
deleted file mode 100644
index 3105c6e..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram.d.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-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;
-};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts
deleted file mode 100644
index c4581ef..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-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;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer.d.ts
deleted file mode 100644
index f027651..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowRenderer.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-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;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/styles.d.ts
deleted file mode 100644
index 73918ae..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/styles.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/** 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;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.d.ts
deleted file mode 100644
index fd13183..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.d.ts
+++ /dev/null
@@ -1,106 +0,0 @@
-export function clear(): void;
-export function setAxisFormat(txt: any): void;
-export function getAxisFormat(): string;
-export function setTickInterval(txt: any): void;
-export function getTickInterval(): any;
-export function setTodayMarker(txt: any): void;
-export function getTodayMarker(): string;
-export function setDateFormat(txt: any): void;
-export function enableInclusiveEndDates(): void;
-export function endDatesAreInclusive(): boolean;
-export function enableTopAxis(): void;
-export function topAxisEnabled(): boolean;
-export function setDisplayMode(txt: any): void;
-export function getDisplayMode(): string;
-export function getDateFormat(): string;
-export function setIncludes(txt: any): void;
-export function getIncludes(): any[];
-export function setExcludes(txt: any): void;
-export function getExcludes(): any[];
-export function getLinks(): {};
-export function addSection(txt: any): void;
-export function getSections(): any[];
-export function getTasks(): any[];
-export function isInvalidDate(date: any, dateFormat: any, excludes: any, includes: any): any;
-export function setWeekday(txt: any): void;
-export function getWeekday(): string;
-export function addTask(descr: any, data: any): void;
-export function findTaskById(id: any): any;
-export function addTaskOrg(descr: any, data: any): void;
-export function setLink(ids: any, _linkStr: any): void;
-export function setClass(ids: any, className: any): void;
-export function setClickEvent(ids: any, functionName: any, functionArgs: any): void;
-export function bindFunctions(element: any): void;
-declare namespace _default {
- export function getConfig(): import("../../config.type.js").GanttDiagramConfig | undefined;
- export { clear };
- export { setDateFormat };
- export { getDateFormat };
- export { enableInclusiveEndDates };
- export { endDatesAreInclusive };
- export { enableTopAxis };
- export { topAxisEnabled };
- export { setAxisFormat };
- export { getAxisFormat };
- export { setTickInterval };
- export { getTickInterval };
- export { setTodayMarker };
- export { getTodayMarker };
- export { setAccTitle };
- export { getAccTitle };
- export { setDiagramTitle };
- export { getDiagramTitle };
- export { setDisplayMode };
- export { getDisplayMode };
- export { setAccDescription };
- export { getAccDescription };
- export { addSection };
- export { getSections };
- export { getTasks };
- export { addTask };
- export { findTaskById };
- export { addTaskOrg };
- export { setIncludes };
- export { getIncludes };
- export { setExcludes };
- export { getExcludes };
- export { setClickEvent };
- export { setLink };
- export { getLinks };
- export { bindFunctions };
- export { parseDuration };
- export { isInvalidDate };
- export { setWeekday };
- export { getWeekday };
-}
-export default _default;
-import { setAccTitle } from '../common/commonDb.js';
-import { getAccTitle } from '../common/commonDb.js';
-import { setDiagramTitle } from '../common/commonDb.js';
-import { getDiagramTitle } from '../common/commonDb.js';
-import { setAccDescription } from '../common/commonDb.js';
-import { getAccDescription } from '../common/commonDb.js';
-/**
- * Parse a string into the args for `dayjs.add()`.
- *
- * The string have to be compound by a value and a shorthand duration unit. For example `5d`
- * represents 5 days.
- *
- * Please be aware that 1 day may be 23 or 25 hours, if the user lives in an area
- * that has daylight savings time (or even 23.5/24.5 hours in Lord Howe Island!)
- *
- * Shorthand unit supported are:
- *
- * - `y` for years
- * - `M` for months
- * - `w` for weeks
- * - `d` for days
- * - `h` for hours
- * - `s` for seconds
- * - `ms` for milliseconds
- *
- * @param {string} str - A string representing the duration.
- * @returns {[value: number, unit: dayjs.ManipulateType]} Arguments to pass to `dayjs.add()`
- */
-declare function parseDuration(str: string): [value: number, unit: dayjs.ManipulateType];
-import dayjs from 'dayjs';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttRenderer.d.ts
deleted file mode 100644
index 27307d8..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttRenderer.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export function setConf(): void;
-export function draw(text: any, id: any, version: any, diagObj: any): void;
-declare namespace _default {
- export { setConf };
- export { draw };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/gantt/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/gantt/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphAst.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphAst.d.ts
deleted file mode 100644
index cc7d038..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphAst.d.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-export function setDirection(dir: any): void;
-export function setOptions(rawOptString: any): void;
-export function getOptions(): {};
-export function commit(msg: any, id: any, type: any, tag: any): void;
-export function branch(name: any, order: any): void;
-export function merge(otherBranch: any, custom_id: any, override_type: any, custom_tag: any): void;
-export function cherryPick(sourceId: any, targetId: any, tag: any, parentCommitId: any): void;
-export function checkout(branch: any): void;
-export function prettyPrint(): void;
-export function clear(): void;
-export function getBranchesAsObjArray(): {
- name: any;
-}[];
-export function getBranches(): typeof branches;
-export function getCommits(): {};
-export function getCommitsArray(): any[];
-export function getCurrentBranch(): string | undefined;
-export function getDirection(): string;
-export function getHead(): any;
-export namespace commitType {
- let NORMAL: number;
- let REVERSE: number;
- let HIGHLIGHT: number;
- let MERGE: number;
- let CHERRY_PICK: number;
-}
-declare namespace _default {
- export function getConfig(): import("../../config.type.js").GitGraphDiagramConfig | undefined;
- export { setDirection };
- export { setOptions };
- export { getOptions };
- export { commit };
- export { branch };
- export { merge };
- export { cherryPick };
- export { checkout };
- export { prettyPrint };
- export { clear };
- export { getBranchesAsObjArray };
- export { getBranches };
- export { getCommits };
- export { getCommitsArray };
- export { getCurrentBranch };
- export { getDirection };
- export { getHead };
- export { setAccTitle };
- export { getAccTitle };
- export { getAccDescription };
- export { setAccDescription };
- export { setDiagramTitle };
- export { getDiagramTitle };
- export { commitType };
-}
-export default _default;
-declare let branches: typeof branches;
-import { setAccTitle } from '../common/commonDb.js';
-import { getAccTitle } from '../common/commonDb.js';
-import { getAccDescription } from '../common/commonDb.js';
-import { setAccDescription } from '../common/commonDb.js';
-import { setDiagramTitle } from '../common/commonDb.js';
-import { getDiagramTitle } from '../common/commonDb.js';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphRenderer.d.ts
deleted file mode 100644
index 19cf558..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/git/gitGraphRenderer.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export function draw(txt: any, id: any, ver: any, diagObj: any): void;
-declare namespace _default {
- export { draw };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/git/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/git/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/git/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/info/info.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/info/info.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/info/info.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDb.d.ts
deleted file mode 100644
index 203b877..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDb.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { InfoFields, InfoDB } from './infoTypes.js';
-export declare const DEFAULT_INFO_DB: InfoFields;
-export declare const setInfo: (toggle: boolean) => void;
-export declare const getInfo: () => boolean;
-export declare const db: InfoDB;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDetector.d.ts
deleted file mode 100644
index a7b9ac7..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDetector.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-export declare const info: ExternalDiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/info/infoRenderer.d.ts
deleted file mode 100644
index cf6d2ab..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoRenderer.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import type { DrawDefinition } from '../../diagram-api/types.js';
-export declare const renderer: {
- draw: DrawDefinition;
-};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoTypes.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/info/infoTypes.d.ts
deleted file mode 100644
index 46e0651..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/info/infoTypes.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { DiagramDB } from '../../diagram-api/types.js';
-export interface InfoFields {
- info: boolean;
-}
-export interface InfoDB extends DiagramDB {
- clear: () => void;
- setInfo: (info: boolean) => void;
- getInfo: () => boolean;
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/info/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/info/styles.d.ts
deleted file mode 100644
index 0abad95..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/info/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/detector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/detector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/detector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmap-definition.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmap-definition.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmap-definition.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmap.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmap.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmap.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapDb.d.ts
deleted file mode 100644
index 9496af5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapDb.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import type { D3Element } from '../../mermaidAPI.js';
-import type { MindmapNode } from './mindmapTypes.js';
-declare const db: {
- readonly clear: () => void;
- readonly addNode: (level: number, id: string, descr: string, type: number) => void;
- readonly getMindmap: () => MindmapNode | null;
- readonly nodeType: {
- DEFAULT: number;
- NO_BORDER: number;
- ROUNDED_RECT: number;
- RECT: number;
- CIRCLE: number;
- CLOUD: number;
- BANG: number;
- HEXAGON: number;
- };
- readonly getType: (startStr: string, endStr: string) => number;
- readonly setElementForId: (id: number, element: D3Element) => void;
- readonly decorateNode: (decoration?: {
- class?: string;
- icon?: string;
- }) => void;
- readonly type2Str: (type: number) => "rect" | "circle" | "no-border" | "rounded-rect" | "cloud" | "bang" | "hexgon";
- readonly getLogger: () => Record<import("../../logger.js").LogLevel, {
- (...data: any[]): void;
- (message?: any, ...optionalParams: any[]): void;
- }>;
- readonly getElementById: (id: number) => any;
-};
-export default db;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapRenderer.d.ts
deleted file mode 100644
index f69160a..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapRenderer.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import type { DrawDefinition } from '../../diagram-api/types.js';
-declare module 'cytoscape' {
- interface EdgeSingular {
- _private: {
- bodyBounds: unknown;
- rscratch: {
- startX: number;
- startY: number;
- midX: number;
- midY: number;
- endX: number;
- endY: number;
- };
- };
- }
-}
-export declare const draw: DrawDefinition;
-declare const _default: {
- draw: DrawDefinition;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapTypes.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapTypes.d.ts
deleted file mode 100644
index 8339ab0..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapTypes.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import type { RequiredDeep } from 'type-fest';
-import type mindmapDb from './mindmapDb.js';
-export interface MindmapNode {
- id: number;
- nodeId: string;
- level: number;
- descr: string;
- type: number;
- children: MindmapNode[];
- width: number;
- padding: number;
- section?: number;
- height?: number;
- class?: string;
- icon?: string;
- x?: number;
- y?: number;
-}
-export type FilledMindMapNode = RequiredDeep<MindmapNode>;
-export type MindmapDB = typeof mindmapDb;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/styles.d.ts
deleted file mode 100644
index e0377ad..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/styles.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { DiagramStylesProvider } from '../../diagram-api/types.js';
-declare const getStyles: DiagramStylesProvider;
-export default getStyles;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/svgDraw.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/svgDraw.d.ts
deleted file mode 100644
index 1b2f67d..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/mindmap/svgDraw.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { D3Element } from '../../mermaidAPI.js';
-import type { FilledMindMapNode, MindmapDB } from './mindmapTypes.js';
-import type { MermaidConfig } from '../../config.type.js';
-/**
- * @param db - The database
- * @param elem - The D3 dom element in which the node is to be added
- * @param node - The node to be added
- * @param fullSection - ?
- * @param conf - The configuration object
- * @returns The height nodes dom element
- */
-export declare const drawNode: (db: MindmapDB, elem: D3Element, node: FilledMindMapNode, fullSection: number, conf: MermaidConfig) => number;
-export declare const positionNode: (db: MindmapDB, node: FilledMindMapNode) => void;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pie.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/pie/pie.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pie.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDb.d.ts
deleted file mode 100644
index c06dbbc..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDb.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { PieFields, PieDB } from './pieTypes.js';
-import type { RequiredDeep } from 'type-fest';
-import type { PieDiagramConfig } from '../../config.type.js';
-export declare const DEFAULT_PIE_CONFIG: Required<PieDiagramConfig>;
-export declare const DEFAULT_PIE_DB: RequiredDeep<PieFields>;
-export declare const db: PieDB;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDetector.d.ts
deleted file mode 100644
index 0b9a849..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDetector.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-export declare const pie: ExternalDiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieRenderer.d.ts
deleted file mode 100644
index 396d8de..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieRenderer.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { DrawDefinition } from '../../diagram-api/types.js';
-/**
- * Draws a Pie Chart with the data given in text.
- *
- * @param text - pie chart code
- * @param id - diagram id
- * @param _version - MermaidJS 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: DrawDefinition;
-export declare const renderer: {
- draw: DrawDefinition;
-};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieStyles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieStyles.d.ts
deleted file mode 100644
index e0377ad..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieStyles.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { DiagramStylesProvider } from '../../diagram-api/types.js';
-declare const getStyles: DiagramStylesProvider;
-export default getStyles;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieTypes.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieTypes.d.ts
deleted file mode 100644
index c7fb95c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/pie/pieTypes.d.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-import type { PieDiagramConfig } from '../../config.type.js';
-import type { DiagramDB } from '../../diagram-api/types.js';
-export interface PieFields {
- sections: Sections;
- showData: boolean;
- config: PieDiagramConfig;
-}
-export interface PieStyleOptions {
- fontFamily: string;
- pie1: string;
- pie2: string;
- pie3: string;
- pie4: string;
- pie5: string;
- pie6: string;
- pie7: string;
- pie8: string;
- pie9: string;
- pie10: string;
- pie11: string;
- pie12: string;
- pieTitleTextSize: string;
- pieTitleTextColor: string;
- pieSectionTextSize: string;
- pieSectionTextColor: string;
- pieLegendTextSize: string;
- pieLegendTextColor: string;
- pieStrokeColor: string;
- pieStrokeWidth: string;
- pieOuterStrokeWidth: string;
- pieOuterStrokeColor: string;
- pieOpacity: string;
-}
-export type Sections = Record<string, number>;
-export interface D3Sections {
- label: string;
- value: number;
-}
-export interface PieDB extends DiagramDB {
- getConfig: () => Required<PieDiagramConfig>;
- clear: () => void;
- setDiagramTitle: (title: string) => void;
- getDiagramTitle: () => string;
- setAccTitle: (title: string) => void;
- getAccTitle: () => string;
- setAccDescription: (description: string) => void;
- getAccDescription: () => string;
- addSection: (label: string, value: number) => void;
- getSections: () => Sections;
- cleanupValue: (value: string) => number;
- setShowData: (toggle: boolean) => void;
- getShowData: () => boolean;
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/pie/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/pie/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/pie/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/parser/quadrant.jison.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/parser/quadrant.jison.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/parser/quadrant.jison.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantBuilder.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantBuilder.d.ts
deleted file mode 100644
index 7b26579..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantBuilder.d.ts
+++ /dev/null
@@ -1,118 +0,0 @@
-import type { BaseDiagramConfig, QuadrantChartConfig } from '../../config.type.js';
-import type { Point } from '../../types.js';
-export type TextVerticalPos = 'left' | 'center' | 'right';
-export type TextHorizontalPos = 'top' | 'middle' | 'bottom';
-export interface QuadrantPointInputType extends Point {
- text: string;
-}
-export interface QuadrantTextType extends Point {
- text: string;
- fill: string;
- verticalPos: TextVerticalPos;
- horizontalPos: TextHorizontalPos;
- fontSize: number;
- rotation: number;
-}
-export interface QuadrantPointType extends Point {
- fill: string;
- radius: number;
- text: QuadrantTextType;
-}
-export interface QuadrantQuadrantsType extends Point {
- text: QuadrantTextType;
- width: number;
- height: number;
- fill: string;
-}
-export interface QuadrantLineType {
- strokeWidth: number;
- strokeFill: string;
- x1: number;
- y1: number;
- x2: number;
- y2: number;
-}
-export interface QuadrantBuildType {
- points: QuadrantPointType[];
- quadrants: QuadrantQuadrantsType[];
- axisLabels: QuadrantTextType[];
- title?: QuadrantTextType;
- borderLines?: QuadrantLineType[];
-}
-export interface QuadrantBuilderData {
- titleText: string;
- quadrant1Text: string;
- quadrant2Text: string;
- quadrant3Text: string;
- quadrant4Text: string;
- xAxisLeftText: string;
- xAxisRightText: string;
- yAxisBottomText: string;
- yAxisTopText: string;
- points: QuadrantPointInputType[];
-}
-export interface QuadrantBuilderConfig extends Required<Omit<QuadrantChartConfig, keyof BaseDiagramConfig>> {
- showXAxis: boolean;
- showYAxis: boolean;
- showTitle: boolean;
-}
-export interface QuadrantBuilderThemeConfig {
- quadrantTitleFill: string;
- quadrant1Fill: string;
- quadrant2Fill: string;
- quadrant3Fill: string;
- quadrant4Fill: string;
- quadrant1TextFill: string;
- quadrant2TextFill: string;
- quadrant3TextFill: string;
- quadrant4TextFill: string;
- quadrantPointFill: string;
- quadrantPointTextFill: string;
- quadrantXAxisTextFill: string;
- quadrantYAxisTextFill: string;
- quadrantInternalBorderStrokeFill: string;
- quadrantExternalBorderStrokeFill: string;
-}
-interface CalculateSpaceData {
- xAxisSpace: {
- top: number;
- bottom: number;
- };
- yAxisSpace: {
- left: number;
- right: number;
- };
- titleSpace: {
- top: number;
- };
- quadrantSpace: {
- quadrantLeft: number;
- quadrantTop: number;
- quadrantWidth: number;
- quadrantHalfWidth: number;
- quadrantHeight: number;
- quadrantHalfHeight: number;
- };
-}
-export declare class QuadrantBuilder {
- private config;
- private themeConfig;
- private data;
- constructor();
- getDefaultData(): QuadrantBuilderData;
- getDefaultConfig(): QuadrantBuilderConfig;
- getDefaultThemeConfig(): QuadrantBuilderThemeConfig;
- clear(): void;
- setData(data: Partial<QuadrantBuilderData>): void;
- addPoints(points: QuadrantPointInputType[]): void;
- setConfig(config: Partial<QuadrantBuilderConfig>): void;
- setThemeConfig(themeConfig: Partial<QuadrantBuilderThemeConfig>): void;
- calculateSpace(xAxisPosition: typeof this.config.xAxisPosition, showXAxis: boolean, showYAxis: boolean, showTitle: boolean): CalculateSpaceData;
- getAxisLabels(xAxisPosition: typeof this.config.xAxisPosition, showXAxis: boolean, showYAxis: boolean, spaceData: CalculateSpaceData): QuadrantTextType[];
- getQuadrants(spaceData: CalculateSpaceData): QuadrantQuadrantsType[];
- getQuadrantPoints(spaceData: CalculateSpaceData): QuadrantPointType[];
- getBorders(spaceData: CalculateSpaceData): QuadrantLineType[];
- getTitle(showTitle: boolean): QuadrantTextType | undefined;
- build(): QuadrantBuildType;
-}
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDb.d.ts
deleted file mode 100644
index 9f3c9bb..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDb.d.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-type LexTextObj = {
- text: string;
- type: 'text' | 'markdown';
-};
-declare function setQuadrant1Text(textObj: LexTextObj): void;
-declare function setQuadrant2Text(textObj: LexTextObj): void;
-declare function setQuadrant3Text(textObj: LexTextObj): void;
-declare function setQuadrant4Text(textObj: LexTextObj): void;
-declare function setXAxisLeftText(textObj: LexTextObj): void;
-declare function setXAxisRightText(textObj: LexTextObj): void;
-declare function setYAxisTopText(textObj: LexTextObj): void;
-declare function setYAxisBottomText(textObj: LexTextObj): void;
-declare function addPoint(textObj: LexTextObj, x: number, y: number): void;
-declare function setWidth(width: number): void;
-declare function setHeight(height: number): void;
-declare function getQuadrantData(): import("./quadrantBuilder.js").QuadrantBuildType;
-declare const _default: {
- setWidth: typeof setWidth;
- setHeight: typeof setHeight;
- setQuadrant1Text: typeof setQuadrant1Text;
- setQuadrant2Text: typeof setQuadrant2Text;
- setQuadrant3Text: typeof setQuadrant3Text;
- setQuadrant4Text: typeof setQuadrant4Text;
- setXAxisLeftText: typeof setXAxisLeftText;
- setXAxisRightText: typeof setXAxisRightText;
- setYAxisTopText: typeof setYAxisTopText;
- setYAxisBottomText: typeof setYAxisBottomText;
- addPoint: typeof addPoint;
- getQuadrantData: typeof getQuadrantData;
- clear: () => void;
- setAccTitle: (txt: string) => void;
- getAccTitle: () => string;
- setDiagramTitle: (txt: string) => void;
- getDiagramTitle: () => string;
- getAccDescription: () => string;
- setAccDescription: (txt: string) => void;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantRenderer.d.ts
deleted file mode 100644
index b91b530..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/quadrant-chart/quadrantRenderer.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { Diagram } from '../../Diagram.js';
-export declare const draw: (txt: string, id: string, _version: string, diagObj: Diagram) => void;
-declare const _default: {
- draw: (txt: string, id: string, _version: string, diagObj: Diagram) => void;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDb.d.ts
deleted file mode 100644
index d68412c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDb.d.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-declare namespace _default {
- export { RequirementType };
- export { RiskLevel };
- export { VerifyType };
- export { Relationships };
- export function getConfig(): any;
- export { addRequirement };
- export { getRequirements };
- export { setNewReqId };
- export { setNewReqText };
- export { setNewReqRisk };
- export { setNewReqVerifyMethod };
- export { setAccTitle };
- export { getAccTitle };
- export { setAccDescription };
- export { getAccDescription };
- export { addElement };
- export { getElements };
- export { setNewElementType };
- export { setNewElementDocRef };
- export { addRelationship };
- export { getRelationships };
- export { clear };
-}
-export default _default;
-declare namespace RequirementType {
- let REQUIREMENT: string;
- let FUNCTIONAL_REQUIREMENT: string;
- let INTERFACE_REQUIREMENT: string;
- let PERFORMANCE_REQUIREMENT: string;
- let PHYSICAL_REQUIREMENT: string;
- let DESIGN_CONSTRAINT: string;
-}
-declare namespace RiskLevel {
- let LOW_RISK: string;
- let MED_RISK: string;
- let HIGH_RISK: string;
-}
-declare namespace VerifyType {
- let VERIFY_ANALYSIS: string;
- let VERIFY_DEMONSTRATION: string;
- let VERIFY_INSPECTION: string;
- let VERIFY_TEST: string;
-}
-declare namespace Relationships {
- let CONTAINS: string;
- let COPIES: string;
- let DERIVES: string;
- let SATISFIES: string;
- let VERIFIES: string;
- let REFINES: string;
- let TRACES: string;
-}
-declare function addRequirement(name: any, type: any): any;
-declare function getRequirements(): {};
-declare function setNewReqId(id: any): void;
-declare function setNewReqText(text: any): void;
-declare function setNewReqRisk(risk: any): void;
-declare function setNewReqVerifyMethod(verifyMethod: any): void;
-import { setAccTitle } from '../common/commonDb.js';
-import { getAccTitle } from '../common/commonDb.js';
-import { setAccDescription } from '../common/commonDb.js';
-import { getAccDescription } from '../common/commonDb.js';
-declare function addElement(name: any): any;
-declare function getElements(): {};
-declare function setNewElementType(type: any): void;
-declare function setNewElementDocRef(docRef: any): void;
-declare function addRelationship(type: any, src: any, dst: any): void;
-declare function getRelationships(): any[];
-declare function clear(): void;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementMarkers.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementMarkers.d.ts
deleted file mode 100644
index fed5f94..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementMarkers.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-declare namespace _default {
- export { ReqMarkers };
- export { insertLineEndings };
-}
-export default _default;
-declare namespace ReqMarkers {
- let CONTAINS: string;
- let ARROW: string;
-}
-declare function insertLineEndings(parentNode: any, conf: any): void;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementRenderer.d.ts
deleted file mode 100644
index 698fcc6..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/requirementRenderer.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export function drawReqs(reqs: any, graph: any, svgNode: any): void;
-export function drawElements(els: any, graph: any, svgNode: any): void;
-export function draw(text: any, id: any, _version: any, diagObj: any): void;
-declare namespace _default {
- export { draw };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/requirement/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/requirement/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/parser/sankey.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sankey/parser/sankey.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/parser/sankey.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDB.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDB.d.ts
deleted file mode 100644
index 1eaf4b0..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDB.d.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-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;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyRenderer.d.ts
deleted file mode 100644
index 556d317..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyRenderer.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-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;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyUtils.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyUtils.d.ts
deleted file mode 100644
index e9448d4..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sankey/sankeyUtils.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const prepareTextForParsing: (text: string) => string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDb.d.ts
deleted file mode 100644
index f2723b5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDb.d.ts
+++ /dev/null
@@ -1,153 +0,0 @@
-export function addBox(data: any): void;
-export function addActor(id: any, name: any, description: any, type: any): void;
-export function addMessage(idFrom: any, idTo: any, message: any, answer: any): void;
-export function addSignal(idFrom: any, idTo: any, message: {
- text: undefined;
- wrap: undefined;
-} | undefined, messageType: any, activate?: boolean): boolean;
-export function hasAtLeastOneBox(): boolean;
-export function hasAtLeastOneBoxWithTitle(): boolean;
-export function getMessages(): never[];
-export function getBoxes(): never[];
-export function getActors(): {};
-export function getCreatedActors(): {};
-export function getDestroyedActors(): {};
-export function getActor(id: any): any;
-export function getActorKeys(): string[];
-export function enableSequenceNumbers(): void;
-export function disableSequenceNumbers(): void;
-export function showSequenceNumbers(): boolean;
-export function setWrap(wrapSetting: any): void;
-export function autoWrap(): boolean | undefined;
-export function clear(): void;
-export function parseMessage(str: any): {
- text: any;
- wrap: boolean | undefined;
-};
-export function parseBoxData(str: any): {
- color: any;
- text: string | undefined;
- wrap: boolean | undefined;
-};
-export namespace LINETYPE {
- let SOLID: number;
- let DOTTED: number;
- let NOTE: number;
- let SOLID_CROSS: number;
- let DOTTED_CROSS: number;
- let SOLID_OPEN: number;
- let DOTTED_OPEN: number;
- let LOOP_START: number;
- let LOOP_END: number;
- let ALT_START: number;
- let ALT_ELSE: number;
- let ALT_END: number;
- let OPT_START: number;
- let OPT_END: number;
- let ACTIVE_START: number;
- let ACTIVE_END: number;
- let PAR_START: number;
- let PAR_AND: number;
- let PAR_END: number;
- let RECT_START: number;
- let RECT_END: number;
- let SOLID_POINT: number;
- let DOTTED_POINT: number;
- let AUTONUMBER: number;
- let CRITICAL_START: number;
- let CRITICAL_OPTION: number;
- let CRITICAL_END: number;
- let BREAK_START: number;
- let BREAK_END: number;
- let PAR_OVER_START: number;
-}
-export namespace ARROWTYPE {
- let FILLED: number;
- let OPEN: number;
-}
-export namespace PLACEMENT {
- let LEFTOF: number;
- let RIGHTOF: number;
- let OVER: number;
-}
-export function addNote(actor: any, placement: any, message: any): void;
-export function addLinks(actorId: any, text: any): void;
-export function addALink(actorId: any, text: any): void;
-export function addProperties(actorId: any, text: any): void;
-export function addDetails(actorId: any, text: any): void;
-export function getActorProperty(actor: any, key: any): any;
-export function apply(param: object | object[] | AddMessageParams): void;
-declare namespace _default {
- export { addActor };
- export { addMessage };
- export { addSignal };
- export { addLinks };
- export { addDetails };
- export { addProperties };
- export { autoWrap };
- export { setWrap };
- export { enableSequenceNumbers };
- export { disableSequenceNumbers };
- export { showSequenceNumbers };
- export { getMessages };
- export { getActors };
- export { getCreatedActors };
- export { getDestroyedActors };
- export { getActor };
- export { getActorKeys };
- export { getActorProperty };
- export { getAccTitle };
- export { getBoxes };
- export { getDiagramTitle };
- export { setDiagramTitle };
- export function getConfig(): import("../../config.type.js").SequenceDiagramConfig | undefined;
- export { clear };
- export { parseMessage };
- export { parseBoxData };
- export { LINETYPE };
- export { ARROWTYPE };
- export { PLACEMENT };
- export { addNote };
- export { setAccTitle };
- export { apply };
- export { setAccDescription };
- export { getAccDescription };
- export { hasAtLeastOneBox };
- export { hasAtLeastOneBoxWithTitle };
-}
-export default _default;
-/**
- * A message from one actor to another.
- */
-export type AddMessageParams = {
- /**
- * - The id of the actor sending the message.
- */
- from: string;
- /**
- * - The id of the actor receiving the message.
- */
- to: string;
- /**
- * - The message text.
- */
- msg: string;
- /**
- * - The type of signal.
- */
- signalType: number;
- /**
- * - Set to `"addMessage"` if this is an `AddMessageParams`.
- */
- type: "addMessage";
- /**
- * - If `true`, this signal starts an activation.
- */
- activate?: boolean | undefined;
-};
-import { getAccTitle } from '../common/commonDb.js';
-import { getDiagramTitle } from '../common/commonDb.js';
-import { setDiagramTitle } from '../common/commonDb.js';
-import { setAccTitle } from '../common/commonDb.js';
-import { setAccDescription } from '../common/commonDb.js';
-import { getAccDescription } from '../common/commonDb.js';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceRenderer.d.ts
deleted file mode 100644
index affac21..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/sequenceRenderer.d.ts
+++ /dev/null
@@ -1,202 +0,0 @@
-import type { Diagram } from '../../Diagram.js';
-export declare const bounds: {
- data: {
- startx: undefined;
- stopx: undefined;
- starty: undefined;
- stopy: undefined;
- };
- verticalPos: number;
- sequenceItems: never[];
- activations: never[];
- models: {
- getHeight: () => any;
- clear: () => void;
- addBox: (boxModel: any) => void;
- addActor: (actorModel: any) => void;
- addLoop: (loopModel: any) => void;
- addMessage: (msgModel: any) => void;
- addNote: (noteModel: any) => void;
- lastActor: () => never;
- lastLoop: () => never;
- lastMessage: () => never;
- lastNote: () => never;
- actors: never[];
- boxes: never[];
- loops: never[];
- messages: never[];
- notes: never[];
- };
- init: () => void;
- updateVal: (obj: any, key: any, val: any, fun: any) => void;
- updateBounds: (startx: any, starty: any, stopx: any, stopy: any) => void;
- insert: (startx: any, starty: any, stopx: any, stopy: any) => void;
- newActivation: (message: any, diagram: any, actors: any) => void;
- endActivation: (message: any) => never;
- createLoop: (title: {
- message: undefined;
- wrap: boolean;
- width: undefined;
- } | undefined, fill: any) => {
- startx: undefined;
- starty: number;
- stopx: undefined;
- stopy: undefined;
- title: undefined;
- wrap: boolean;
- width: undefined;
- height: number;
- fill: any;
- };
- newLoop: (title: {
- message: undefined;
- wrap: boolean;
- width: undefined;
- } | undefined, fill: any) => void;
- endLoop: () => undefined;
- isLoopOverlap: () => any;
- addSectionToLoop: (message: any) => void;
- saveVerticalPos: () => void;
- resetVerticalPos: () => void;
- bumpVerticalPos: (bump: any) => void;
- getVerticalPos: () => number;
- getBounds: () => {
- bounds: {
- startx: undefined;
- stopx: undefined;
- starty: undefined;
- stopy: undefined;
- };
- models: {
- getHeight: () => any;
- clear: () => void;
- addBox: (boxModel: any) => void;
- addActor: (actorModel: any) => void;
- addLoop: (loopModel: any) => void;
- addMessage: (msgModel: any) => void;
- addNote: (noteModel: any) => void;
- lastActor: () => never;
- lastLoop: () => never;
- lastMessage: () => never;
- lastNote: () => never;
- actors: never[];
- boxes: never[];
- loops: never[];
- messages: never[];
- notes: never[];
- };
- };
-};
-export declare const drawActors: (diagram: any, actors: any, actorKeys: any, isFooter: any) => Promise<void>;
-export declare const drawActorsPopup: (diagram: any, actors: any, actorKeys: any, doc: any) => {
- maxHeight: number;
- maxWidth: number;
-};
-export declare const setConf: (cnf: any) => void;
-/**
- * Draws a sequenceDiagram in the tag with id: id based on the graph definition in text.
- *
- * @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) => Promise<void>;
-declare const _default: {
- bounds: {
- data: {
- startx: undefined;
- stopx: undefined;
- starty: undefined;
- stopy: undefined;
- };
- verticalPos: number;
- sequenceItems: never[];
- activations: never[];
- models: {
- getHeight: () => any;
- clear: () => void;
- addBox: (boxModel: any) => void;
- addActor: (actorModel: any) => void;
- addLoop: (loopModel: any) => void;
- addMessage: (msgModel: any) => void;
- addNote: (noteModel: any) => void;
- lastActor: () => never;
- lastLoop: () => never;
- lastMessage: () => never;
- lastNote: () => never;
- actors: never[];
- boxes: never[];
- loops: never[];
- messages: never[];
- notes: never[];
- };
- init: () => void;
- updateVal: (obj: any, key: any, val: any, fun: any) => void;
- updateBounds: (startx: any, starty: any, stopx: any, stopy: any) => void;
- insert: (startx: any, starty: any, stopx: any, stopy: any) => void;
- newActivation: (message: any, diagram: any, actors: any) => void;
- endActivation: (message: any) => never;
- createLoop: (title: {
- message: undefined;
- wrap: boolean;
- width: undefined;
- } | undefined, fill: any) => {
- startx: undefined;
- starty: number;
- stopx: undefined;
- stopy: undefined;
- title: undefined;
- wrap: boolean;
- width: undefined;
- height: number;
- fill: any;
- };
- newLoop: (title: {
- message: undefined;
- wrap: boolean;
- width: undefined;
- } | undefined, fill: any) => void;
- endLoop: () => undefined;
- isLoopOverlap: () => any;
- addSectionToLoop: (message: any) => void;
- saveVerticalPos: () => void;
- resetVerticalPos: () => void;
- bumpVerticalPos: (bump: any) => void;
- getVerticalPos: () => number;
- getBounds: () => {
- bounds: {
- startx: undefined;
- stopx: undefined;
- starty: undefined;
- stopy: undefined;
- };
- models: {
- getHeight: () => any;
- clear: () => void;
- addBox: (boxModel: any) => void;
- addActor: (actorModel: any) => void;
- addLoop: (loopModel: any) => void;
- addMessage: (msgModel: any) => void;
- addNote: (noteModel: any) => void;
- lastActor: () => never;
- lastLoop: () => never;
- lastMessage: () => never;
- lastNote: () => never;
- actors: never[];
- boxes: never[];
- loops: never[];
- messages: never[];
- notes: never[];
- };
- };
- };
- drawActors: (diagram: any, actors: any, actorKeys: any, isFooter: any) => Promise<void>;
- drawActorsPopup: (diagram: any, actors: any, actorKeys: any, doc: any) => {
- maxHeight: number;
- maxWidth: number;
- };
- setConf: (cnf: any) => void;
- draw: (_text: string, id: string, _version: string, diagObj: Diagram) => Promise<void>;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sequence/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/svgDraw.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/sequence/svgDraw.d.ts
deleted file mode 100644
index cd7a65e..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/sequence/svgDraw.d.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-export const ACTOR_TYPE_WIDTH: number;
-export function drawRect(elem: any, rectData: any): import("../common/commonTypes.js").D3RectElement;
-export function drawPopup(elem: any, actor: any, minMenuWidth: any, textAttrs: any, forceMenus: any): {
- height: any;
- width: any;
-};
-export function drawKatex(elem: any, textData: any, msgModel?: null): Promise<any[]>;
-export function drawText(elem: any, textData: any): any[];
-export function drawLabel(elem: any, txtObject: any): any;
-export function fixLifeLineHeights(diagram: any, actors: any, actorKeys: any, conf: any): void;
-export function drawActor(elem: any, actor: any, conf: any, isFooter: any): Promise<any>;
-export function drawBox(elem: any, box: any, conf: any): Promise<void>;
-export function anchorElement(elem: any): any;
-export function drawActivation(elem: any, bounds: any, verticalPos: any, conf: any, actorActivations: any): void;
-export function drawLoop(elem: any, loopModel: any, labelText: any, conf: any): any;
-export function drawBackgroundRect(elem: any, bounds: any): void;
-export function insertDatabaseIcon(elem: any): void;
-export function insertComputerIcon(elem: any): void;
-export function insertClockIcon(elem: any): void;
-export function insertArrowHead(elem: any): void;
-export function insertArrowFilledHead(elem: any): void;
-export function insertSequenceNumber(elem: any): void;
-export function insertArrowCrossHead(elem: any): void;
-export function getTextObj(): {
- x: number;
- y: number;
- fill: undefined;
- anchor: undefined;
- style: string;
- width: undefined;
- height: undefined;
- textMargin: number;
- rx: number;
- ry: number;
- tspan: boolean;
- valign: undefined;
-};
-export function getNoteRect(): {
- x: number;
- y: number;
- fill: string;
- stroke: string;
- width: number;
- anchor: string;
- height: number;
- rx: number;
- ry: number;
-};
-declare namespace _default {
- export { drawRect };
- export { drawText };
- export { drawLabel };
- export { drawActor };
- export { drawBox };
- export { drawPopup };
- export { anchorElement };
- export { drawActivation };
- export { drawLoop };
- export { drawBackgroundRect };
- export { insertArrowHead };
- export { insertArrowFilledHead };
- export { insertSequenceNumber };
- export { insertArrowCrossHead };
- export { insertDatabaseIcon };
- export { insertComputerIcon };
- export { insertClockIcon };
- export { getTextObj };
- export { getNoteRect };
- export { fixLifeLineHeights };
- export { sanitizeUrl };
-}
-export default _default;
-import { sanitizeUrl } from '@braintree/sanitize-url';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/id-cache.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/id-cache.d.ts
deleted file mode 100644
index e906bf4..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/id-cache.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-export function set(key: any, val: any): void;
-export function get(k: any): any;
-export function keys(): string[];
-export function size(): number;
-declare namespace _default {
- export { get };
- export { set };
- export { keys };
- export { size };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/shapes.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/shapes.d.ts
deleted file mode 100644
index c4f4439..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/shapes.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-export function drawStartState(g: any): any;
-export function drawDivider(g: any): any;
-export function drawSimpleState(g: any, stateDef: any): any;
-export function drawDescrState(g: any, stateDef: any): any;
-export function addTitleAndBox(g: any, stateDef: any, altBkg: any): any;
-export function drawText(elem: any, textData: any): any;
-export function drawNote(text: any, g: any): any;
-export function drawState(elem: any, stateDef: any): {
- id: any;
- label: any;
- width: number;
- height: number;
-};
-export function drawEdge(elem: any, path: any, relation: any): void;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateCommon.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/stateCommon.d.ts
deleted file mode 100644
index 2a3a1ce..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateCommon.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Constants common to all State Diagram code
- */
-export declare const DEFAULT_DIAGRAM_DIRECTION = "LR";
-export declare const DEFAULT_NESTED_DOC_DIR = "TB";
-export declare const STMT_STATE = "state";
-export declare const STMT_RELATION = "relation";
-export declare const STMT_CLASSDEF = "classDef";
-export declare const STMT_APPLYCLASS = "applyClass";
-export declare const DEFAULT_STATE_TYPE = "default";
-export declare const DIVIDER_TYPE = "divider";
-declare const _default: {
- DEFAULT_DIAGRAM_DIRECTION: string;
- DEFAULT_NESTED_DOC_DIR: string;
- STMT_STATE: string;
- STMT_RELATION: string;
- STMT_CLASSDEF: string;
- STMT_APPLYCLASS: string;
- DEFAULT_STATE_TYPE: string;
- DIVIDER_TYPE: string;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDb.d.ts
deleted file mode 100644
index 47ce24c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDb.d.ts
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- *
- * @param item1
- * @param item2
- * @param relationTitle
- */
-export function addRelationObjs(item1: any, item2: any, relationTitle: any): void;
-export namespace lineType {
- let LINE: number;
- let DOTTED_LINE: number;
-}
-export namespace relationType {
- let AGGREGATION: number;
- let EXTENSION: number;
- let COMPOSITION: number;
- let DEPENDENCY: number;
-}
-export function addState(id: null | string, type?: null | string, doc?: null | string, descr?: null | string | string[], note?: null | string, classes?: null | string | string[], styles?: null | string | string[], textStyles?: null | string | string[]): void;
-export function clear(saveCommon: any): void;
-export function getState(id: any): any;
-export function getStates(): {};
-export function logDocuments(): void;
-export function getRelations(): never[];
-export function addRelation(item1: string | object, item2: string | object, title: string): void;
-export function addDescription(id: any, descr: any): void;
-export function cleanupLabel(label: any): any;
-export function addStyleClass(id: string, styleAttributes?: string | null): void;
-export function getClasses(): {} | any | {};
-export function setCssClass(itemIds: string | string[], cssClassName: string): void;
-export function setStyle(itemId: any, styleText: any): void;
-export function setTextStyle(itemId: any, cssClassName: any): void;
-declare namespace _default {
- export function getConfig(): import("../../config.type.js").StateDiagramConfig | undefined;
- export { addState };
- export { clear };
- export { getState };
- export { getStates };
- export { getRelations };
- export { getClasses };
- export { getDirection };
- export { addRelation };
- export { getDividerId };
- export { setDirection };
- export { cleanupLabel };
- export { lineType };
- export { relationType };
- export { logDocuments };
- export { getRootDoc };
- export { setRootDoc };
- export { getRootDocV2 };
- export { extract };
- export { trimColon };
- export { getAccTitle };
- export { setAccTitle };
- export { getAccDescription };
- export { setAccDescription };
- export { addStyleClass };
- export { setCssClass };
- export { addDescription };
- export { setDiagramTitle };
- export { getDiagramTitle };
-}
-export default _default;
-declare function getDirection(): string;
-declare function getDividerId(): string;
-declare function setDirection(dir: any): void;
-declare function getRootDoc(): any[];
-declare function setRootDoc(o: any): void;
-declare function getRootDocV2(): {
- id: string;
- doc: any[];
-};
-/**
- * Convert all of the statements (stmts) that were parsed into states and relationships.
- * This is done because a state diagram may have nested sections,
- * where each section is a 'document' and has its own set of statements.
- * Ex: the section within a fork has its own statements, and incoming and outgoing statements
- * refer to the fork as a whole (document).
- * See the parser grammar: the definition of a document is a document then a 'line', where a line can be a statement.
- * This will push the statement into the the list of statements for the current document.
- *
- * @param _doc
- */
-declare function extract(_doc: any): void;
-declare function trimColon(str: any): any;
-import { getAccTitle } from '../common/commonDb.js';
-import { setAccTitle } from '../common/commonDb.js';
-import { getAccDescription } from '../common/commonDb.js';
-import { setAccDescription } from '../common/commonDb.js';
-import { setDiagramTitle } from '../common/commonDb.js';
-import { getDiagramTitle } from '../common/commonDb.js';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDetector-V2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDetector-V2.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDetector-V2.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDiagram-v2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDiagram-v2.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDiagram-v2.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateRenderer-v2.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/stateRenderer-v2.d.ts
deleted file mode 100644
index b6be866..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateRenderer-v2.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Create a standard string for the dom ID of an item.
- * If a type is given, insert that before the counter, preceded by the type spacer
- *
- * @param itemId
- * @param counter
- * @param {string | null} type
- * @param typeSpacer
- * @returns {string}
- */
-export function stateDomId(itemId?: string, counter?: number, type?: string | null, typeSpacer?: string): string;
-export function setConf(cnf: any): void;
-export function getClasses(text: string, diagramObj: any): Record<string, import('../../diagram-api/types.js').DiagramStyleClassDef>;
-export function draw(text: any, id: any, _version: any, diag: any): Promise<void>;
-declare namespace _default {
- export { setConf };
- export { getClasses };
- export { draw };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/stateRenderer.d.ts
deleted file mode 100644
index 43eebd3..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/stateRenderer.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export function setConf(): void;
-export function draw(text: any, id: any, _version: any, diagObj: any): void;
-declare namespace _default {
- export { setConf };
- export { draw };
-}
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/state/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/state/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/state/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/detector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/timeline/detector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/detector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/timeline/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts
deleted file mode 100644
index 4c49f97..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-export function drawRect(elem: any, rectData: any): any;
-export function drawFace(element: any, faceData: any): any;
-export function drawCircle(element: any, circleData: any): any;
-export function drawText(elem: any, textData: any): any;
-export function drawLabel(elem: any, txtObject: any): void;
-export function drawSection(elem: any, section: any, conf: any): void;
-export function drawTask(elem: any, task: any, conf: any): void;
-export function drawBackgroundRect(elem: any, bounds: any): void;
-export function getTextObj(): {
- x: number;
- y: number;
- fill: undefined;
- 'text-anchor': string;
- width: number;
- height: number;
- textMargin: number;
- rx: number;
- ry: number;
-};
-export function getNoteRect(): {
- x: number;
- y: number;
- width: number;
- anchor: string;
- height: number;
- rx: number;
- ry: number;
-};
-export function drawNode(elem: any, node: any, fullSection: any, conf: any): any;
-export function getVirtualNodeHeight(elem: any, node: any, conf: any): any;
-declare namespace _default {
- export { drawRect };
- export { drawCircle };
- export { drawSection };
- export { drawText };
- export { drawLabel };
- export { drawTask };
- export { drawBackgroundRect };
- export { getTextObj };
- export { getNoteRect };
- export { initGraphics };
- export { drawNode };
- export { getVirtualNodeHeight };
-}
-export default _default;
-declare function initGraphics(graphics: any): void;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timeline-definition.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timeline-definition.d.ts
deleted file mode 100644
index 006d393..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timeline-definition.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import * as db from './timelineDb.js';
-export declare const diagram: {
- db: typeof db;
- renderer: {
- setConf: () => void;
- draw: (text: string, id: string, version: string, diagObj: import("../../Diagram.js").Diagram) => void;
- };
- parser: any;
- styles: (options: any) => string;
-};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timelineDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timelineDb.d.ts
deleted file mode 100644
index aa55f8b..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timelineDb.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-export function getCommonDb(): typeof commonDb;
-export function clear(): void;
-export function addSection(txt: any): void;
-export function getSections(): any[];
-export function getTasks(): any[];
-export function addTask(period: any, length: any, event: any): void;
-export function addEvent(event: any): void;
-export function addTaskOrg(descr: any): void;
-declare namespace _default {
- export { clear };
- export { getCommonDb };
- export { addSection };
- export { getSections };
- export { getTasks };
- export { addTask };
- export { addTaskOrg };
- export { addEvent };
-}
-export default _default;
-import * as commonDb from '../common/commonDb.js';
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timelineRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timelineRenderer.d.ts
deleted file mode 100644
index ac06256..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/timelineRenderer.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import type { Selection } from 'd3';
-import type { Diagram } from '../../Diagram.js';
-import type { MermaidConfig } from '../../config.type.js';
-interface TimelineTask {
- id: number;
- section: string;
- type: string;
- task: string;
- score: number;
- events: string[];
-}
-export declare const draw: (text: string, id: string, version: string, diagObj: Diagram) => void;
-export declare const drawTasks: (diagram: Selection<SVGElement, unknown, null, undefined>, tasks: TimelineTask[], sectionColor: number, masterX: number, masterY: number, maxTaskHeight: number, conf: MermaidConfig, maxEventCount: number, maxEventLineLength: number, maxSectionHeight: number, isWithoutSections: boolean) => void;
-export declare const drawEvents: (diagram: Selection<SVGElement, unknown, null, undefined>, events: string[], sectionColor: number, masterX: number, masterY: number, conf: MermaidConfig) => number;
-declare const _default: {
- setConf: () => void;
- draw: (text: string, id: string, version: string, diagObj: Diagram) => void;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDb.d.ts
deleted file mode 100644
index ef7a694..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDb.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-export function clear(): void;
-export function addSection(txt: any): void;
-export function getSections(): any[];
-export function getTasks(): any[];
-export function addTask(descr: any, taskData: any): void;
-export function addTaskOrg(descr: any): void;
-declare namespace _default {
- export function getConfig(): import("../../config.type.js").JourneyDiagramConfig | undefined;
- export { clear };
- export { setDiagramTitle };
- export { getDiagramTitle };
- export { setAccTitle };
- export { getAccTitle };
- export { setAccDescription };
- export { getAccDescription };
- export { addSection };
- export { getSections };
- export { getTasks };
- export { addTask };
- export { addTaskOrg };
- export { getActors };
-}
-export default _default;
-import { setDiagramTitle } from '../common/commonDb.js';
-import { getDiagramTitle } from '../common/commonDb.js';
-import { setAccTitle } from '../common/commonDb.js';
-import { getAccTitle } from '../common/commonDb.js';
-import { setAccDescription } from '../common/commonDb.js';
-import { getAccDescription } from '../common/commonDb.js';
-declare function getActors(): any[];
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyRenderer.d.ts
deleted file mode 100644
index 34a36fc..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/journeyRenderer.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-export declare const setConf: (cnf: any) => void;
-export declare const draw: (text: any, id: any, version: any, diagObj: any) => void;
-export declare const bounds: {
- data: {
- startx: undefined;
- stopx: undefined;
- starty: undefined;
- stopy: undefined;
- };
- verticalPos: number;
- sequenceItems: never[];
- init: () => void;
- updateVal: (obj: any, key: any, val: any, fun: any) => void;
- updateBounds: (startx: any, starty: any, stopx: any, stopy: any) => void;
- insert: (startx: any, starty: any, stopx: any, stopy: any) => void;
- bumpVerticalPos: (bump: any) => void;
- getVerticalPos: () => number;
- getBounds: () => {
- startx: undefined;
- stopx: undefined;
- starty: undefined;
- stopy: undefined;
- };
-};
-export declare const drawTasks: (diagram: any, tasks: any, verticalPos: any) => void;
-declare const _default: {
- setConf: (cnf: any) => void;
- draw: (text: any, id: any, version: any, diagObj: any) => void;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/styles.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/styles.d.ts
deleted file mode 100644
index 1d8e7c5..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/styles.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export default getStyles;
-declare function getStyles(options: any): string;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/svgDraw.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/svgDraw.d.ts
deleted file mode 100644
index 569a5f1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/user-journey/svgDraw.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-export function drawRect(elem: any, rectData: any): import("../common/commonTypes.js").D3RectElement;
-export function drawFace(element: any, faceData: any): any;
-export function drawCircle(element: any, circleData: any): any;
-export function drawText(elem: any, textData: any): import("../common/commonTypes.js").D3TextElement;
-export function drawLabel(elem: any, txtObject: any): void;
-export function drawSection(elem: any, section: any, conf: any): void;
-export function drawTask(elem: any, task: any, conf: any): void;
-export function drawBackgroundRect(elem: any, bounds: any): void;
-declare namespace _default {
- export { drawRect };
- export { drawCircle };
- export { drawSection };
- export { drawText };
- export { drawLabel };
- export { drawTask };
- export { drawBackgroundRect };
- export { initGraphics };
-}
-export default _default;
-declare function initGraphics(graphics: any): void;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/bandAxis.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/bandAxis.d.ts
deleted file mode 100644
index 91cea40..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/bandAxis.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { TextDimensionCalculator } from '../../textDimensionCalculator.js';
-import { BaseAxis } from './baseAxis.js';
-import type { XYChartAxisThemeConfig, XYChartAxisConfig } from '../../interfaces.js';
-export declare class BandAxis extends BaseAxis {
- private scale;
- private categories;
- constructor(axisConfig: XYChartAxisConfig, axisThemeConfig: XYChartAxisThemeConfig, categories: string[], title: string, textDimensionCalculator: TextDimensionCalculator);
- setRange(range: [number, number]): void;
- recalculateScale(): void;
- getTickValues(): (string | number)[];
- getScaleValue(value: string): number;
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/baseAxis.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/baseAxis.d.ts
deleted file mode 100644
index fca4df7..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/baseAxis.d.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-import type { BoundingRect, Dimension, DrawableElem, Point, XYChartAxisConfig, XYChartAxisThemeConfig } from '../../interfaces.js';
-import type { TextDimensionCalculator } from '../../textDimensionCalculator.js';
-import type { Axis, AxisPosition } from './index.js';
-export declare abstract class BaseAxis implements Axis {
- protected axisConfig: XYChartAxisConfig;
- protected title: string;
- protected textDimensionCalculator: TextDimensionCalculator;
- protected axisThemeConfig: XYChartAxisThemeConfig;
- protected boundingRect: BoundingRect;
- protected axisPosition: AxisPosition;
- private range;
- protected showTitle: boolean;
- protected showLabel: boolean;
- protected showTick: boolean;
- protected showAxisLine: boolean;
- protected outerPadding: number;
- protected titleTextHeight: number;
- protected labelTextHeight: number;
- constructor(axisConfig: XYChartAxisConfig, title: string, textDimensionCalculator: TextDimensionCalculator, axisThemeConfig: XYChartAxisThemeConfig);
- setRange(range: [number, number]): void;
- getRange(): [number, number];
- setAxisPosition(axisPosition: AxisPosition): void;
- abstract getScaleValue(value: number | string): number;
- abstract recalculateScale(): void;
- abstract getTickValues(): Array<string | number>;
- getTickDistance(): number;
- getAxisOuterPadding(): number;
- private getLabelDimension;
- recalculateOuterPaddingToDrawBar(): void;
- private calculateSpaceIfDrawnHorizontally;
- private calculateSpaceIfDrawnVertical;
- calculateSpace(availableSpace: Dimension): Dimension;
- setBoundingBoxXY(point: Point): void;
- private getDrawableElementsForLeftAxis;
- private getDrawableElementsForBottomAxis;
- private getDrawableElementsForTopAxis;
- getDrawableElements(): DrawableElem[];
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/index.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/index.d.ts
deleted file mode 100644
index c982214..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/index.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { Group } from '../../../../../diagram-api/types.js';
-import type { AxisDataType, ChartComponent, XYChartAxisConfig, XYChartAxisThemeConfig } from '../../interfaces.js';
-export type AxisPosition = 'left' | 'right' | 'top' | 'bottom';
-export interface Axis extends ChartComponent {
- getScaleValue(value: string | number): number;
- setAxisPosition(axisPosition: AxisPosition): void;
- getAxisOuterPadding(): number;
- getTickDistance(): number;
- recalculateOuterPaddingToDrawBar(): void;
- setRange(range: [number, number]): void;
-}
-export declare function getAxis(data: AxisDataType, axisConfig: XYChartAxisConfig, axisThemeConfig: XYChartAxisThemeConfig, tmpSVGGroup: Group): Axis;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts
deleted file mode 100644
index 869b751..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import type { TextDimensionCalculator } from '../../textDimensionCalculator.js';
-import { BaseAxis } from './baseAxis.js';
-import type { XYChartAxisThemeConfig, XYChartAxisConfig } from '../../interfaces.js';
-export declare class LinearAxis extends BaseAxis {
- private scale;
- private domain;
- constructor(axisConfig: XYChartAxisConfig, axisThemeConfig: XYChartAxisThemeConfig, domain: [number, number], title: string, textDimensionCalculator: TextDimensionCalculator);
- getTickValues(): (string | number)[];
- recalculateScale(): void;
- getScaleValue(value: number): number;
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/chartTitle.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/chartTitle.d.ts
deleted file mode 100644
index 6e249a3..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/chartTitle.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import type { Group } from '../../../../diagram-api/types.js';
-import type { ChartComponent, Dimension, DrawableElem, Point, XYChartData, XYChartThemeConfig, XYChartConfig } from '../interfaces.js';
-import type { TextDimensionCalculator } from '../textDimensionCalculator.js';
-export declare class ChartTitle implements ChartComponent {
- private textDimensionCalculator;
- private chartConfig;
- private chartData;
- private chartThemeConfig;
- private boundingRect;
- private showChartTitle;
- constructor(textDimensionCalculator: TextDimensionCalculator, chartConfig: XYChartConfig, chartData: XYChartData, chartThemeConfig: XYChartThemeConfig);
- setBoundingBoxXY(point: Point): void;
- calculateSpace(availableSpace: Dimension): Dimension;
- getDrawableElements(): DrawableElem[];
-}
-export declare function getChartTitleComponent(chartConfig: XYChartConfig, chartData: XYChartData, chartThemeConfig: XYChartThemeConfig, tmpSVGGroup: Group): ChartComponent;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/barPlot.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/barPlot.d.ts
deleted file mode 100644
index 60bc08e..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/barPlot.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { BarPlotData, BoundingRect, DrawableElem, XYChartConfig } from '../../interfaces.js';
-import type { Axis } from '../axis/index.js';
-export declare class BarPlot {
- private barData;
- private boundingRect;
- private xAxis;
- private yAxis;
- private orientation;
- private plotIndex;
- constructor(barData: BarPlotData, boundingRect: BoundingRect, xAxis: Axis, yAxis: Axis, orientation: XYChartConfig['chartOrientation'], plotIndex: number);
- getDrawableElement(): DrawableElem[];
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/index.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/index.d.ts
deleted file mode 100644
index ae8b5a0..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/index.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import type { XYChartData, Dimension, DrawableElem, Point, XYChartThemeConfig, XYChartConfig } from '../../interfaces.js';
-import type { Axis } from '../axis/index.js';
-import type { ChartComponent } from '../../interfaces.js';
-export interface Plot extends ChartComponent {
- setAxes(xAxis: Axis, yAxis: Axis): void;
-}
-export declare class BasePlot implements Plot {
- private chartConfig;
- private chartData;
- private chartThemeConfig;
- private boundingRect;
- private xAxis?;
- private yAxis?;
- constructor(chartConfig: XYChartConfig, chartData: XYChartData, chartThemeConfig: XYChartThemeConfig);
- setAxes(xAxis: Axis, yAxis: Axis): void;
- setBoundingBoxXY(point: Point): void;
- calculateSpace(availableSpace: Dimension): Dimension;
- getDrawableElements(): DrawableElem[];
-}
-export declare function getPlotComponent(chartConfig: XYChartConfig, chartData: XYChartData, chartThemeConfig: XYChartThemeConfig): Plot;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/linePlot.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/linePlot.d.ts
deleted file mode 100644
index bc268c3..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/plot/linePlot.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import type { DrawableElem, LinePlotData, XYChartConfig } from '../../interfaces.js';
-import type { Axis } from '../axis/index.js';
-export declare class LinePlot {
- private plotData;
- private xAxis;
- private yAxis;
- private orientation;
- private plotIndex;
- constructor(plotData: LinePlotData, xAxis: Axis, yAxis: Axis, orientation: XYChartConfig['chartOrientation'], plotIndex: number);
- getDrawableElement(): DrawableElem[];
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/index.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/index.d.ts
deleted file mode 100644
index f7d33b8..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/index.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { Group } from '../../../diagram-api/types.js';
-import type { DrawableElem, XYChartConfig, XYChartData, XYChartThemeConfig } from './interfaces.js';
-export declare class XYChartBuilder {
- static build(config: XYChartConfig, chartData: XYChartData, chartThemeConfig: XYChartThemeConfig, tmpSVGGroup: Group): DrawableElem[];
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/interfaces.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/interfaces.d.ts
deleted file mode 100644
index bbf7194..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/interfaces.d.ts
+++ /dev/null
@@ -1,132 +0,0 @@
-export interface XYChartAxisThemeConfig {
- titleColor: string;
- labelColor: string;
- tickColor: string;
- axisLineColor: string;
-}
-export interface XYChartThemeConfig {
- backgroundColor: string;
- titleColor: string;
- xAxisLabelColor: string;
- xAxisTitleColor: string;
- xAxisTickColor: string;
- xAxisLineColor: string;
- yAxisLabelColor: string;
- yAxisTitleColor: string;
- yAxisTickColor: string;
- yAxisLineColor: string;
- plotColorPalette: string;
-}
-export interface ChartComponent {
- calculateSpace(availableSpace: Dimension): Dimension;
- setBoundingBoxXY(point: Point): void;
- getDrawableElements(): DrawableElem[];
-}
-export type SimplePlotDataType = [string, number][];
-export interface LinePlotData {
- type: 'line';
- strokeFill: string;
- strokeWidth: number;
- data: SimplePlotDataType;
-}
-export interface BarPlotData {
- type: 'bar';
- fill: string;
- data: SimplePlotDataType;
-}
-export type PlotData = LinePlotData | BarPlotData;
-export declare function isBarPlot(data: PlotData): data is BarPlotData;
-export interface BandAxisDataType {
- type: 'band';
- title: string;
- categories: string[];
-}
-export interface LinearAxisDataType {
- type: 'linear';
- title: string;
- min: number;
- max: number;
-}
-export type AxisDataType = LinearAxisDataType | BandAxisDataType;
-export declare function isBandAxisData(data: AxisDataType): data is BandAxisDataType;
-export declare function isLinearAxisData(data: AxisDataType): data is LinearAxisDataType;
-/**
- * For now we are keeping this configs as we are removing the required fields while generating the config.type.ts file
- * we should remove `XYChartAxisConfig` and `XYChartConfig` after we started using required fields
- */
-export interface XYChartAxisConfig {
- showLabel: boolean;
- labelFontSize: number;
- labelPadding: number;
- showTitle: boolean;
- titleFontSize: number;
- titlePadding: number;
- showTick: boolean;
- tickLength: number;
- tickWidth: number;
- showAxisLine: boolean;
- axisLineWidth: number;
-}
-export interface XYChartConfig {
- width: number;
- height: number;
- titleFontSize: number;
- titlePadding: number;
- showTitle: boolean;
- xAxis: XYChartAxisConfig;
- yAxis: XYChartAxisConfig;
- chartOrientation: 'vertical' | 'horizontal';
- plotReservedSpacePercent: number;
-}
-export interface XYChartData {
- xAxis: AxisDataType;
- yAxis: AxisDataType;
- title: string;
- plots: PlotData[];
-}
-export interface Dimension {
- width: number;
- height: number;
-}
-export interface BoundingRect extends Point, Dimension {
-}
-export interface Point {
- x: number;
- y: number;
-}
-export type TextHorizontalPos = 'left' | 'center' | 'right';
-export type TextVerticalPos = 'top' | 'middle';
-export interface RectElem extends Point {
- width: number;
- height: number;
- fill: string;
- strokeWidth: number;
- strokeFill: string;
-}
-export interface TextElem extends Point {
- text: string;
- fill: string;
- verticalPos: TextVerticalPos;
- horizontalPos: TextHorizontalPos;
- fontSize: number;
- rotation: number;
-}
-export interface PathElem {
- path: string;
- fill?: string;
- strokeWidth: number;
- strokeFill: string;
-}
-export type DrawableElem = {
- groupTexts: string[];
- type: 'rect';
- data: RectElem[];
-} | {
- groupTexts: string[];
- type: 'text';
- data: TextElem[];
-} | {
- groupTexts: string[];
- type: 'path';
- data: PathElem[];
-};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/orchestrator.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/orchestrator.d.ts
deleted file mode 100644
index 30bbb82..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/orchestrator.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { DrawableElem, XYChartConfig, XYChartData, XYChartThemeConfig } from './interfaces.js';
-import type { Group } from '../../../diagram-api/types.js';
-export declare class Orchestrator {
- private chartConfig;
- private chartData;
- private componentStore;
- constructor(chartConfig: XYChartConfig, chartData: XYChartData, chartThemeConfig: XYChartThemeConfig, tmpSVGGroup: Group);
- private calculateVerticalSpace;
- private calculateHorizontalSpace;
- private calculateSpace;
- getDrawableElement(): DrawableElem[];
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts
deleted file mode 100644
index e648b03..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import type { Dimension } from './interfaces.js';
-import type { Group } from '../../../diagram-api/types.js';
-export interface TextDimensionCalculator {
- getMaxDimension(texts: string[], fontSize: number): Dimension;
-}
-export declare class TextDimensionCalculatorWithFont implements TextDimensionCalculator {
- private parentGroup;
- constructor(parentGroup: Group);
- getMaxDimension(texts: string[], fontSize: number): Dimension;
-}
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/parser/xychart.jison.spec.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/parser/xychart.jison.spec.d.ts
deleted file mode 100644
index cb0ff5c..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/parser/xychart.jison.spec.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export {};
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts
deleted file mode 100644
index b5cf5a2..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-import type { DrawableElem, XYChartConfig, XYChartThemeConfig } from './chartBuilder/interfaces.js';
-import type { Group } from '../../diagram-api/types.js';
-interface NormalTextType {
- type: 'text';
- text: string;
-}
-declare function setTmpSVGG(SVGG: Group): void;
-declare function setOrientation(orientation: string): void;
-declare function setXAxisTitle(title: NormalTextType): void;
-declare function setXAxisRangeData(min: number, max: number): void;
-declare function setXAxisBand(categories: NormalTextType[]): void;
-declare function setYAxisTitle(title: NormalTextType): void;
-declare function setYAxisRangeData(min: number, max: number): void;
-declare function setLineData(title: NormalTextType, data: number[]): void;
-declare function setBarData(title: NormalTextType, data: number[]): void;
-declare function getDrawableElem(): DrawableElem[];
-declare function getChartThemeConfig(): XYChartThemeConfig;
-declare function getChartConfig(): XYChartConfig;
-declare const _default: {
- getDrawableElem: typeof getDrawableElem;
- clear: () => void;
- setAccTitle: (txt: string) => void;
- getAccTitle: () => string;
- setDiagramTitle: (txt: string) => void;
- getDiagramTitle: () => string;
- getAccDescription: () => string;
- setAccDescription: (txt: string) => void;
- setOrientation: typeof setOrientation;
- setXAxisTitle: typeof setXAxisTitle;
- setXAxisRangeData: typeof setXAxisRangeData;
- setXAxisBand: typeof setXAxisBand;
- setYAxisTitle: typeof setYAxisTitle;
- setYAxisRangeData: typeof setYAxisRangeData;
- setLineData: typeof setLineData;
- setBarData: typeof setBarData;
- setTmpSVGG: typeof setTmpSVGG;
- getChartThemeConfig: typeof getChartThemeConfig;
- getChartConfig: typeof getChartConfig;
-};
-export default _default;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDetector.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDetector.d.ts
deleted file mode 100644
index 46efe84..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDetector.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
-declare const plugin: ExternalDiagramDefinition;
-export default plugin;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDiagram.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDiagram.d.ts
deleted file mode 100644
index f7aaea1..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDiagram.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import type { DiagramDefinition } from '../../diagram-api/types.js';
-export declare const diagram: DiagramDefinition;
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartRenderer.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartRenderer.d.ts
deleted file mode 100644
index b91b530..0000000
--- a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartRenderer.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { Diagram } from '../../Diagram.js';
-export declare const draw: (txt: string, id: string, _version: string, diagObj: Diagram) => void;
-declare const _default: {
- draw: (txt: string, id: string, _version: string, diagObj: Diagram) => void;
-};
-export default _default;