state sync
This commit is contained in:
24
app/basepak/static/js/mermaid/rendering-util/rendering-elements/shapes/handDrawnShapeStyles.d.ts
vendored
Normal file
24
app/basepak/static/js/mermaid/rendering-util/rendering-elements/shapes/handDrawnShapeStyles.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import type { Node } from '../../types.js';
|
||||
export declare const solidStateFill: (color: string) => {
|
||||
fill: string;
|
||||
hachureAngle: number;
|
||||
hachureGap: number;
|
||||
fillWeight: number;
|
||||
roughness: number;
|
||||
stroke: string;
|
||||
seed: number | undefined;
|
||||
};
|
||||
export declare const compileStyles: (node: Node) => {
|
||||
stylesMap: Map<string, string>;
|
||||
stylesArray: [string, string][];
|
||||
};
|
||||
export declare const styles2Map: (styles: string[]) => Map<string, string>;
|
||||
export declare const isLabelStyle: (key: string) => key is "font-family" | "font-size" | "font-weight" | "font-style" | "text-align" | "white-space" | "color" | "text-decoration" | "text-transform" | "line-height" | "letter-spacing" | "word-spacing" | "text-shadow" | "text-overflow" | "word-wrap" | "word-break" | "overflow-wrap" | "hyphens";
|
||||
export declare const styles2String: (node: Node) => {
|
||||
labelStyles: string;
|
||||
nodeStyles: string;
|
||||
stylesArray: [string, string][];
|
||||
borderStyles: string[];
|
||||
backgroundStyles: string[];
|
||||
};
|
||||
export declare const userNodeOverrides: (node: Node, options: any) => any;
|
||||
Reference in New Issue
Block a user