Files
rspade_system/node_modules/@jqhtml/router/dist/layout.d.ts
root 77b4d10af8 Refactor filename naming system and apply convention-based renames
Standardize settings file naming and relocate documentation files
Fix code quality violations from rsx:check
Reorganize user_management directory into logical subdirectories
Move Quill Bundle to core and align with Tom Select pattern
Simplify Site Settings page to focus on core site information
Complete Phase 5: Multi-tenant authentication with login flow and site selection
Add route query parameter rule and synchronize filename validation logic
Fix critical bug in UpdateNpmCommand causing missing JavaScript stubs
Implement filename convention rule and resolve VS Code auto-rename conflict
Implement js-sanitizer RPC server to eliminate 900+ Node.js process spawns
Implement RPC server architecture for JavaScript parsing
WIP: Add RPC server infrastructure for JS parsing (partial implementation)
Update jqhtml terminology from destroy to stop, fix datagrid DOM preservation
Add JQHTML-CLASS-01 rule and fix redundant class names
Improve code quality rules and resolve violations
Remove legacy fatal error format in favor of unified 'fatal' error type
Filter internal keys from window.rsxapp output
Update button styling and comprehensive form/modal documentation
Add conditional fly-in animation for modals
Fix non-deterministic bundle compilation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 19:10:02 +00:00

51 lines
1.7 KiB
TypeScript

/**
* Base class for layout components in JQHTML Router v2
*/
import { Jqhtml_Component } from '@jqhtml/core';
import type { RouteInfo } from './types.js';
declare module '@jqhtml/core' {
interface Jqhtml_Component {
_is_layout?: boolean;
}
}
export declare class Jqhtml_Layout extends Jqhtml_Component {
static layout?: string;
_is_layout: boolean;
constructor(options?: any);
/**
* Called when the route changes within the same layout
* Override this to update layout state (e.g., active navigation items)
*/
on_route_change(old_route: RouteInfo | null, new_route: RouteInfo): Promise<void>;
/**
* Called before dispatching to a new route
* Can cancel navigation by returning false or redirect by returning a URL
*/
pre_dispatch(route_info: RouteInfo): Promise<boolean | string>;
/**
* Called after a route has fully loaded
* Can trigger redirects for post-load logic
*/
post_dispatch(route_info: RouteInfo): Promise<void>;
/**
* Get the content container where routes render
* Must contain an element with $id="content"
*/
$content(): JQuery;
/**
* Internal method to render a route into this layout
* Called by the router during dispatch
*/
_render_route(route_component: any): Promise<void>;
/**
* Override on_render for custom layout rendering
* By default does nothing - layouts should override this or use templates
*/
on_render(): Promise<void>;
/**
* Layouts should never re-render after initial load
* They persist across route changes
*/
should_rerender(): boolean;
}
//# sourceMappingURL=layout.d.ts.map