完成世界书、骰子、apiconfig页面处理

This commit is contained in:
2026-04-30 01:35:10 +08:00
parent a3e3711b2b
commit ba9b925c32
4602 changed files with 785225 additions and 23 deletions

View File

@@ -0,0 +1,18 @@
import type { EdgeData, Point } from '../types.js';
export declare const markerOffsets: {
readonly aggregation: 17.25;
readonly extension: 17.25;
readonly composition: 17.25;
readonly dependency: 6;
readonly lollipop: 13.5;
readonly arrow_point: 4;
};
export declare const markerOffsets2: {
readonly arrow_point: 9;
readonly arrow_cross: 12.5;
readonly arrow_circle: 12.5;
};
export declare const getLineFunctionsWithOffset: (edge: Pick<EdgeData, "arrowTypeStart" | "arrowTypeEnd">) => {
x: (this: void, d: Point | [number, number], i: number, data: (Point | [number, number])[]) => number;
y: (this: void, d: Point | [number, number], i: number, data: (Point | [number, number])[]) => number;
};

View File

@@ -0,0 +1,7 @@
/**
* Sanitizes directive objects
*
* @param args - Directive's JSON
*/
export declare const sanitizeDirective: (args: any) => void;
export declare const sanitizeCss: (str: string) => string;