UNPKG

@blocktion/json-to-table

Version:

A powerful, modular React component for converting JSON data to navigable tables with advanced features like automatic column detection, theming, and sub-table navigation. Part of the Blocktion SaaS project ecosystem.

18 lines (17 loc) 761 B
import { NavigationStackItem, NavigationResult, NavigationListener } from "./types"; export declare class NavigationManager { private stack; private listeners; navigateToSubTable(path: string, value: unknown, title: string, rootDocumentIndex?: number): NavigationResult; navigateBack(targetLevel: number): NavigationResult; navigateToRoot(rootData: unknown[]): NavigationResult; getCurrentStack(): NavigationStackItem[]; getBreadcrumb(): string[]; canNavigate(value: unknown): boolean; addListener(listener: NavigationListener): void; removeListener(listener: NavigationListener): void; private analyzeNavigationTarget; private createNavigationItem; private generateBreadcrumb; private notifyListeners; }