UNPKG

userpravah

Version:

UserPravah is an extensible, framework-agnostic tool for analyzing user flows and navigation patterns in web applications. It supports multiple frameworks (Angular, React) and output formats (DOT/Graphviz, JSON) with a plugin-based architecture for easy e

38 lines (37 loc) 1.39 kB
import { IFrameworkAnalyzer } from "../../core/framework-analyzer.interface.js"; import { ProjectAnalysisOptions, AnalysisResult } from "../../core/types.js"; export declare class AngularAnalyzer implements IFrameworkAnalyzer { private project; private routes; private flows; private menus; private angularProjectPath; private processedRouteObjects; private processedLazyLoads; getFrameworkName(): string; canAnalyze(projectPath: string): Promise<boolean>; getSupportedExtensions(): string[]; getConfigFilePatterns(): string[]; analyze(options: ProjectAnalysisOptions): Promise<AnalysisResult>; private kebabToPascalCase; private addSourceFiles; private analyzeRoutingModules; private extractRoutes; private resolveAndProcessIdentifier; private analyzeNgModuleImports; private processNgModuleImportsArray; private performGeneralRouteScan; private processRouteArrayLiteral; private addRouteToCollection; private parseRouteArray; private parseRouteObject; private parseLoadComponent; private parseLoadChildren; private resolveLoadChildrenIdentifier; private loadAndParseLazyModule; private analyzeSourceFilesForNavigation; private analyzeComponentNavigation; private extractProgrammaticNavigation; private parseNavigationCall; private extractTemplateNavigation; }