✨ 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
148 lines
3.6 KiB
JavaScript
148 lines
3.6 KiB
JavaScript
const path = require('path')
|
|
|
|
module.exports = {
|
|
groups: [
|
|
'General',
|
|
'Types',
|
|
'Common Helpers',
|
|
'Conversion Helpers',
|
|
'Interval Helpers',
|
|
'Timestamp Helpers',
|
|
'Millisecond Helpers',
|
|
'Second Helpers',
|
|
'Minute Helpers',
|
|
'Hour Helpers',
|
|
'Day Helpers',
|
|
'Weekday Helpers',
|
|
'Week Helpers',
|
|
'ISO Week Helpers',
|
|
'Month Helpers',
|
|
'Quarter Helpers',
|
|
'Year Helpers',
|
|
'ISO Week-Numbering Year Helpers',
|
|
'Decade Helpers',
|
|
],
|
|
|
|
staticDocs: [
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'Getting-Started',
|
|
category: 'General',
|
|
title: 'Getting Started',
|
|
description: 'Introduction & installation instructions',
|
|
path: path.join(__dirname, 'gettingStarted.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'Change-Log',
|
|
category: 'General',
|
|
title: 'Change Log',
|
|
description: 'Changes for each version of the library',
|
|
path: path.join(__dirname, '..', 'CHANGELOG.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'Contributing',
|
|
category: 'General',
|
|
title: 'Contributing',
|
|
description: 'Contribution manual',
|
|
path: path.join(__dirname, '..', 'CONTRIBUTING.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'Constants',
|
|
category: 'General',
|
|
title: 'Constants',
|
|
description: 'Useful constants',
|
|
path: path.join(__dirname, 'constants.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'I18n',
|
|
category: 'General',
|
|
title: 'I18n',
|
|
description: 'Internationalization',
|
|
path: path.join(__dirname, 'i18n.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'I18n-Contribution-Guide',
|
|
category: 'General',
|
|
title: 'I18n Contribution Guide',
|
|
description: 'Locales manual',
|
|
path: path.join(__dirname, 'i18nContributionGuide.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'Time-Zones',
|
|
category: 'General',
|
|
title: 'Time Zones',
|
|
description: 'Time zone functions',
|
|
path: path.join(__dirname, 'timeZones.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'ECMAScript-Modules',
|
|
category: 'General',
|
|
title: 'ECMAScript Modules',
|
|
description: 'Tree-shaking guide',
|
|
path: path.join(__dirname, 'esm.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'webpack',
|
|
category: 'General',
|
|
title: 'webpack',
|
|
description: 'Using date-fns with webpack',
|
|
path: path.join(__dirname, 'webpack.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'FP-Guide',
|
|
category: 'General',
|
|
title: 'FP Guide',
|
|
description: 'Curried functions',
|
|
path: path.join(__dirname, 'fp.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'Unicode-Tokens',
|
|
category: 'General',
|
|
title: 'Unicode Tokens',
|
|
description: 'Usage of the Unicode tokens in parse and format',
|
|
path: path.join(__dirname, 'unicodeTokens.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'Upgrade-Guide',
|
|
category: 'General',
|
|
title: 'Upgrade guide',
|
|
description: 'Changes from v1 to v2',
|
|
path: path.join(__dirname, 'upgradeGuide.md'),
|
|
},
|
|
{
|
|
type: 'markdown',
|
|
urlId: 'License',
|
|
category: 'General',
|
|
title: 'License',
|
|
description: 'MIT © Sasha Koss',
|
|
path: path.join(__dirname, '..', 'LICENSE.md'),
|
|
},
|
|
],
|
|
|
|
sharedDocs: [
|
|
{
|
|
fullPath: path.join(__dirname, 'Interval.js'),
|
|
},
|
|
{
|
|
fullPath: path.join(__dirname, 'Locale.js'),
|
|
},
|
|
{
|
|
fullPath: path.join(__dirname, 'Duration.js'),
|
|
},
|
|
{
|
|
fullPath: path.join(__dirname, 'Day.js'),
|
|
},
|
|
],
|
|
}
|