✨ 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
55 lines
2.7 KiB
TypeScript
55 lines
2.7 KiB
TypeScript
/**
|
|
* Checks if the Identifier node passed in looks like a propTypes declaration.
|
|
* @param {ASTNode} node The node to check. Must be an Identifier node.
|
|
* @returns {boolean} `true` if the node is a propTypes declaration, `false` if not
|
|
*/
|
|
export function isPropTypesDeclaration(node: ASTNode): boolean;
|
|
/**
|
|
* Checks if the node passed in looks like a contextTypes declaration.
|
|
* @param {ASTNode} node The node to check.
|
|
* @returns {boolean} `true` if the node is a contextTypes declaration, `false` if not
|
|
*/
|
|
export function isContextTypesDeclaration(node: ASTNode): boolean;
|
|
/**
|
|
* Checks if the node passed in looks like a contextType declaration.
|
|
* @param {ASTNode} node The node to check.
|
|
* @returns {boolean} `true` if the node is a contextType declaration, `false` if not
|
|
*/
|
|
export function isContextTypeDeclaration(node: ASTNode): boolean;
|
|
/**
|
|
* Checks if the node passed in looks like a childContextTypes declaration.
|
|
* @param {ASTNode} node The node to check.
|
|
* @returns {boolean} `true` if the node is a childContextTypes declaration, `false` if not
|
|
*/
|
|
export function isChildContextTypesDeclaration(node: ASTNode): boolean;
|
|
/**
|
|
* Checks if the Identifier node passed in looks like a defaultProps declaration.
|
|
* @param {ASTNode} node The node to check. Must be an Identifier node.
|
|
* @returns {boolean} `true` if the node is a defaultProps declaration, `false` if not
|
|
*/
|
|
export function isDefaultPropsDeclaration(node: ASTNode): boolean;
|
|
/**
|
|
* Checks if we are declaring a display name
|
|
* @param {ASTNode} node The AST node being checked.
|
|
* @returns {boolean} True if we are declaring a display name, false if not.
|
|
*/
|
|
export function isDisplayNameDeclaration(node: ASTNode): boolean;
|
|
/**
|
|
* Checks if the PropTypes MemberExpression node passed in declares a required propType.
|
|
* @param {ASTNode} propTypeExpression node to check. Must be a `PropTypes` MemberExpression.
|
|
* @returns {boolean} `true` if this PropType is required, `false` if not.
|
|
*/
|
|
export function isRequiredPropType(propTypeExpression: ASTNode): boolean;
|
|
/**
|
|
* Returns the type arguments of a node or type parameters if type arguments are not available.
|
|
* @param {ASTNode} node The node to get the type arguments from.
|
|
* @returns {ASTNode} The type arguments or type parameters of the node.
|
|
*/
|
|
export function getTypeArguments(node: ASTNode): ASTNode;
|
|
/**
|
|
* Returns the super type arguments of a node or super type parameters if type arguments are not available.
|
|
* @param {ASTNode} node The node to get the super type arguments from.
|
|
* @returns {ASTNode} The super type arguments or parameters of the node.
|
|
*/
|
|
export function getSuperTypeArguments(node: ASTNode): ASTNode;
|
|
//# sourceMappingURL=props.d.ts.map
|