✨ 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
78 lines
2.1 KiB
JavaScript
78 lines
2.1 KiB
JavaScript
// Hebrew [he]
|
||
import dayjs from '../index';
|
||
var texts = {
|
||
s: 'מספר שניות',
|
||
ss: '%d שניות',
|
||
m: 'דקה',
|
||
mm: '%d דקות',
|
||
h: 'שעה',
|
||
hh: '%d שעות',
|
||
hh2: 'שעתיים',
|
||
d: 'יום',
|
||
dd: '%d ימים',
|
||
dd2: 'יומיים',
|
||
M: 'חודש',
|
||
MM: '%d חודשים',
|
||
MM2: 'חודשיים',
|
||
y: 'שנה',
|
||
yy: '%d שנים',
|
||
yy2: 'שנתיים'
|
||
};
|
||
|
||
function relativeTimeFormatter(number, withoutSuffix, key) {
|
||
var text = texts[key + (number === 2 ? '2' : '')] || texts[key];
|
||
return text.replace('%d', number);
|
||
}
|
||
|
||
var locale = {
|
||
name: 'he',
|
||
weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
|
||
weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
|
||
weekdaysMin: 'א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳'.split('_'),
|
||
months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
|
||
monthsShort: 'ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ'.split('_'),
|
||
relativeTime: {
|
||
future: 'בעוד %s',
|
||
past: 'לפני %s',
|
||
s: relativeTimeFormatter,
|
||
m: relativeTimeFormatter,
|
||
mm: relativeTimeFormatter,
|
||
h: relativeTimeFormatter,
|
||
hh: relativeTimeFormatter,
|
||
d: relativeTimeFormatter,
|
||
dd: relativeTimeFormatter,
|
||
M: relativeTimeFormatter,
|
||
MM: relativeTimeFormatter,
|
||
y: relativeTimeFormatter,
|
||
yy: relativeTimeFormatter
|
||
},
|
||
ordinal: function ordinal(n) {
|
||
return n;
|
||
},
|
||
format: {
|
||
LT: 'HH:mm',
|
||
LTS: 'HH:mm:ss',
|
||
L: 'DD/MM/YYYY',
|
||
LL: 'D [ב]MMMM YYYY',
|
||
LLL: 'D [ב]MMMM YYYY HH:mm',
|
||
LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
|
||
l: 'D/M/YYYY',
|
||
ll: 'D MMM YYYY',
|
||
lll: 'D MMM YYYY HH:mm',
|
||
llll: 'ddd, D MMM YYYY HH:mm'
|
||
},
|
||
formats: {
|
||
LT: 'HH:mm',
|
||
LTS: 'HH:mm:ss',
|
||
L: 'DD/MM/YYYY',
|
||
LL: 'D [ב]MMMM YYYY',
|
||
LLL: 'D [ב]MMMM YYYY HH:mm',
|
||
LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
|
||
l: 'D/M/YYYY',
|
||
ll: 'D MMM YYYY',
|
||
lll: 'D MMM YYYY HH:mm',
|
||
llll: 'ddd, D MMM YYYY HH:mm'
|
||
}
|
||
};
|
||
dayjs.locale(locale, null, true);
|
||
export default locale; |