state sync
This commit is contained in:
14
app/basepak/static/js/mermaid/diagrams/treemap/utils.d.ts
vendored
Normal file
14
app/basepak/static/js/mermaid/diagrams/treemap/utils.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { TreemapNode } from './types.js';
|
||||
/**
|
||||
* Converts a flat array of treemap items into a hierarchical structure
|
||||
* @param items - Array of flat treemap items with level, name, type, and optional value
|
||||
* @returns A hierarchical tree structure
|
||||
*/
|
||||
export declare function buildHierarchy(items: {
|
||||
level: number;
|
||||
name: string;
|
||||
type: string;
|
||||
value?: number;
|
||||
classSelector?: string;
|
||||
cssCompiledStyles?: string;
|
||||
}[]): TreemapNode[];
|
||||
Reference in New Issue
Block a user