summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/diagrams/mindmap
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-07-15 22:27:55 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-07-15 22:27:55 +0200
commit3be5285488090ab70254b3080e33e64e6c702d2c (patch)
tree1e54462f560fd759b5be13d5ecfe1fa5c2c832ed /themes/blowfish/assets/lib/mermaid/diagrams/mindmap
parent69075c6fb15ae660fc3d78eb2a4dfcde1c5fba1c (diff)
sync theme
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/diagrams/mindmap')
-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
8 files changed, 0 insertions, 93 deletions
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;