@bmlt-enabled/croutonjs 3.22.0 → 3.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crouton-core.css +70 -1
- package/crouton-core.min.css +1 -1
- package/crouton-gmaps.js +339 -22
- package/crouton-gmaps.min.js +23 -6
- package/crouton-gmaps.min.js.map +1 -1
- package/crouton.css +70 -1
- package/crouton.js +339 -22
- package/crouton.min.css +1 -1
- package/crouton.min.js +22 -5
- package/crouton.min.js.map +1 -1
- package/crouton.nojquery.js +339 -22
- package/crouton.nojquery.min.js +22 -5
- package/crouton.nojquery.min.js.map +1 -1
- package/package.json +1 -1
- package/templates/themes/asheboro.css +1 -1
- package/templates/themes/florida-nights.css +1 -1
- package/templates/themes/frog.css +1 -1
- package/templates/themes/gold-coast.css +2 -2
- package/templates/themes/jack.css +1 -1
- package/templates/themes/lucy.css +1 -1
- package/templates/themes/one-nine.css +1 -1
- package/templates/themes/orange-monster.css +5 -1
- package/templates/themes/patrick.css +2 -2
- package/templates/themes/quebec.css +1 -1
- package/templates/themes/seattle-rain.css +1 -1
- package/templates/themes/sezf.css +2 -2
- package/templates/themes/truth.css +1 -1
package/crouton-gmaps.js
CHANGED
|
@@ -13261,6 +13261,7 @@ function CroutonLocalization(language) {
|
|
|
13261
13261
|
"css-direction": 'bmlt-rtl',
|
|
13262
13262
|
"share": "مشاركة",
|
|
13263
13263
|
'google_directions': 'اتجاهات جوجل للاجتماع',
|
|
13264
|
+
'apple_directions': 'اتجاهات جوجل للاجتماع',
|
|
13264
13265
|
"no_meetings_for_this_day": "لا توجد اجتماعات لهذا اليوم.",
|
|
13265
13266
|
'all': 'الجميع',
|
|
13266
13267
|
'menu': 'القائمة',
|
|
@@ -13276,7 +13277,15 @@ function CroutonLocalization(language) {
|
|
|
13276
13277
|
'meeting details': "تفاصيل الاجتماع",
|
|
13277
13278
|
'report update': "Report an Update",
|
|
13278
13279
|
'filter by visibility': "List only these meetings",
|
|
13279
|
-
'go': "Go!"
|
|
13280
|
+
'go': "Go!",
|
|
13281
|
+
"get_directions": "احصل على الاتجاهات",
|
|
13282
|
+
"select_map_app": "اختر تطبيق الخرائط",
|
|
13283
|
+
"apple_maps": "خرائط آبل",
|
|
13284
|
+
"apple_maps_desc": "فتح في تطبيق خرائط آبل",
|
|
13285
|
+
"google_maps": "خرائط جوجل",
|
|
13286
|
+
"google_maps_desc_mobile": "فتح في تطبيق خرائط جوجل",
|
|
13287
|
+
"waze": "وايز",
|
|
13288
|
+
"waze_desc": "فتح في تطبيق وايز",
|
|
13280
13289
|
},
|
|
13281
13290
|
"da-DK": {
|
|
13282
13291
|
"days_of_the_week": ["", "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"],
|
|
@@ -13318,6 +13327,7 @@ function CroutonLocalization(language) {
|
|
|
13318
13327
|
'css-textalign': '',
|
|
13319
13328
|
'css-floatdirection': '',
|
|
13320
13329
|
'google_directions': 'Google directions to meeting',
|
|
13330
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13321
13331
|
'all': 'All',
|
|
13322
13332
|
'menu': 'Menu',
|
|
13323
13333
|
"bmlt2ics": "Add to your calendar",
|
|
@@ -13329,7 +13339,15 @@ function CroutonLocalization(language) {
|
|
|
13329
13339
|
'toggle fullscreen mode': 'Toggle fullscreen mode',
|
|
13330
13340
|
'report update': "Report an Update",
|
|
13331
13341
|
'filter by visibility': "List only these meetings",
|
|
13332
|
-
'go': "Go!"
|
|
13342
|
+
'go': "Go!",
|
|
13343
|
+
"get_directions": "Få vejvisning",
|
|
13344
|
+
"select_map_app": "Vælg kortapp",
|
|
13345
|
+
"apple_maps": "Apple Maps",
|
|
13346
|
+
"apple_maps_desc": "Åbn i Apple Maps app",
|
|
13347
|
+
"google_maps": "Google Maps",
|
|
13348
|
+
"google_maps_desc_mobile": "Åbn i Google Maps app",
|
|
13349
|
+
"waze": "Waze",
|
|
13350
|
+
"waze_desc": "Åbn i Waze app",
|
|
13333
13351
|
},
|
|
13334
13352
|
"de-DE":{
|
|
13335
13353
|
"days_of_the_week": ["", "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
|
|
@@ -13368,6 +13386,7 @@ function CroutonLocalization(language) {
|
|
|
13368
13386
|
},
|
|
13369
13387
|
"share": "Teilen",
|
|
13370
13388
|
'google_directions': 'Google Routenplaner',
|
|
13389
|
+
'apple_directions': 'Apple Routenplaner',
|
|
13371
13390
|
"no_meetings_for_this_day": "Keine Meetings an diesem Tag.",
|
|
13372
13391
|
'css-textalign': '',
|
|
13373
13392
|
'css-floatdirection': '',
|
|
@@ -13385,7 +13404,15 @@ function CroutonLocalization(language) {
|
|
|
13385
13404
|
'meeting details': "Genaueres zum Meeting",
|
|
13386
13405
|
'report update': "Report an Update",
|
|
13387
13406
|
'filter by visibility': "Zeige nur Meetings, die gerade auf dem Karte stehen",
|
|
13388
|
-
'go': "Los!"
|
|
13407
|
+
'go': "Los!",
|
|
13408
|
+
"get_directions": "Wegbeschreibung",
|
|
13409
|
+
"select_map_app": "Karten-App auswählen",
|
|
13410
|
+
"apple_maps": "Apple Maps",
|
|
13411
|
+
"apple_maps_desc": "In Apple Maps App öffnen",
|
|
13412
|
+
"google_maps": "Google Maps",
|
|
13413
|
+
"google_maps_desc_mobile": "In Google Maps App öffnen",
|
|
13414
|
+
"waze": "Waze",
|
|
13415
|
+
"waze_desc": "In Waze App öffnen",
|
|
13389
13416
|
},
|
|
13390
13417
|
"en-AU": {
|
|
13391
13418
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13423,6 +13450,7 @@ function CroutonLocalization(language) {
|
|
|
13423
13450
|
},
|
|
13424
13451
|
"share": "share",
|
|
13425
13452
|
'google_directions': 'Google directions to meeting',
|
|
13453
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13426
13454
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13427
13455
|
'css-textalign': '',
|
|
13428
13456
|
'css-floatdirection': '',
|
|
@@ -13442,6 +13470,14 @@ function CroutonLocalization(language) {
|
|
|
13442
13470
|
'filter by visibility': "List only these meetings",
|
|
13443
13471
|
'go': "Go!",
|
|
13444
13472
|
'open search dialog': "Open Search Dialog",
|
|
13473
|
+
"get_directions": "Get Directions",
|
|
13474
|
+
"select_map_app": "Select Map App",
|
|
13475
|
+
"apple_maps": "Apple Maps",
|
|
13476
|
+
"apple_maps_desc": "Open in Apple Maps app",
|
|
13477
|
+
"google_maps": "Google Maps",
|
|
13478
|
+
"google_maps_desc_mobile": "Open in Google Maps app",
|
|
13479
|
+
"waze": "Waze",
|
|
13480
|
+
"waze_desc": "Open in Waze app",
|
|
13445
13481
|
},
|
|
13446
13482
|
"en-CA": {
|
|
13447
13483
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13480,6 +13516,7 @@ function CroutonLocalization(language) {
|
|
|
13480
13516
|
},
|
|
13481
13517
|
"share": "share",
|
|
13482
13518
|
'google_directions': 'Google directions to meeting',
|
|
13519
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13483
13520
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13484
13521
|
'css-textalign': '',
|
|
13485
13522
|
'css-floatdirection': '',
|
|
@@ -13498,7 +13535,15 @@ function CroutonLocalization(language) {
|
|
|
13498
13535
|
'report update': "Report an Update",
|
|
13499
13536
|
'filter by visibility': "List only these meetings",
|
|
13500
13537
|
'open search dialog': "Open Search Dialog",
|
|
13501
|
-
'go': "Go!"
|
|
13538
|
+
'go': "Go!",
|
|
13539
|
+
"get_directions": "Get Directions",
|
|
13540
|
+
"select_map_app": "Select Map App",
|
|
13541
|
+
"apple_maps": "Apple Maps",
|
|
13542
|
+
"apple_maps_desc": "Open in Apple Maps app",
|
|
13543
|
+
"google_maps": "Google Maps",
|
|
13544
|
+
"google_maps_desc_mobile": "Open in Google Maps app",
|
|
13545
|
+
"waze": "Waze",
|
|
13546
|
+
"waze_desc": "Open in Waze app",
|
|
13502
13547
|
},
|
|
13503
13548
|
"en-NZ": {
|
|
13504
13549
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13537,6 +13582,7 @@ function CroutonLocalization(language) {
|
|
|
13537
13582
|
},
|
|
13538
13583
|
"share": "share",
|
|
13539
13584
|
'google_directions': 'Google directions to meeting',
|
|
13585
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13540
13586
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13541
13587
|
'css-textalign': '',
|
|
13542
13588
|
'css-floatdirection': '',
|
|
@@ -13555,7 +13601,15 @@ function CroutonLocalization(language) {
|
|
|
13555
13601
|
'report update': "Report an Update",
|
|
13556
13602
|
'filter by visibility': "List only these meetings",
|
|
13557
13603
|
'open search dialog': "Open Search Dialog",
|
|
13558
|
-
'go': "Go!"
|
|
13604
|
+
'go': "Go!",
|
|
13605
|
+
"get_directions": "Get Directions",
|
|
13606
|
+
"select_map_app": "Select Map App",
|
|
13607
|
+
"apple_maps": "Apple Maps",
|
|
13608
|
+
"apple_maps_desc": "Open in Apple Maps app",
|
|
13609
|
+
"google_maps": "Google Maps",
|
|
13610
|
+
"google_maps_desc_mobile": "Open in Google Maps app",
|
|
13611
|
+
"waze": "Waze",
|
|
13612
|
+
"waze_desc": "Open in Waze app",
|
|
13559
13613
|
},
|
|
13560
13614
|
"en-UK": {
|
|
13561
13615
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13594,6 +13648,7 @@ function CroutonLocalization(language) {
|
|
|
13594
13648
|
},
|
|
13595
13649
|
"share": "share",
|
|
13596
13650
|
'google_directions': 'Google directions to meeting',
|
|
13651
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13597
13652
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13598
13653
|
'css-textalign': '',
|
|
13599
13654
|
'css-floatdirection': '',
|
|
@@ -13612,7 +13667,15 @@ function CroutonLocalization(language) {
|
|
|
13612
13667
|
'report update': "Report an Update",
|
|
13613
13668
|
'filter by visibility': "List only these meetings",
|
|
13614
13669
|
'open search dialog': "Open Search Dialog",
|
|
13615
|
-
'go': "Go!"
|
|
13670
|
+
'go': "Go!",
|
|
13671
|
+
"get_directions": "Get Directions",
|
|
13672
|
+
"select_map_app": "Select Map App",
|
|
13673
|
+
"apple_maps": "Apple Maps",
|
|
13674
|
+
"apple_maps_desc": "Open in Apple Maps app",
|
|
13675
|
+
"google_maps": "Google Maps",
|
|
13676
|
+
"google_maps_desc_mobile": "Open in Google Maps app",
|
|
13677
|
+
"waze": "Waze",
|
|
13678
|
+
"waze_desc": "Open in Waze app",
|
|
13616
13679
|
},
|
|
13617
13680
|
"en-US": {
|
|
13618
13681
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13638,6 +13701,7 @@ function CroutonLocalization(language) {
|
|
|
13638
13701
|
"meeting_count": "Weekly Meetings:",
|
|
13639
13702
|
"venue_types": "Venue Types",
|
|
13640
13703
|
'google_directions': 'Google directions to meeting',
|
|
13704
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13641
13705
|
"venue_type_choices": {
|
|
13642
13706
|
IN_PERSON: "In Person",
|
|
13643
13707
|
VIRTUAL: "Virtual",
|
|
@@ -13669,7 +13733,15 @@ function CroutonLocalization(language) {
|
|
|
13669
13733
|
'report update': "Report an Update",
|
|
13670
13734
|
'filter by visibility': "List only these meetings",
|
|
13671
13735
|
'open search dialog': "Open Search Dialog",
|
|
13672
|
-
'go': "Go!"
|
|
13736
|
+
'go': "Go!",
|
|
13737
|
+
"get_directions": "Get Directions",
|
|
13738
|
+
"select_map_app": "Select Map App",
|
|
13739
|
+
"apple_maps": "Apple Maps",
|
|
13740
|
+
"apple_maps_desc": "Open in Apple Maps app",
|
|
13741
|
+
"google_maps": "Google Maps",
|
|
13742
|
+
"google_maps_desc_mobile": "Open in Google Maps app",
|
|
13743
|
+
"waze": "Waze",
|
|
13744
|
+
"waze_desc": "Open in Waze app",
|
|
13673
13745
|
},
|
|
13674
13746
|
"es-US": {
|
|
13675
13747
|
"days_of_the_week" : ["", "Domingo", " Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"],
|
|
@@ -13711,6 +13783,7 @@ function CroutonLocalization(language) {
|
|
|
13711
13783
|
"no_meetings_for_this_day": "No hay reuniones en este día",
|
|
13712
13784
|
'css-textalign': 'Alineación de texto CSS',
|
|
13713
13785
|
'google_directions': 'Indicaciones de Google',
|
|
13786
|
+
'apple_directions': 'Indicaciones de Apple',
|
|
13714
13787
|
'css-floatdirection': "Dirección float-CSS",
|
|
13715
13788
|
'all': 'Todos',
|
|
13716
13789
|
'menu': "Menú",
|
|
@@ -13726,7 +13799,15 @@ function CroutonLocalization(language) {
|
|
|
13726
13799
|
'meeting details': "Detalles de la reunión",
|
|
13727
13800
|
'report update': "Actualización de informe",
|
|
13728
13801
|
'filter by visibility': "Listar solo estas reuniones",
|
|
13729
|
-
'go': "¡Adelante!"
|
|
13802
|
+
'go': "¡Adelante!",
|
|
13803
|
+
"get_directions": "Obtener Direcciones",
|
|
13804
|
+
"select_map_app": "Seleccionar Aplicación de Mapas",
|
|
13805
|
+
"apple_maps": "Apple Maps",
|
|
13806
|
+
"apple_maps_desc": "Abrir en la aplicación Apple Maps",
|
|
13807
|
+
"google_maps": "Google Maps",
|
|
13808
|
+
"google_maps_desc_mobile": "Abrir en la aplicación Google Maps",
|
|
13809
|
+
"waze": "Waze",
|
|
13810
|
+
"waze_desc": "Abrir en la aplicación Waze",
|
|
13730
13811
|
},
|
|
13731
13812
|
"fa-IR": {
|
|
13732
13813
|
"days_of_the_week" : ["", 'یَکشَنب', 'دوشَنبه', 'سهشنبه', 'چهار شنبه', 'پَنج شَنبه', 'جُمعه', 'شَنبه'],
|
|
@@ -13765,6 +13846,7 @@ function CroutonLocalization(language) {
|
|
|
13765
13846
|
},
|
|
13766
13847
|
"share": "share",
|
|
13767
13848
|
'google_directions': 'Google directions to meeting',
|
|
13849
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13768
13850
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13769
13851
|
"css-direction": 'bmlt-rtl',
|
|
13770
13852
|
'all': 'All',
|
|
@@ -13781,7 +13863,15 @@ function CroutonLocalization(language) {
|
|
|
13781
13863
|
'meeting details': "Meeting Details",
|
|
13782
13864
|
'report update': "Report an Update",
|
|
13783
13865
|
'filter by visibility': "List only these meetings",
|
|
13784
|
-
'go': "Go!"
|
|
13866
|
+
'go': "Go!",
|
|
13867
|
+
"get_directions": "دریافت مسیر",
|
|
13868
|
+
"select_map_app": "انتخاب برنامه نقشه",
|
|
13869
|
+
"apple_maps": "نقشه اپل",
|
|
13870
|
+
"apple_maps_desc": "باز کردن در برنامه نقشه اپل",
|
|
13871
|
+
"google_maps": "گوگل مپس",
|
|
13872
|
+
"google_maps_desc_mobile": "باز کردن در برنامه گوگل مپس",
|
|
13873
|
+
"waze": "ویز",
|
|
13874
|
+
"waze_desc": "باز کردن در برنامه ویز",
|
|
13785
13875
|
},
|
|
13786
13876
|
"fr-CA": {
|
|
13787
13877
|
"days_of_the_week" : ["", "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"],
|
|
@@ -13820,6 +13910,7 @@ function CroutonLocalization(language) {
|
|
|
13820
13910
|
},
|
|
13821
13911
|
"share": "Partager",
|
|
13822
13912
|
"google_directions": "Itinéraire sur Google Maps",
|
|
13913
|
+
'apple_directions': 'Itinéraire sur Apple Maps',
|
|
13823
13914
|
"no_meetings_for_this_day": "Pas de réunion aujourd'hui.",
|
|
13824
13915
|
"css-textalign": "css-textalign",
|
|
13825
13916
|
"css-floatdirection": "css-floatdirection",
|
|
@@ -13837,7 +13928,15 @@ function CroutonLocalization(language) {
|
|
|
13837
13928
|
"meeting details": "Détails de la réunion",
|
|
13838
13929
|
'report update': "Report an Update",
|
|
13839
13930
|
'filter by visibility': "List only these meetings",
|
|
13840
|
-
'go': "Go!"
|
|
13931
|
+
'go': "Go!",
|
|
13932
|
+
"get_directions": "Obtenir l'itinéraire",
|
|
13933
|
+
"select_map_app": "Sélectionner l'application de cartes",
|
|
13934
|
+
"apple_maps": "Apple Maps",
|
|
13935
|
+
"apple_maps_desc": "Ouvrir dans l'application Apple Maps",
|
|
13936
|
+
"google_maps": "Google Maps",
|
|
13937
|
+
"google_maps_desc_mobile": "Ouvrir dans l'application Google Maps",
|
|
13938
|
+
"waze": "Waze",
|
|
13939
|
+
"waze_desc": "Ouvrir dans l'application Waze",
|
|
13841
13940
|
},
|
|
13842
13941
|
"it-IT": {
|
|
13843
13942
|
"days_of_the_week" : ["", "Domenica", " Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"],
|
|
@@ -13876,6 +13975,7 @@ function CroutonLocalization(language) {
|
|
|
13876
13975
|
},
|
|
13877
13976
|
"share": "Condividi",
|
|
13878
13977
|
'google_directions': 'Mappa',
|
|
13978
|
+
'apple_directions': 'Mappa',
|
|
13879
13979
|
"no_meetings_for_this_day": "Nessuna riunione per questo giorno.",
|
|
13880
13980
|
'css-textalign': '',
|
|
13881
13981
|
'css-floatdirection': '',
|
|
@@ -13893,7 +13993,15 @@ function CroutonLocalization(language) {
|
|
|
13893
13993
|
'meeting details': "Meeting Details",
|
|
13894
13994
|
'report update': "Report an Update",
|
|
13895
13995
|
'filter by visibility': "List only these meetings",
|
|
13896
|
-
'go': "Go!"
|
|
13996
|
+
'go': "Go!",
|
|
13997
|
+
"get_directions": "Ottieni Indicazioni",
|
|
13998
|
+
"select_map_app": "Seleziona App Mappe",
|
|
13999
|
+
"apple_maps": "Apple Maps",
|
|
14000
|
+
"apple_maps_desc": "Apri nell'app Apple Maps",
|
|
14001
|
+
"google_maps": "Google Maps",
|
|
14002
|
+
"google_maps_desc_mobile": "Apri nell'app Google Maps",
|
|
14003
|
+
"waze": "Waze",
|
|
14004
|
+
"waze_desc": "Apri nell'app Waze",
|
|
13897
14005
|
},
|
|
13898
14006
|
"nl-NL": {
|
|
13899
14007
|
"days_of_the_week" : ["", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
|
|
@@ -13932,6 +14040,7 @@ function CroutonLocalization(language) {
|
|
|
13932
14040
|
},
|
|
13933
14041
|
"share": "share",
|
|
13934
14042
|
'google_directions': 'Google directions to meeting',
|
|
14043
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13935
14044
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13936
14045
|
'css-textalign': '',
|
|
13937
14046
|
'css-floatdirection': '',
|
|
@@ -13949,7 +14058,15 @@ function CroutonLocalization(language) {
|
|
|
13949
14058
|
'meeting details': "Meeting Details",
|
|
13950
14059
|
'report update': "Report an Update",
|
|
13951
14060
|
'filter by visibility': "List only these meetings",
|
|
13952
|
-
'go': "Go!"
|
|
14061
|
+
'go': "Go!",
|
|
14062
|
+
"get_directions": "Routebeschrijving",
|
|
14063
|
+
"select_map_app": "Kies Kaart App",
|
|
14064
|
+
"apple_maps": "Apple Maps",
|
|
14065
|
+
"apple_maps_desc": "Openen in Apple Maps app",
|
|
14066
|
+
"google_maps": "Google Maps",
|
|
14067
|
+
"google_maps_desc_mobile": "Openen in Google Maps app",
|
|
14068
|
+
"waze": "Waze",
|
|
14069
|
+
"waze_desc": "Openen in Waze app",
|
|
13953
14070
|
},
|
|
13954
14071
|
"pl-PL": {
|
|
13955
14072
|
"days_of_the_week" : ["", "Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"],
|
|
@@ -13988,6 +14105,7 @@ function CroutonLocalization(language) {
|
|
|
13988
14105
|
},
|
|
13989
14106
|
"share": "share",
|
|
13990
14107
|
'google_directions': 'Google directions to meeting',
|
|
14108
|
+
'apple_directions': 'Apple directions to meeting',
|
|
13991
14109
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13992
14110
|
'css-textalign': '',
|
|
13993
14111
|
'css-floatdirection': '',
|
|
@@ -14005,7 +14123,15 @@ function CroutonLocalization(language) {
|
|
|
14005
14123
|
'meeting details': "Meeting Details",
|
|
14006
14124
|
'report update': "Report an Update",
|
|
14007
14125
|
'filter by visibility': "List only these meetings",
|
|
14008
|
-
'go': "Go!"
|
|
14126
|
+
'go': "Go!",
|
|
14127
|
+
"get_directions": "Pobierz Wskazówki",
|
|
14128
|
+
"select_map_app": "Wybierz Aplikację Map",
|
|
14129
|
+
"apple_maps": "Apple Maps",
|
|
14130
|
+
"apple_maps_desc": "Otwórz w aplikacji Apple Maps",
|
|
14131
|
+
"google_maps": "Google Maps",
|
|
14132
|
+
"google_maps_desc_mobile": "Otwórz w aplikacji Google Maps",
|
|
14133
|
+
"waze": "Waze",
|
|
14134
|
+
"waze_desc": "Otwórz w aplikacji Waze",
|
|
14009
14135
|
},
|
|
14010
14136
|
"pt-BR": {
|
|
14011
14137
|
"days_of_the_week" : ["", "Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"],
|
|
@@ -14044,6 +14170,7 @@ function CroutonLocalization(language) {
|
|
|
14044
14170
|
},
|
|
14045
14171
|
"share": "Compartilhar",
|
|
14046
14172
|
'google_directions': 'Google directions to meeting',
|
|
14173
|
+
'apple_directions': 'Apple directions to meeting',
|
|
14047
14174
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
14048
14175
|
'css-textalign': '',
|
|
14049
14176
|
'css-floatdirection': '',
|
|
@@ -14061,7 +14188,15 @@ function CroutonLocalization(language) {
|
|
|
14061
14188
|
'meeting details': "Meeting Details",
|
|
14062
14189
|
'report update': "Report an Update",
|
|
14063
14190
|
'filter by visibility': "List only these meetings",
|
|
14064
|
-
'go': "Go!"
|
|
14191
|
+
'go': "Go!",
|
|
14192
|
+
"get_directions": "Obter Direções",
|
|
14193
|
+
"select_map_app": "Selecionar Aplicativo de Mapas",
|
|
14194
|
+
"apple_maps": "Apple Maps",
|
|
14195
|
+
"apple_maps_desc": "Abrir no aplicativo Apple Maps",
|
|
14196
|
+
"google_maps": "Google Maps",
|
|
14197
|
+
"google_maps_desc_mobile": "Abrir no aplicativo Google Maps",
|
|
14198
|
+
"waze": "Waze",
|
|
14199
|
+
"waze_desc": "Abrir no aplicativo Waze",
|
|
14065
14200
|
},
|
|
14066
14201
|
"ru-RU": {
|
|
14067
14202
|
"days_of_the_week" : ["", "Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"],
|
|
@@ -14091,7 +14226,8 @@ function CroutonLocalization(language) {
|
|
|
14091
14226
|
VIRTUAL: "Онлайн",
|
|
14092
14227
|
},
|
|
14093
14228
|
"share": "поделиться",
|
|
14094
|
-
|
|
14229
|
+
'google_directions': 'На карте',
|
|
14230
|
+
'apple_directions': 'На карте',
|
|
14095
14231
|
"service_body_types": {
|
|
14096
14232
|
AS: "Area Service Committee",
|
|
14097
14233
|
RS: "Regional Service Committee",
|
|
@@ -14117,7 +14253,15 @@ function CroutonLocalization(language) {
|
|
|
14117
14253
|
'meeting details': "Подробности собрания",
|
|
14118
14254
|
'report update': "Report an Update",
|
|
14119
14255
|
'filter by visibility': "List only these meetings",
|
|
14120
|
-
'go': "Go!"
|
|
14256
|
+
'go': "Go!",
|
|
14257
|
+
"get_directions": "Проложить маршрут",
|
|
14258
|
+
"select_map_app": "Выбрать приложение карт",
|
|
14259
|
+
"apple_maps": "Apple Maps",
|
|
14260
|
+
"apple_maps_desc": "Открыть в приложении Apple Maps",
|
|
14261
|
+
"google_maps": "Google Maps",
|
|
14262
|
+
"google_maps_desc_mobile": "Открыть в приложении Google Maps",
|
|
14263
|
+
"waze": "Waze",
|
|
14264
|
+
"waze_desc": "Открыть в приложении Waze",
|
|
14121
14265
|
},
|
|
14122
14266
|
"sv-SE": {
|
|
14123
14267
|
"days_of_the_week" : ["", "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"],
|
|
@@ -14156,6 +14300,7 @@ function CroutonLocalization(language) {
|
|
|
14156
14300
|
},
|
|
14157
14301
|
"share": "share",
|
|
14158
14302
|
'google_directions': 'Google directions to meeting',
|
|
14303
|
+
'apple_directions': 'Apple directions to meeting',
|
|
14159
14304
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
14160
14305
|
'css-textalign': '',
|
|
14161
14306
|
'css-floatdirection': '',
|
|
@@ -14173,7 +14318,15 @@ function CroutonLocalization(language) {
|
|
|
14173
14318
|
'meeting details': "Meeting Details",
|
|
14174
14319
|
'report update': "Report an Update",
|
|
14175
14320
|
'filter by visibility': "List only these meetings",
|
|
14176
|
-
'go': "Go!"
|
|
14321
|
+
'go': "Go!",
|
|
14322
|
+
"get_directions": "Få vägbeskrivning",
|
|
14323
|
+
"select_map_app": "Välj kartapp",
|
|
14324
|
+
"apple_maps": "Apple Maps",
|
|
14325
|
+
"apple_maps_desc": "Öppna i Apple Maps-appen",
|
|
14326
|
+
"google_maps": "Google Maps",
|
|
14327
|
+
"google_maps_desc_mobile": "Öppna i Google Maps-appen",
|
|
14328
|
+
"waze": "Waze",
|
|
14329
|
+
"waze_desc": "Öppna i Waze-appen",
|
|
14177
14330
|
}
|
|
14178
14331
|
};
|
|
14179
14332
|
}
|
|
@@ -14733,7 +14886,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14733
14886
|
+ "</div>\n </td>\n <td class=\"bmlt-column3\">\n"
|
|
14734
14887
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"metaDataTemplate"),depth0,{"name":"metaDataTemplate","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14735
14888
|
+ ((stack1 = (lookupProperty(helpers,"canShare")||(depth0 && lookupProperty(depth0,"canShare"))||alias2).call(alias1,depth0,{"name":"canShare","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":51,"column":3},"end":{"line":53,"column":16}}})) != null ? stack1 : "")
|
|
14736
|
-
+ ((stack1 = (lookupProperty(helpers,"reportUpdateEnabled")||(depth0 && lookupProperty(depth0,"reportUpdateEnabled"))||alias2).call(alias1,depth0,{"name":"reportUpdateEnabled","hash":{},"fn":container.program(
|
|
14889
|
+
+ ((stack1 = (lookupProperty(helpers,"reportUpdateEnabled")||(depth0 && lookupProperty(depth0,"reportUpdateEnabled"))||alias2).call(alias1,depth0,{"name":"reportUpdateEnabled","hash":{},"fn":container.program(21, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":54,"column":3},"end":{"line":56,"column":27}}})) != null ? stack1 : "")
|
|
14737
14890
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"offerIcsButton"),depth0,{"name":"offerIcsButton","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14738
14891
|
+ " </td>\n </tr>\n";
|
|
14739
14892
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
@@ -14798,7 +14951,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14798
14951
|
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_additional_info") : depth0),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":52,"column":319},"end":{"line":52,"column":411}}})) != null ? stack1 : "")
|
|
14799
14952
|
+ "\"), url: \""
|
|
14800
14953
|
+ ((stack1 = (lookupProperty(helpers,"isVirtualOrHybrid")||(depth0 && lookupProperty(depth0,"isVirtualOrHybrid"))||alias4).call(alias3,depth0,{"name":"isVirtualOrHybrid","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":52,"column":421},"end":{"line":52,"column":608}}})) != null ? stack1 : "")
|
|
14801
|
-
+ ((stack1 = (lookupProperty(helpers,"isInPersonOrHybrid")||(depth0 && lookupProperty(depth0,"isInPersonOrHybrid"))||alias4).call(alias3,depth0,{"name":"isInPersonOrHybrid","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":52,"column":608},"end":{"line":52,"column":
|
|
14954
|
+
+ ((stack1 = (lookupProperty(helpers,"isInPersonOrHybrid")||(depth0 && lookupProperty(depth0,"isInPersonOrHybrid"))||alias4).call(alias3,depth0,{"name":"isInPersonOrHybrid","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":52,"column":608},"end":{"line":52,"column":886}}})) != null ? stack1 : "")
|
|
14802
14955
|
+ "\"})'><span class=\"glyphicon glyphicon-share\"></span> "
|
|
14803
14956
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"share_word") : depth0), depth0))
|
|
14804
14957
|
+ "</a>\n";
|
|
@@ -14841,6 +14994,31 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14841
14994
|
|
|
14842
14995
|
return container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"phone_meeting_number") : depth0), depth0));
|
|
14843
14996
|
},"16":function(container,depth0,helpers,partials,data) {
|
|
14997
|
+
var stack1, helper, options, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14998
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14999
|
+
return parent[propertyName];
|
|
15000
|
+
}
|
|
15001
|
+
return undefined
|
|
15002
|
+
}, buffer =
|
|
15003
|
+
" ";
|
|
15004
|
+
stack1 = ((helper = (helper = lookupProperty(helpers,"isOS") || (depth0 != null ? lookupProperty(depth0,"isOS") : depth0)) != null ? helper : container.hooks.helperMissing),(options={"name":"isOS","hash":{},"fn":container.program(17, data, 0),"inverse":container.program(19, data, 0),"data":data,"loc":{"start":{"line":52,"column":637},"end":{"line":52,"column":863}}}),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),options) : helper));
|
|
15005
|
+
if (!lookupProperty(helpers,"isOS")) { stack1 = container.hooks.blockHelperMissing.call(depth0,stack1,options)}
|
|
15006
|
+
if (stack1 != null) { buffer += stack1; }
|
|
15007
|
+
return buffer;
|
|
15008
|
+
},"17":function(container,depth0,helpers,partials,data) {
|
|
15009
|
+
var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15010
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
15011
|
+
return parent[propertyName];
|
|
15012
|
+
}
|
|
15013
|
+
return undefined
|
|
15014
|
+
};
|
|
15015
|
+
|
|
15016
|
+
return " https://maps.apple.com/?daddr="
|
|
15017
|
+
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"latitude") : depth0), depth0))
|
|
15018
|
+
+ ","
|
|
15019
|
+
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"longitude") : depth0), depth0))
|
|
15020
|
+
+ " ";
|
|
15021
|
+
},"19":function(container,depth0,helpers,partials,data) {
|
|
14844
15022
|
var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14845
15023
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14846
15024
|
return parent[propertyName];
|
|
@@ -14856,7 +15034,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14856
15034
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"latitude") : depth0), depth0))
|
|
14857
15035
|
+ ","
|
|
14858
15036
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"longitude") : depth0), depth0));
|
|
14859
|
-
},"
|
|
15037
|
+
},"21":function(container,depth0,helpers,partials,data) {
|
|
14860
15038
|
var helper, alias1=container.escapeExpression, alias2=container.lambda, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14861
15039
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14862
15040
|
return parent[propertyName];
|
|
@@ -15045,7 +15223,18 @@ var croutonDefaultTemplates = {
|
|
|
15045
15223
|
<div class="location-text">{{{this.location_text}}}</div>
|
|
15046
15224
|
<div class="meeting-address">{{this.formatted_address}}</div>
|
|
15047
15225
|
<div class="location-information">{{{this.formatted_location_info}}}</div>
|
|
15048
|
-
<
|
|
15226
|
+
<div class="bootstrap-bmlt">
|
|
15227
|
+
<button data-latitude="{{this.latitude}}" data-longitude="{{this.longitude}}" class="btn btn-primary bmlt-xs get-directions-modal">
|
|
15228
|
+
<span class="glyphicon glyphicon-road"></span> {{getWord "get_directions"}}
|
|
15229
|
+
</button>
|
|
15230
|
+
</div>
|
|
15231
|
+
<div id="directionsMapModal" class="directions-map-modal" style="display: none;">
|
|
15232
|
+
<div class="directions-map-modal-content">
|
|
15233
|
+
<span class="directions-map-modal-close">×</span>
|
|
15234
|
+
<h3>{{getWord "select_map_app"}}</h3>
|
|
15235
|
+
<div id="directionsMapOptions"></div>
|
|
15236
|
+
</div>
|
|
15237
|
+
</div>
|
|
15049
15238
|
<br/>
|
|
15050
15239
|
{{/isInPersonOrHybrid}}
|
|
15051
15240
|
{{#isVirtualOrHybrid this}}
|
|
@@ -16180,7 +16369,7 @@ function Crouton(config) {
|
|
|
16180
16369
|
force_rootserver_in_querystring: true, // Set to false to shorten generated meeting detail query strings
|
|
16181
16370
|
force_timeformat_in_querystring: true, // Set to false to shorten generated meeting detail query strings
|
|
16182
16371
|
force_language_in_querystring: true, // Set to false to shorten generated meeting detail query strings
|
|
16183
|
-
theme: "jack", // Allows for setting pre-packaged themes. Choices are listed here: https://github.com/bmlt-enabled/crouton/blob/master/croutonjs/
|
|
16372
|
+
theme: "jack", // Allows for setting pre-packaged themes. Choices are listed here: https://github.com/bmlt-enabled/crouton/blob/master/croutonjs/src/templates/themes
|
|
16184
16373
|
report_update_url: "", // URL to edit a meeting for BMLT-workflow plugin
|
|
16185
16374
|
meeting_data_template: croutonDefaultTemplates.meeting_data_template,
|
|
16186
16375
|
metadata_template: croutonDefaultTemplates.metadata_template,
|
|
@@ -16969,6 +17158,21 @@ function Crouton(config) {
|
|
|
16969
17158
|
else self.meetingSearch();
|
|
16970
17159
|
}
|
|
16971
17160
|
else if (!window.croutonMap.hasMapSearch()) self.meetingSearch();
|
|
17161
|
+
|
|
17162
|
+
jQuery('html').on('click', '.get-directions-modal', function (e) {
|
|
17163
|
+
var lat = jQuery(this).data('latitude');
|
|
17164
|
+
var lng = jQuery(this).data('longitude');
|
|
17165
|
+
|
|
17166
|
+
if (isMobileDevice()) {
|
|
17167
|
+
showMapSelector(lat, lng);
|
|
17168
|
+
} else {
|
|
17169
|
+
window.open(`https://www.google.com/maps/dir/?api=1&destination=${lat},${lng}`, '_blank');
|
|
17170
|
+
}
|
|
17171
|
+
});
|
|
17172
|
+
|
|
17173
|
+
jQuery('html').on('click', '.directions-map-modal-close', function (e) {
|
|
17174
|
+
closeDirectionsMapModal()
|
|
17175
|
+
});
|
|
16972
17176
|
}
|
|
16973
17177
|
|
|
16974
17178
|
Crouton.prototype.setConfig = function(config) {
|
|
@@ -17592,6 +17796,70 @@ crouton_Handlebars.registerHelper('canShare', function(data, options) {
|
|
|
17592
17796
|
return navigator.share ? getTrueResult(options, this) : getFalseResult(options, this);
|
|
17593
17797
|
});
|
|
17594
17798
|
|
|
17799
|
+
crouton_Handlebars.registerHelper('isOS', function(options) {
|
|
17800
|
+
if (isIOSDevice()) {
|
|
17801
|
+
return getTrueResult(options, this);
|
|
17802
|
+
} else {
|
|
17803
|
+
return getFalseResult(options, this);
|
|
17804
|
+
}
|
|
17805
|
+
});
|
|
17806
|
+
|
|
17807
|
+
function isIOSDevice() {
|
|
17808
|
+
if (navigator.userAgentData && navigator.userAgentData.platform) {
|
|
17809
|
+
if (navigator.userAgentData.platform === 'iOS') {
|
|
17810
|
+
return true;
|
|
17811
|
+
}
|
|
17812
|
+
}
|
|
17813
|
+
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
|
17814
|
+
const isIOS = /iPad|iPhone|iPod/.test(userAgent) && !window.MSStream;
|
|
17815
|
+
const isIPadOS = navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 && !window.MSStream;
|
|
17816
|
+
return isIOS || isIPadOS;
|
|
17817
|
+
}
|
|
17818
|
+
|
|
17819
|
+
function isAndroidDevice() {
|
|
17820
|
+
return /Android/i.test(navigator.userAgent);
|
|
17821
|
+
}
|
|
17822
|
+
|
|
17823
|
+
function isMobileDevice() {
|
|
17824
|
+
return isIOSDevice() || isAndroidDevice() || /Mobi|Android/i.test(navigator.userAgent);
|
|
17825
|
+
}
|
|
17826
|
+
|
|
17827
|
+
function createMapOptions(latitude, longitude) {
|
|
17828
|
+
const options = [];
|
|
17829
|
+
const isMobile = isMobileDevice();
|
|
17830
|
+
const isIOS = isIOSDevice();
|
|
17831
|
+
|
|
17832
|
+
// Apple Maps (iOS only)
|
|
17833
|
+
if (isIOS) {
|
|
17834
|
+
options.push({
|
|
17835
|
+
name: crouton.localization.getWord('apple_maps'),
|
|
17836
|
+
description: crouton.localization.getWord('apple_maps_desc'),
|
|
17837
|
+
icon: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007AFF'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E",
|
|
17838
|
+
url: `https://maps.apple.com/?daddr=${latitude},${longitude}`
|
|
17839
|
+
});
|
|
17840
|
+
}
|
|
17841
|
+
|
|
17842
|
+
// Google Maps (always available)
|
|
17843
|
+
options.push({
|
|
17844
|
+
name: crouton.localization.getWord('google_maps'),
|
|
17845
|
+
description: crouton.localization.getWord('google_maps_desc_mobile'),
|
|
17846
|
+
icon: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234285f4'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E",
|
|
17847
|
+
url: `https://www.google.com/maps/dir/?api=1&destination=${latitude},${longitude}`
|
|
17848
|
+
});
|
|
17849
|
+
|
|
17850
|
+
// Waze (mobile devices)
|
|
17851
|
+
if (isMobile) {
|
|
17852
|
+
options.push({
|
|
17853
|
+
name: crouton.localization.getWord('waze'),
|
|
17854
|
+
description: crouton.localization.getWord('waze_desc'),
|
|
17855
|
+
icon: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300D4FF'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E",
|
|
17856
|
+
url: `https://waze.com/ul?ll=${latitude},${longitude}&navigate=yes`
|
|
17857
|
+
});
|
|
17858
|
+
}
|
|
17859
|
+
|
|
17860
|
+
return options;
|
|
17861
|
+
}
|
|
17862
|
+
|
|
17595
17863
|
crouton_Handlebars.registerHelper('reportUpdateEnabled', function(data, options) {
|
|
17596
17864
|
return crouton.config.report_update_url !== "" ? getTrueResult(options, this) : getFalseResult(options, this)
|
|
17597
17865
|
});
|
|
@@ -17982,6 +18250,55 @@ function swipedetect(el, callback){
|
|
|
17982
18250
|
}, false)
|
|
17983
18251
|
}
|
|
17984
18252
|
|
|
18253
|
+
function showMapSelector(latitude, longitude) {
|
|
18254
|
+
// For desktop users, directly open Google Maps
|
|
18255
|
+
if (!isMobileDevice()) {
|
|
18256
|
+
window.open(`https://www.google.com/maps/dir/?api=1&destination=${latitude},${longitude}`, '_blank');
|
|
18257
|
+
return;
|
|
18258
|
+
}
|
|
18259
|
+
|
|
18260
|
+
// For mobile users, show the map selection modal
|
|
18261
|
+
const modal = document.getElementById('directionsMapModal');
|
|
18262
|
+
const optionsContainer = document.getElementById('directionsMapOptions');
|
|
18263
|
+
|
|
18264
|
+
if (!optionsContainer) {
|
|
18265
|
+
window.open(`https://www.google.com/maps/dir/?api=1&destination=${latitude},${longitude}`, '_blank');
|
|
18266
|
+
return;
|
|
18267
|
+
}
|
|
18268
|
+
|
|
18269
|
+
optionsContainer.innerHTML = '';
|
|
18270
|
+
|
|
18271
|
+
const options = createMapOptions(latitude, longitude);
|
|
18272
|
+
|
|
18273
|
+
options.forEach(option => {
|
|
18274
|
+
const optionElement = document.createElement('div');
|
|
18275
|
+
optionElement.className = 'directions-map-option';
|
|
18276
|
+
optionElement.onclick = () => openMap(option.url);
|
|
18277
|
+
|
|
18278
|
+
optionElement.innerHTML = `
|
|
18279
|
+
<img src="${option.icon}" alt="${option.name}" class="directions-map-option-icon">
|
|
18280
|
+
<div class="directions-map-option-text">
|
|
18281
|
+
<div class="directions-map-option-title">${option.name}</div>
|
|
18282
|
+
<div class="directions-map-option-desc">${option.description}</div>
|
|
18283
|
+
</div>
|
|
18284
|
+
`;
|
|
18285
|
+
|
|
18286
|
+
optionsContainer.appendChild(optionElement);
|
|
18287
|
+
});
|
|
18288
|
+
|
|
18289
|
+
// Show modal
|
|
18290
|
+
modal.style.display = 'block';
|
|
18291
|
+
}
|
|
18292
|
+
|
|
18293
|
+
function closeDirectionsMapModal() {
|
|
18294
|
+
document.getElementById('directionsMapModal').style.display = 'none';
|
|
18295
|
+
}
|
|
18296
|
+
|
|
18297
|
+
function openMap(url) {
|
|
18298
|
+
window.open(url, '_blank');
|
|
18299
|
+
closeDirectionsMapModal();
|
|
18300
|
+
}
|
|
18301
|
+
|
|
17985
18302
|
function MeetingMap(inConfig) {
|
|
17986
18303
|
/****************************************************************************************
|
|
17987
18304
|
* CLASS VARIABLES *
|