Files
Laca-City/backend/node_modules/@nestjs/cli/lib/schematics/nest.collection.js
PhongPham c65cc97a33 🎯 MapView v2.0 - Global Deployment Ready
 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
2025-07-20 19:52:16 +07:00

127 lines
3.2 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NestCollection = void 0;
const abstract_collection_1 = require("./abstract.collection");
class NestCollection extends abstract_collection_1.AbstractCollection {
constructor(runner) {
super('@nestjs/schematics', runner);
}
async execute(name, options) {
const schematic = this.validate(name);
await super.execute(schematic, options);
}
getSchematics() {
return NestCollection.schematics.filter((item) => item.name !== 'angular-app');
}
validate(name) {
const schematic = NestCollection.schematics.find((s) => s.name === name || s.alias === name);
if (schematic === undefined || schematic === null) {
throw new Error(`Invalid schematic "${name}". Please, ensure that "${name}" exists in this collection.`);
}
return schematic.name;
}
}
exports.NestCollection = NestCollection;
NestCollection.schematics = [
{
name: 'application',
alias: 'application',
description: 'Generate a new application workspace',
},
{
name: 'angular-app',
alias: 'ng-app',
description: '',
},
{
name: 'class',
alias: 'cl',
description: 'Generate a new class',
},
{
name: 'configuration',
alias: 'config',
description: 'Generate a CLI configuration file',
},
{
name: 'controller',
alias: 'co',
description: 'Generate a controller declaration',
},
{
name: 'decorator',
alias: 'd',
description: 'Generate a custom decorator',
},
{
name: 'filter',
alias: 'f',
description: 'Generate a filter declaration',
},
{
name: 'gateway',
alias: 'ga',
description: 'Generate a gateway declaration',
},
{
name: 'guard',
alias: 'gu',
description: 'Generate a guard declaration',
},
{
name: 'interceptor',
alias: 'itc',
description: 'Generate an interceptor declaration',
},
{
name: 'interface',
alias: 'itf',
description: 'Generate an interface',
},
{
name: 'library',
alias: 'lib',
description: 'Generate a new library within a monorepo',
},
{
name: 'middleware',
alias: 'mi',
description: 'Generate a middleware declaration',
},
{
name: 'module',
alias: 'mo',
description: 'Generate a module declaration',
},
{
name: 'pipe',
alias: 'pi',
description: 'Generate a pipe declaration',
},
{
name: 'provider',
alias: 'pr',
description: 'Generate a provider declaration',
},
{
name: 'resolver',
alias: 'r',
description: 'Generate a GraphQL resolver declaration',
},
{
name: 'resource',
alias: 'res',
description: 'Generate a new CRUD resource',
},
{
name: 'service',
alias: 's',
description: 'Generate a service declaration',
},
{
name: 'sub-app',
alias: 'app',
description: 'Generate a new application within a monorepo',
},
];