config redirect

This commit is contained in:
Nuno Coração
2023-01-29 22:30:24 +00:00
parent 17557c7d73
commit 5fb4bd8083
9905 changed files with 1258996 additions and 36355 deletions
+79
View File
@@ -0,0 +1,79 @@
export function parseDirective(statement: any, context: any, type: any): void;
export function addClass(id: any): void;
export function lookUpDomId(id: any): any;
export function clear(): void;
export function getClass(id: any): any;
export function getClasses(): {};
export function getRelations(): any[];
export function getNotes(): any[];
export function addRelation(relation: any): void;
export function addAnnotation(className: any, annotation: any): void;
export function addMember(className: any, member: any): void;
export function addMembers(className: any, members: any): void;
export function addNote(text: any, className: any): void;
export function cleanupLabel(label: any): string;
export function setCssClass(ids: any, className: any): void;
export function getTooltip(id: any): any;
export function setLink(ids: any, linkStr: any, target: any): void;
export function setClickEvent(ids: any, functionName: any, functionArgs: any): void;
export function bindFunctions(element: any): void;
export namespace lineType {
const LINE: number;
const DOTTED_LINE: number;
}
export namespace relationType {
const AGGREGATION: number;
const EXTENSION: number;
const COMPOSITION: number;
const DEPENDENCY: number;
const LOLLIPOP: number;
}
declare namespace _default {
export { parseDirective };
export { setAccTitle };
export { getAccTitle };
export { getAccDescription };
export { setAccDescription };
export function getConfig(): import("../../config.type").ClassDiagramConfig | undefined;
export { addClass };
export { bindFunctions };
export { clear };
export { getClass };
export { getClasses };
export { getNotes };
export { addAnnotation };
export { addNote };
export { getRelations };
export { addRelation };
export { getDirection };
export { setDirection };
export { addMember };
export { addMembers };
export { cleanupLabel };
export { lineType };
export { relationType };
export { setClickEvent };
export { setCssClass };
export { setLink };
export { getTooltip };
export { setTooltip };
export { lookUpDomId };
export { setDiagramTitle };
export { getDiagramTitle };
}
export default _default;
import { setAccTitle } from "../../commonDb";
import { getAccTitle } from "../../commonDb";
import { getAccDescription } from "../../commonDb";
import { setAccDescription } from "../../commonDb";
declare function getDirection(): string;
declare function setDirection(dir: any): void;
/**
* Called by parser when a tooltip is found, e.g. a clickable element.
*
* @param ids Comma separated list of ids
* @param tooltip Tooltip to add
*/
declare function setTooltip(ids: any, tooltip: any): void;
import { setDiagramTitle } from "../../commonDb";
import { getDiagramTitle } from "../../commonDb";
+2
View File
@@ -0,0 +1,2 @@
import type { DiagramDetector } from '../../diagram-api/types';
export declare const classDetectorV2: DiagramDetector;
+2
View File
@@ -0,0 +1,2 @@
import type { DiagramDetector } from '../../diagram-api/types';
export declare const classDetector: DiagramDetector;
+22
View File
@@ -0,0 +1,22 @@
export function addClasses(classes: {
[x: string]: {
cssClasses: string[];
text: string;
id: string;
type: string;
domId: string;
};
}, g: SVGGElement, _id: any, diagObj: any): void;
export function addNotes(notes: {
text: string;
class: string;
placement: number;
}[], g: SVGGElement, startEdgeId: number, classes: any): void;
export function addRelations(relations: any, g: object): void;
export function setConf(cnf: object): void;
export function draw(text: string, id: string, _version: any, diagObj: any): void;
declare namespace _default {
export { setConf };
export { draw };
}
export default _default;
+5
View File
@@ -0,0 +1,5 @@
export function draw(text: string, id: string, _version: any, diagObj: any): void;
declare namespace _default {
export { draw };
}
export default _default;
+2
View File
@@ -0,0 +1,2 @@
export default getStyles;
declare function getStyles(options: any): string;
+28
View File
@@ -0,0 +1,28 @@
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 drawNote(elem: SVGSVGElement, note: {
id: string;
text: string;
class: string;
}, conf: any, diagObj: any): {
id: string;
text: string;
width: number;
height: number;
};
export function parseMember(text: any): {
displayText: string;
cssStyle: string;
};
declare namespace _default {
export { drawClass };
export { drawEdge };
export { drawNote };
export { parseMember };
}
export default _default;