✨ MAJOR FEATURES: • Auto-zoom intelligence với smart bounds fitting • Enhanced 3D GPS markers với pulsing effects • Professional route display với 6-layer rendering • Status-based parking icons với availability indicators • Production-ready build optimizations 🗺️ AUTO-ZOOM FEATURES: • Smart bounds fitting cho GPS + selected parking • Adaptive padding (50px) cho visual balance • Max zoom control (level 16) để tránh quá gần • Dynamic centering khi không có selection 🎨 ENHANCED VISUALS: • 3D GPS marker với multi-layer pulse effects • Advanced parking icons với status colors • Selection highlighting với animation • Dimming system cho non-selected items 🛣️ ROUTE SYSTEM: • OpenRouteService API integration • Multi-layer route rendering (glow, shadow, main, animated) • Real-time distance & duration calculation • Visual route info trong popup 📱 PRODUCTION READY: • SSR safe với dynamic imports • Build errors resolved • Global deployment via Vercel • Optimized performance 🌍 DEPLOYMENT: • Vercel: https://whatever-ctk2auuxr-phong12hexdockworks-projects.vercel.app • Bundle size: 22.8 kB optimized • Global CDN distribution • HTTPS enabled 💾 VERSION CONTROL: • MapView-v2.0.tsx backup created • MAPVIEW_VERSIONS.md documentation • Full version history tracking
76 lines
2.3 KiB
TypeScript
76 lines
2.3 KiB
TypeScript
declare const _exports: typeof Components & {
|
|
detect(rule: any): (context?: any) => {
|
|
[_: string]: Function;
|
|
};
|
|
};
|
|
export = _exports;
|
|
/**
|
|
* Components
|
|
*/
|
|
declare class Components {
|
|
/**
|
|
* Add a node to the components list, or update it if it's already in the list
|
|
*
|
|
* @param {ASTNode} node The AST node being added.
|
|
* @param {number} confidence Confidence in the component detection (0=banned, 1=maybe, 2=yes)
|
|
* @returns {Object} Added component object
|
|
*/
|
|
add(node: ASTNode, confidence: number): any;
|
|
/**
|
|
* Find a component in the list using its node
|
|
*
|
|
* @param {ASTNode} node The AST node being searched.
|
|
* @returns {Object} Component object, undefined if the component is not found or has confidence value of 0.
|
|
*/
|
|
get(node: ASTNode): any;
|
|
/**
|
|
* Update a component in the list
|
|
*
|
|
* @param {ASTNode} node The AST node being updated.
|
|
* @param {Object} props Additional properties to add to the component.
|
|
*/
|
|
set(node: ASTNode, props: any): void;
|
|
/**
|
|
* Return the components list
|
|
* Components for which we are not confident are not returned
|
|
*
|
|
* @returns {Object} Components list
|
|
*/
|
|
list(): any;
|
|
/**
|
|
* Return the length of the components list
|
|
* Components for which we are not confident are not counted
|
|
*
|
|
* @returns {number} Components list length
|
|
*/
|
|
length(): number;
|
|
/**
|
|
* Return the node naming the default React import
|
|
* It can be used to determine the local name of import, even if it's imported
|
|
* with an unusual name.
|
|
*
|
|
* @returns {ASTNode} React default import node
|
|
*/
|
|
getDefaultReactImports(): ASTNode;
|
|
/**
|
|
* Return the nodes of all React named imports
|
|
*
|
|
* @returns {Object} The list of React named imports
|
|
*/
|
|
getNamedReactImports(): any;
|
|
/**
|
|
* Add the default React import specifier to the scope
|
|
*
|
|
* @param {ASTNode} specifier The AST Node of the default React import
|
|
* @returns {void}
|
|
*/
|
|
addDefaultReactImport(specifier: ASTNode): void;
|
|
/**
|
|
* Add a named React import specifier to the scope
|
|
*
|
|
* @param {ASTNode} specifier The AST Node of a named React import
|
|
* @returns {void}
|
|
*/
|
|
addNamedReactImport(specifier: ASTNode): void;
|
|
}
|
|
//# sourceMappingURL=Components.d.ts.map
|