Files
rspade_system/node_modules/@jqhtml/router/dist/route.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

59 lines
1.9 KiB
TypeScript

/**
* Base class for route components in JQHTML Router v2
*/
import { Jqhtml_Component } from '@jqhtml/core';
import type { RouteMeta } from './types.js';
declare module '@jqhtml/core' {
interface Jqhtml_Component {
_is_route?: boolean;
}
}
export declare class Jqhtml_Route extends Jqhtml_Component {
static routes: string[];
static layout: string;
static meta: RouteMeta;
_is_route: boolean;
args: Record<string, any>;
constructor(options?: any);
/**
* Called during app initialization to register routes
* This is where routes call register_route for each path they handle
*/
static init(): void;
/**
* Generate URL for this route with given parameters
* Static version for generating URLs without an instance
*/
static url(params?: Record<string, any>): string;
/**
* Generate URL for this route with current args merged with new params
* Instance method that includes current route parameters
*/
url(params?: Record<string, any>): string;
/**
* Navigate to this route with given parameters
* Static version for programmatic navigation
*/
static dispatch(params?: Record<string, any>): void;
/**
* Navigate to this route with current args merged with new params
* Instance method for navigation from within a route
*/
dispatch(params?: Record<string, any>): void;
/**
* Called before this route is activated
* Can be used for route-specific guards
*/
pre_dispatch(): Promise<boolean | string>;
/**
* Called after this route has fully loaded
* Can be used for analytics, etc.
*/
post_dispatch(): Promise<void>;
/**
* Override on_render for custom route rendering
* By default does nothing - routes should override this or use templates
*/
on_render(): Promise<void>;
}
//# sourceMappingURL=route.d.ts.map