✨ 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
51 lines
1.9 KiB
TypeScript
51 lines
1.9 KiB
TypeScript
/**
|
|
* Checks if a node represents a DOM element according to React.
|
|
* @param {object} node - JSXOpeningElement to check.
|
|
* @returns {boolean} Whether or not the node corresponds to a DOM element.
|
|
*/
|
|
export function isDOMComponent(node: object): boolean;
|
|
/**
|
|
* Test whether a JSXElement is a fragment
|
|
* @param {JSXElement} node
|
|
* @param {string} reactPragma
|
|
* @param {string} fragmentPragma
|
|
* @returns {boolean}
|
|
*/
|
|
export function isFragment(node: JSXElement, reactPragma: string, fragmentPragma: string): boolean;
|
|
/**
|
|
* Checks if a node represents a JSX element or fragment.
|
|
* @param {object} node - node to check.
|
|
* @returns {boolean} Whether or not the node if a JSX element or fragment.
|
|
*/
|
|
export function isJSX(node: object): boolean;
|
|
/**
|
|
* Check if node is like `key={...}` as in `<Foo key={...} />`
|
|
* @param {ASTNode} node
|
|
* @returns {boolean}
|
|
*/
|
|
export function isJSXAttributeKey(node: ASTNode): boolean;
|
|
/**
|
|
* Check if value has only whitespaces
|
|
* @param {unknown} value
|
|
* @returns {boolean}
|
|
*/
|
|
export function isWhiteSpaces(value: unknown): boolean;
|
|
/**
|
|
* Check if the node is returning JSX or null
|
|
*
|
|
* @param {Context} context The context of `ASTNode`.
|
|
* @param {ASTNode} ASTnode The AST node being checked
|
|
* @param {boolean} [strict] If true, in a ternary condition the node must return JSX in both cases
|
|
* @param {boolean} [ignoreNull] If true, null return values will be ignored
|
|
* @returns {boolean} True if the node is returning JSX or null, false if not
|
|
*/
|
|
export function isReturningJSX(context: Context, ASTnode: ASTNode, strict?: boolean, ignoreNull?: boolean): boolean;
|
|
/**
|
|
* Check if the node is returning only null values
|
|
*
|
|
* @param {ASTNode} ASTnode The AST node being checked
|
|
* @param {Context} context The context of `ASTNode`.
|
|
* @returns {boolean} True if the node is returning only null values
|
|
*/
|
|
export function isReturningOnlyNull(ASTnode: ASTNode, context: Context): boolean;
|
|
//# sourceMappingURL=jsx.d.ts.map
|