✨ 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
62 lines
2.8 KiB
TypeScript
62 lines
2.8 KiB
TypeScript
/**
|
|
* Helpers for validating various text string formats.
|
|
*/
|
|
export declare class StringChecks {
|
|
private static readonly _tsdocTagNameRegExp;
|
|
private static readonly _urlSchemeRegExp;
|
|
private static readonly _urlSchemeAfterRegExp;
|
|
private static readonly _htmlNameRegExp;
|
|
private static readonly _identifierBadCharRegExp;
|
|
private static readonly _identifierNumberStartRegExp;
|
|
private static readonly _validPackageNameRegExp;
|
|
private static readonly _systemSelectors;
|
|
/**
|
|
* Tests whether the input string is a valid TSDoc tag name; if not, returns an error message.
|
|
* TSDoc tag names start with an at-sign ("@") followed by ASCII letters using
|
|
* "camelCase" capitalization.
|
|
*/
|
|
static explainIfInvalidTSDocTagName(tagName: string): string | undefined;
|
|
/**
|
|
* Throws an exception if the input string is not a valid TSDoc tag name.
|
|
* TSDoc tag names start with an at-sign ("@") followed by ASCII letters using
|
|
* "camelCase" capitalization.
|
|
*/
|
|
static validateTSDocTagName(tagName: string): void;
|
|
/**
|
|
* Tests whether the input string is a URL form supported inside an "@link" tag; if not,
|
|
* returns an error message.
|
|
*/
|
|
static explainIfInvalidLinkUrl(url: string): string | undefined;
|
|
/**
|
|
* Tests whether the input string is a valid HTML element or attribute name.
|
|
*/
|
|
static explainIfInvalidHtmlName(htmlName: string): string | undefined;
|
|
/**
|
|
* Throws an exception if the input string is a not valid HTML element or attribute name.
|
|
*/
|
|
static validateHtmlName(htmlName: string): void;
|
|
/**
|
|
* Tests whether the input string is a valid NPM package name.
|
|
*/
|
|
static explainIfInvalidPackageName(packageName: string): string | undefined;
|
|
/**
|
|
* Tests whether the input string is a valid declaration reference import path.
|
|
*/
|
|
static explainIfInvalidImportPath(importPath: string, prefixedByPackageName: boolean): string | undefined;
|
|
/**
|
|
* Returns true if the input string is a TSDoc system selector.
|
|
*/
|
|
static isSystemSelector(selector: string): boolean;
|
|
/**
|
|
* Tests whether the input string is a valid ECMAScript identifier.
|
|
* A precise check is extremely complicated and highly dependent on the standard version
|
|
* and how faithfully the interpreter implements it, so here we use a conservative heuristic.
|
|
*/
|
|
static explainIfInvalidUnquotedIdentifier(identifier: string): string | undefined;
|
|
/**
|
|
* Tests whether the input string can be used without quotes as a member identifier in a declaration reference.
|
|
* If not, it should be enclosed in quotes.
|
|
*/
|
|
static explainIfInvalidUnquotedMemberIdentifier(identifier: string): string | undefined;
|
|
}
|
|
//# sourceMappingURL=StringChecks.d.ts.map
|