✨ 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
92 lines
2.1 KiB
JavaScript
92 lines
2.1 KiB
JavaScript
/*
|
|
* Copyright 2012 The Closure Compiler Authors.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Definitions for bcrypt.js 2.
|
|
* @externs
|
|
* @author Daniel Wirtz <dcode@dcode.io>
|
|
*/
|
|
|
|
/**
|
|
* @type {Object.<string,*>}
|
|
*/
|
|
var bcrypt = {};
|
|
|
|
/**
|
|
* @param {?function(number):!Array.<number>} random
|
|
*/
|
|
bcrypt.setRandomFallback = function(random) {};
|
|
|
|
/**
|
|
* @param {number=} rounds
|
|
* @param {number=} seed_length
|
|
* @returns {string}
|
|
*/
|
|
bcrypt.genSaltSync = function(rounds, seed_length) {};
|
|
|
|
/**
|
|
* @param {(number|function(Error, ?string))=} rounds
|
|
* @param {(number|function(Error, ?string))=} seed_length
|
|
* @param {function(Error, string=)=} callback
|
|
*/
|
|
bcrypt.genSalt = function(rounds, seed_length, callback) {};
|
|
|
|
/**
|
|
* @param {string} s
|
|
* @param {(number|string)=} salt
|
|
* @returns {?string}
|
|
*/
|
|
bcrypt.hashSync = function(s, salt) {};
|
|
|
|
/**
|
|
* @param {string} s
|
|
* @param {number|string} salt
|
|
* @param {function(Error, string=)} callback
|
|
* @expose
|
|
*/
|
|
bcrypt.hash = function(s, salt, callback) {};
|
|
|
|
/**
|
|
* @param {string} s
|
|
* @param {string} hash
|
|
* @returns {boolean}
|
|
* @throws {Error}
|
|
*/
|
|
bcrypt.compareSync = function(s, hash) {};
|
|
|
|
/**
|
|
* @param {string} s
|
|
* @param {string} hash
|
|
* @param {function(Error, boolean)} callback
|
|
* @throws {Error}
|
|
*/
|
|
bcrypt.compare = function(s, hash, callback) {};
|
|
|
|
/**
|
|
* @param {string} hash
|
|
* @returns {number}
|
|
* @throws {Error}
|
|
*/
|
|
bcrypt.getRounds = function(hash) {};
|
|
|
|
/**
|
|
* @param {string} hash
|
|
* @returns {string}
|
|
* @throws {Error}
|
|
* @expose
|
|
*/
|
|
bcrypt.getSalt = function(hash) {};
|