@bmlt-enabled/croutonjs 3.24.2 → 3.25.1
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 +55 -22
- package/crouton-core.min.css +1 -1
- package/crouton-gmaps.js +342 -150
- package/crouton-gmaps.min.js +12 -9
- package/crouton-gmaps.min.js.map +1 -1
- package/crouton.css +55 -22
- package/crouton.js +338 -150
- package/crouton.min.css +1 -1
- package/crouton.min.js +11 -8
- package/crouton.min.js.map +1 -1
- package/crouton.nojquery.js +338 -150
- package/crouton.nojquery.min.js +11 -8
- package/crouton.nojquery.min.js.map +1 -1
- package/package.json +1 -1
package/crouton-gmaps.js
CHANGED
|
@@ -13287,6 +13287,69 @@ function CroutonLocalization(language) {
|
|
|
13287
13287
|
"waze": "وايز",
|
|
13288
13288
|
"waze_desc": "فتح في تطبيق وايز",
|
|
13289
13289
|
},
|
|
13290
|
+
"cs": {
|
|
13291
|
+
"days_of_the_week": ["", "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"],
|
|
13292
|
+
"weekday": "Den v týdnu",
|
|
13293
|
+
"city": "Město",
|
|
13294
|
+
"cities": "Město",
|
|
13295
|
+
"groups": "Skupina",
|
|
13296
|
+
"areas": "Oblasti",
|
|
13297
|
+
"regions": "Regiony",
|
|
13298
|
+
"locations": "Místo",
|
|
13299
|
+
"counties": "Okres",
|
|
13300
|
+
"states": "Spolkové země",
|
|
13301
|
+
"postal_codes": "PSČ",
|
|
13302
|
+
"formats": "Formáty",
|
|
13303
|
+
"map": "Mapa",
|
|
13304
|
+
"neighborhood": "Sousedství",
|
|
13305
|
+
"near_me": "V mém okolí",
|
|
13306
|
+
"text_search": "Textové vyhledávání",
|
|
13307
|
+
"click_search": "Vyhledávání kliknutím",
|
|
13308
|
+
"pan_and_zoom": "Posunout + Zoom",
|
|
13309
|
+
"languages": "Jazyky",
|
|
13310
|
+
"common_needs": "Běžné potřeby",
|
|
13311
|
+
"meeting_count": "Týdenní setkání:",
|
|
13312
|
+
"venue_types": "Druhy míst setkání",
|
|
13313
|
+
"venue_type_choices": {
|
|
13314
|
+
"IN_PERSON": "Živé setkání",
|
|
13315
|
+
"VIRTUAL": "Online setkání"
|
|
13316
|
+
},
|
|
13317
|
+
"service_body_types": {
|
|
13318
|
+
},
|
|
13319
|
+
"share": "Sdílet",
|
|
13320
|
+
"google_directions": "Plánovač tras Google",
|
|
13321
|
+
"apple_directions": "Plánovač tras Apple",
|
|
13322
|
+
"no_meetings_for_this_day": "Na tento den nejsou žádná setkání.",
|
|
13323
|
+
"css-textalign": "",
|
|
13324
|
+
"css-floatdirection": "",
|
|
13325
|
+
"all": "Jakékoli",
|
|
13326
|
+
"menu": "Menu",
|
|
13327
|
+
"search for meetings": "Hledat setkání",
|
|
13328
|
+
"show meetings near...": "Setkání v jiných městech",
|
|
13329
|
+
"filter meetings": "Filtr pro jazyk, formát atd.",
|
|
13330
|
+
"visible meeting list": "Viditelný seznam setkání jako tabulka",
|
|
13331
|
+
"enter a city or zip code": "Město nebo PSČ",
|
|
13332
|
+
"toggle fullscreen mode": "Přepnout režim celé obrazovky",
|
|
13333
|
+
"close": "Zavřít",
|
|
13334
|
+
"bmlt2ics": "Přidat do kalendáře",
|
|
13335
|
+
"meeting page": "Stránka setkání",
|
|
13336
|
+
"meeting details": "Podrobnosti o setkání",
|
|
13337
|
+
"report update": "Nahlásit aktualizaci",
|
|
13338
|
+
"filter by visibility": "Zobrazit pouze setkání, která jsou aktuálně na mapě",
|
|
13339
|
+
"go": "Jít!",
|
|
13340
|
+
"get_directions": "Získat pokyny",
|
|
13341
|
+
"select_map_app": "Vyberte aplikaci pro mapy",
|
|
13342
|
+
"apple_maps": "Apple Mapy",
|
|
13343
|
+
"apple_maps_desc": "Otevřít v aplikaci Apple Mapy",
|
|
13344
|
+
"google_maps": "Mapy Google",
|
|
13345
|
+
"distance": "Vzdálenost",
|
|
13346
|
+
"google_maps_desc_mobile": "Otevřít v aplikaci Mapy Google",
|
|
13347
|
+
"waze": "Waze",
|
|
13348
|
+
"waze_desc": "Otevřít v aplikaci Waze",
|
|
13349
|
+
"remember my choice": "Zapamatovat si moji volbu",
|
|
13350
|
+
"zoomed-out-message": "Nemůžeme prohledat celou oblast pro setkání. Přibližte si prosím nebo proveďte nové vyhledávání.",
|
|
13351
|
+
"sorted by distance": "Seřazeno podle vzdálenosti"
|
|
13352
|
+
},
|
|
13290
13353
|
"da-DK": {
|
|
13291
13354
|
"days_of_the_week": ["", "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"],
|
|
13292
13355
|
"weekday": 'Ugedag',
|
|
@@ -13797,7 +13860,7 @@ function CroutonLocalization(language) {
|
|
|
13797
13860
|
},
|
|
13798
13861
|
"share": "compartir",
|
|
13799
13862
|
"no_meetings_for_this_day": "No hay reuniones en este día",
|
|
13800
|
-
'css-textalign': '
|
|
13863
|
+
'css-textalign': '',
|
|
13801
13864
|
'google_directions': 'Indicaciones de Google',
|
|
13802
13865
|
'apple_directions': 'Indicaciones de Apple',
|
|
13803
13866
|
'css-floatdirection': "Dirección float-CSS",
|
|
@@ -13830,69 +13893,80 @@ function CroutonLocalization(language) {
|
|
|
13830
13893
|
},
|
|
13831
13894
|
"fa-IR": {
|
|
13832
13895
|
"days_of_the_week" : ["", 'یَکشَنب', 'دوشَنبه', 'سهشنبه', 'چهار شنبه', 'پَنج شَنبه', 'جُمعه', 'شَنبه'],
|
|
13833
|
-
"weekday" : "
|
|
13896
|
+
"weekday" : "ایام هفته",
|
|
13834
13897
|
"city" : "شهر",
|
|
13835
13898
|
"cities" : "شهرها",
|
|
13836
13899
|
"groups" : "گروه ها",
|
|
13837
13900
|
"areas" : "نواحی",
|
|
13838
|
-
"regions": "
|
|
13901
|
+
"regions" : "مناطق",
|
|
13839
13902
|
"locations" : "آدرسها",
|
|
13840
13903
|
"counties" : "بخشها",
|
|
13841
|
-
"states" : "
|
|
13842
|
-
"postal_codes":"کد پستی",
|
|
13843
|
-
"formats" : "
|
|
13904
|
+
"states" : "استان ها",
|
|
13905
|
+
"postal_codes:" : "کد پستی",
|
|
13906
|
+
"formats" : "فرمت ها",
|
|
13844
13907
|
"map" : "نقشه",
|
|
13845
|
-
"neighborhood": "
|
|
13846
|
-
"near_me": "
|
|
13847
|
-
"text_search": "
|
|
13848
|
-
"click_search": "
|
|
13849
|
-
"pan_and_zoom": "
|
|
13850
|
-
"languages": "
|
|
13851
|
-
"common_needs": "
|
|
13852
|
-
"meeting_count": "
|
|
13853
|
-
"venue_types": "
|
|
13854
|
-
"venue_type_choices": {
|
|
13855
|
-
IN_PERSON: "
|
|
13856
|
-
VIRTUAL: "
|
|
13908
|
+
"neighborhood" : "محله",
|
|
13909
|
+
"near_me" : "جلسات نزدیک من را پیدا کن",
|
|
13910
|
+
"text_search" : "جلسات اینجا را پیدا کن",
|
|
13911
|
+
"click_search" : "پیدا کردن جلسات نزدیک به یک نقطه روی نقشه",
|
|
13912
|
+
"pan_and_zoom" : "حرکت + بزرگنمایی",
|
|
13913
|
+
"languages" : "زبانها",
|
|
13914
|
+
"common_needs" : "نیازهای مشترک",
|
|
13915
|
+
"meeting_count" : "جلسات هفتگی:",
|
|
13916
|
+
"venue_types" : "انواع مکان",
|
|
13917
|
+
"venue_type_choices" : {
|
|
13918
|
+
"IN_PERSON" : "حضوری",
|
|
13919
|
+
"VIRTUAL" : "لینک جلسه مجازی",
|
|
13857
13920
|
},
|
|
13858
13921
|
"service_body_types": {
|
|
13859
|
-
AS: "
|
|
13860
|
-
RS: "
|
|
13861
|
-
ZF: "
|
|
13862
|
-
MA: "
|
|
13863
|
-
LS: "
|
|
13864
|
-
GS: "
|
|
13922
|
+
"AS" : "کمیته خدمات ناحیه",
|
|
13923
|
+
"RS" : "کمیته خدمات منطقهای",
|
|
13924
|
+
"ZF" : "انجمن منطقهای",
|
|
13925
|
+
"MA" : "کمیته خدمات کلانشهریe",
|
|
13926
|
+
"LS" : "انجمن خدمات محلی",
|
|
13927
|
+
"GS" : "انجمن پشتیبانی گروه",
|
|
13865
13928
|
},
|
|
13866
|
-
"share": "
|
|
13867
|
-
|
|
13868
|
-
|
|
13869
|
-
"no_meetings_for_this_day": "
|
|
13929
|
+
"share" : "اشتراک گذاری",
|
|
13930
|
+
"google_directions" : "مسیرهای Google به جلسه",
|
|
13931
|
+
"apple_directions" : "مسیرهای Apple به جلسه",
|
|
13932
|
+
"no_meetings_for_this_day" : "هیچ جلسه ای در این روز وجود ندارد",
|
|
13933
|
+
"css-direction: bmlt-rtl" : "",
|
|
13934
|
+
"bootstrap-popover-placement" : "left",
|
|
13935
|
+
"adjust search" : "تنظیم جستجو",
|
|
13936
|
+
"this number represents" : "این عدد نشان دهنده",
|
|
13937
|
+
"radius of search in $$" : "شعاع جستجو بر حسب $$",
|
|
13938
|
+
"miles" : "مایل",
|
|
13939
|
+
"km" : "کیلومتر",
|
|
13940
|
+
"approx. number of meetings in result" : "تعداد تقریبی جلسات در نتیجه",
|
|
13941
|
+
"back" : "بازگشت",
|
|
13942
|
+
"all" : "هر",
|
|
13943
|
+
"menu" : "منوی",
|
|
13944
|
+
"search for meetings" : "جستجوی جلسه ها",
|
|
13945
|
+
"show meetings near..." : "نمایش جلسات نزدیک",
|
|
13946
|
+
"filter meetings" : "فیلتر جلسات",
|
|
13947
|
+
"visible meeting list" : "جلسات قابل مشاهده به عنوان لیست",
|
|
13948
|
+
"enter a city or zip code" : "شهر یا کد پستی را وارد کنید",
|
|
13949
|
+
"toggle fullscreen mode" : "تغییر حالت تمام صفحه",
|
|
13950
|
+
"close" : " بستن",
|
|
13951
|
+
"bmlt2ics" : "به تقویم خود اضافه کنید",
|
|
13952
|
+
"meeting page" : " صفحه جلسه",
|
|
13953
|
+
"meeting details" : " جزئیات جلسه",
|
|
13954
|
+
"report update" : " گزارش بهروزرسانی",
|
|
13955
|
+
"filter by visibility" : " فقط این جلسات را فهرست کنید",
|
|
13956
|
+
"go" : " برو",
|
|
13957
|
+
"distance" : "فاصله",
|
|
13958
|
+
"get_directions" : "دریافت مسیر",
|
|
13959
|
+
"select_map_app" : "انتخاب برنامه نقشه",
|
|
13960
|
+
"apple_maps" : "نقشه اپل",
|
|
13961
|
+
"apple_maps_desc" : "باز کردن در برنامه نقشه اپل",
|
|
13962
|
+
"google_maps" : "گوگل مپس",
|
|
13963
|
+
"google_maps_desc_mobile" : "باز کردن در برنامه گوگل مپس",
|
|
13964
|
+
"waze" : "ویوز",
|
|
13965
|
+
"waze_desc" : "باز کردن در برنامه ویز",
|
|
13966
|
+
"sorted by distance" : "مرتب کردن بر اساس فاصله",
|
|
13967
|
+
"more info" : "اطلاعات بیشتر",
|
|
13870
13968
|
"css-direction": 'bmlt-rtl',
|
|
13871
|
-
'
|
|
13872
|
-
'menu': "Menu",
|
|
13873
|
-
'search for meetings': 'Search for meetings',
|
|
13874
|
-
'show meetings near...': 'Show meetings near...',
|
|
13875
|
-
'filter meetings': 'Filter meetings',
|
|
13876
|
-
'visible meeting list': 'Visible meetings as list',
|
|
13877
|
-
'enter a city or zip code': 'Enter a city or zip code',
|
|
13878
|
-
'toggle fullscreen mode': 'Toggle fullscreen mode',
|
|
13879
|
-
'close': "Close",
|
|
13880
|
-
"bmlt2ics": "Add to your calendar",
|
|
13881
|
-
'meeting page': "Meeting Page",
|
|
13882
|
-
'meeting details': "Meeting Details",
|
|
13883
|
-
'report update': "Report an Update",
|
|
13884
|
-
'filter by visibility': "List only these meetings",
|
|
13885
|
-
'go': "Go!",
|
|
13886
|
-
"distance": "فاصله",
|
|
13887
|
-
"get_directions": "دریافت مسیر",
|
|
13888
|
-
"select_map_app": "انتخاب برنامه نقشه",
|
|
13889
|
-
"apple_maps": "نقشه اپل",
|
|
13890
|
-
"apple_maps_desc": "باز کردن در برنامه نقشه اپل",
|
|
13891
|
-
"google_maps": "گوگل مپس",
|
|
13892
|
-
"google_maps_desc_mobile": "باز کردن در برنامه گوگل مپس",
|
|
13893
|
-
"waze": "ویز",
|
|
13894
|
-
"waze_desc": "باز کردن در برنامه ویز",
|
|
13895
|
-
"sorted by distance": "مرتب شده بر اساس فاصله",
|
|
13969
|
+
"css-textalign": "style='text-align: right;'",
|
|
13896
13970
|
},
|
|
13897
13971
|
"fr-CA": {
|
|
13898
13972
|
"days_of_the_week" : ["", "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"],
|
|
@@ -13933,7 +14007,7 @@ function CroutonLocalization(language) {
|
|
|
13933
14007
|
"google_directions": "Itinéraire sur Google Maps",
|
|
13934
14008
|
'apple_directions': 'Itinéraire sur Apple Maps',
|
|
13935
14009
|
"no_meetings_for_this_day": "Pas de réunion aujourd'hui.",
|
|
13936
|
-
"css-textalign": "
|
|
14010
|
+
"css-textalign": "",
|
|
13937
14011
|
"css-floatdirection": "css-floatdirection",
|
|
13938
14012
|
"all": "Tout",
|
|
13939
14013
|
"menu": "Menu",
|
|
@@ -14295,6 +14369,69 @@ function CroutonLocalization(language) {
|
|
|
14295
14369
|
"waze_desc": "Открыть в приложении Waze",
|
|
14296
14370
|
"sorted by distance": "Сортировка по расстоянию",
|
|
14297
14371
|
},
|
|
14372
|
+
"sk": {
|
|
14373
|
+
"days_of_the_week": ["", "Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota"],
|
|
14374
|
+
"weekday": "Deň v týždni",
|
|
14375
|
+
"city": "Mesto",
|
|
14376
|
+
"cities": "Mesto",
|
|
14377
|
+
"groups": "Skupina",
|
|
14378
|
+
"areas": "Oblasti",
|
|
14379
|
+
"regions": "Región",
|
|
14380
|
+
"locations": "Miesto",
|
|
14381
|
+
"counties": "Okres",
|
|
14382
|
+
"states": "Spolkové krajiny",
|
|
14383
|
+
"postal_codes": "PSČ",
|
|
14384
|
+
"formats": "Formáty",
|
|
14385
|
+
"map": "Mapa",
|
|
14386
|
+
"neighborhood": "Susedstvo",
|
|
14387
|
+
"near_me": "V mojej blízkosti",
|
|
14388
|
+
"text_search": "Textové vyhľadávanie",
|
|
14389
|
+
"click_search": "Vyhľadávanie kliknutím",
|
|
14390
|
+
"pan_and_zoom": "Posúvanie + Zoomovanie",
|
|
14391
|
+
"languages": "Jazek",
|
|
14392
|
+
"common_needs": "Bežné potreby",
|
|
14393
|
+
"meeting_count": "Týždenné stretnutia:",
|
|
14394
|
+
"venue_types": "Typy miest stretnutí",
|
|
14395
|
+
"venue_type_choices": {
|
|
14396
|
+
"IN_PERSON": "Osobné stretnutia",
|
|
14397
|
+
"VIRTUAL": "Živé stretnutia"
|
|
14398
|
+
},
|
|
14399
|
+
"service_body_types": {
|
|
14400
|
+
},
|
|
14401
|
+
"share": "Zdieľať",
|
|
14402
|
+
"google_directions": "Plánovač trás Google",
|
|
14403
|
+
"apple_directions": "Plánovač trás Apple",
|
|
14404
|
+
"no_meetings_for_this_day": "Žiadne stretnutia v tento deň.",
|
|
14405
|
+
"css-textalign": "",
|
|
14406
|
+
"css-floatdirection": "",
|
|
14407
|
+
"all": "Akékoľvek",
|
|
14408
|
+
"menu": "Menu",
|
|
14409
|
+
"search for meetings": "Hľadať stretnutia",
|
|
14410
|
+
"show meetings near...": "Stretnutia v iných mestách",
|
|
14411
|
+
"filter meetings": "Filter pre jazyk, formát atď.",
|
|
14412
|
+
"visible meeting list": "Viditeľné stretnutia ako tabuľka",
|
|
14413
|
+
"enter a city or zip code": "Mesto alebo PSČ",
|
|
14414
|
+
"toggle fullscreen mode": "Prepnúť režim celej obrazovky",
|
|
14415
|
+
"close": "Zavrieť",
|
|
14416
|
+
"bmlt2ics": "Pridať do kalendára",
|
|
14417
|
+
"meeting page": "Stránka stretnutia",
|
|
14418
|
+
"meeting details": "Podrobnosti o stretnutí",
|
|
14419
|
+
"report update": "Nahlásiť aktualizáciu",
|
|
14420
|
+
"filter by visibility": "Zobraziť iba stretnutia, ktoré sú práve na mape",
|
|
14421
|
+
"go": "Ísť!",
|
|
14422
|
+
"get_directions": "Získať trasu",
|
|
14423
|
+
"select_map_app": "Vyberte aplikáciu pre mapy",
|
|
14424
|
+
"apple_maps": "Apple Maps",
|
|
14425
|
+
"apple_maps_desc": "Otvoriť v aplikácii Apple Maps",
|
|
14426
|
+
"google_maps": "Google Maps",
|
|
14427
|
+
"distance": "Vzdialenosť",
|
|
14428
|
+
"google_maps_desc_mobile": "Otvoriť v aplikácii Google Maps",
|
|
14429
|
+
"waze": "Waze",
|
|
14430
|
+
"waze_desc": "Otvoriť v aplikácii Waze",
|
|
14431
|
+
"remember my choice": "Zapamätať si moju voľbu",
|
|
14432
|
+
"zoomed-out-message": "Nemôžeme prehľadať celú oblasť pre stretnutia. Prosím, priblížte alebo vykonajte nové vyhľadávanie.",
|
|
14433
|
+
"sorted by distance": "Zoradené podľa vzdialenosti"
|
|
14434
|
+
},
|
|
14298
14435
|
"sv-SE": {
|
|
14299
14436
|
"days_of_the_week" : ["", "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"],
|
|
14300
14437
|
"weekday" : "Veckodag",
|
|
@@ -14372,6 +14509,7 @@ CroutonLocalization.prototype.getWord = function(word) {
|
|
|
14372
14509
|
const ret = this.words[this.language][word.toLowerCase()];
|
|
14373
14510
|
if (typeof ret === 'undefined') {
|
|
14374
14511
|
if (word === 'css-direction') return '';
|
|
14512
|
+
if (word === 'bootstrap-popover-placement') return 'right';
|
|
14375
14513
|
return word;
|
|
14376
14514
|
}
|
|
14377
14515
|
return ret;
|
|
@@ -14404,7 +14542,7 @@ this["hbs_Crouton"]["templates"]["byday"] = Handlebars.template({"1":function(co
|
|
|
14404
14542
|
+ "'>\n <tbody class=\"h-"
|
|
14405
14543
|
+ alias4(alias3((depth0 != null ? lookupProperty(depth0,"day") : depth0), depth0))
|
|
14406
14544
|
+ "\">\n"
|
|
14407
|
-
+ ((stack1 = container.invokePartial(lookupProperty(partials,"
|
|
14545
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingsPlaceholders"),(depth0 != null ? lookupProperty(depth0,"meetings") : depth0),{"name":"meetingsPlaceholders","data":data,"indent":" ","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14408
14546
|
+ " </tbody>\n </table>\n </div>\n </div>\n";
|
|
14409
14547
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
14410
14548
|
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14435,7 +14573,7 @@ this["hbs_Crouton"]["templates"]["byfield"] = Handlebars.template({"1":function(
|
|
|
14435
14573
|
+ "</div>\n <div class=\"group-table-div\">\n <table class='bmlt-table table table-hover table-bordered tablesaw tablesaw-stack "
|
|
14436
14574
|
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":6,"column":87},"end":{"line":6,"column":114}}}))
|
|
14437
14575
|
+ "'>\n <tbody class=\"byfield.hbs\">\n"
|
|
14438
|
-
+ ((stack1 = container.invokePartial(lookupProperty(partials,"
|
|
14576
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingsPlaceholders"),(depth0 != null ? lookupProperty(depth0,"group") : depth0),{"name":"meetingsPlaceholders","data":data,"indent":" \t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14439
14577
|
+ " </tbody>\n </table>\n </div>\n </div>\n";
|
|
14440
14578
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
14441
14579
|
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14863,10 +15001,10 @@ this["hbs_Crouton"]["templates"]["mapSearch"] = Handlebars.template({"compiler":
|
|
|
14863
15001
|
+ "</button>\n </div>\n <button id=\"show-search-parameters\" class=\"advanced-search-button\">"
|
|
14864
15002
|
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Adjust Search",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":23,"column":79},"end":{"line":23,"column":106}}}))
|
|
14865
15003
|
+ "</button>\n </div>\n <div id=\"modal-seach-parameters\">\n <div class=\"modal-title\">"
|
|
14866
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"
|
|
15004
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Adjust Search",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":26,"column":37},"end":{"line":26,"column":64}}}))
|
|
14867
15005
|
+ "</div>\n <input type=\"number\" id=\"search_parameter\" name=\"search_parameter\" maxlength=\"3\" size=\"3\">\n <p>"
|
|
14868
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"This number represents
|
|
14869
|
-
+ "
|
|
15006
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"This number represents",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":28,"column":15},"end":{"line":28,"column":51}}}))
|
|
15007
|
+
+ ":</p>\n <input type=\"radio\" id=\"search_radius\" name=\"map_search_type\" value=\"radius\">\n <label id=\"search_radius_label\" for=\"search_radius\"></label><br>\n <input type=\"radio\" id=\"search_count\" name=\"map_search_type\" value=\"count\">\n <label for=\"search_count\">"
|
|
14870
15008
|
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Approx. number of meetings in result",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":32,"column":38},"end":{"line":32,"column":88}}}))
|
|
14871
15009
|
+ "</label><br>\n <button id=\"show-search-page\" class=\"advanced-search-button\">"
|
|
14872
15010
|
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Back",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":33,"column":73},"end":{"line":33,"column":91}}}))
|
|
@@ -14928,19 +15066,19 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14928
15066
|
+ alias3(alias4((depth0 != null ? lookupProperty(depth0,"formatted_day") : depth0), depth0))
|
|
14929
15067
|
+ "</div>\n"
|
|
14930
15068
|
+ ((stack1 = (lookupProperty(helpers,"ifEquals")||(depth0 && lookupProperty(depth0,"ifEquals"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"duration_time") : depth0),"24:00:00",{"name":"ifEquals","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data,"loc":{"start":{"line":19,"column":3},"end":{"line":23,"column":16}}})) != null ? stack1 : "")
|
|
14931
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"formats") : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":24,"column":3},"end":{"line":
|
|
15069
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"formats") : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":24,"column":3},"end":{"line":43,"column":10}}})) != null ? stack1 : "")
|
|
14932
15070
|
+ " <div class=\"bmlt-comments\">"
|
|
14933
|
-
+ alias3((lookupProperty(helpers,"formatLink")||(depth0 && lookupProperty(depth0,"formatLink"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"formatted_comments") : depth0),{"name":"formatLink","hash":{},"data":data,"loc":{"start":{"line":
|
|
15071
|
+
+ alias3((lookupProperty(helpers,"formatLink")||(depth0 && lookupProperty(depth0,"formatLink"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"formatted_comments") : depth0),{"name":"formatLink","hash":{},"data":data,"loc":{"start":{"line":44,"column":30},"end":{"line":44,"column":68}}}))
|
|
14934
15072
|
+ "</div>\n <div class=\"bmlt-observer\">"
|
|
14935
|
-
+ ((stack1 = container.invokePartial((lookupProperty(helpers,"selectObserver")||(depth0 && lookupProperty(depth0,"selectObserver"))||alias2).call(alias1,{"name":"selectObserver","hash":{},"data":data,"loc":{"start":{"line":
|
|
15073
|
+
+ ((stack1 = container.invokePartial((lookupProperty(helpers,"selectObserver")||(depth0 && lookupProperty(depth0,"selectObserver"))||alias2).call(alias1,{"name":"selectObserver","hash":{},"data":data,"loc":{"start":{"line":45,"column":34},"end":{"line":45,"column":50}}}),depth0,{"data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14936
15074
|
+ "</div>\n </td>\n <td class=\"bmlt-column2\" "
|
|
14937
|
-
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
15075
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":47,"column":27},"end":{"line":47,"column":56}}})) != null ? stack1 : "")
|
|
14938
15076
|
+ ">\n <div class=\"meeting-data-template\">"
|
|
14939
15077
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingDataTemplate"),depth0,{"name":"meetingDataTemplate","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14940
15078
|
+ "</div>\n </td>\n <td class=\"bmlt-column3\">\n"
|
|
14941
15079
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"metaDataTemplate"),depth0,{"name":"metaDataTemplate","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14942
|
-
+ ((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":
|
|
14943
|
-
+ ((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":
|
|
15080
|
+
+ ((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":52,"column":3},"end":{"line":54,"column":16}}})) != null ? stack1 : "")
|
|
15081
|
+
+ ((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":55,"column":3},"end":{"line":57,"column":27}}})) != null ? stack1 : "")
|
|
14944
15082
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"offerIcsButton"),depth0,{"name":"offerIcsButton","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14945
15083
|
+ " </td>\n </tr>\n";
|
|
14946
15084
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
@@ -14968,15 +15106,17 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14968
15106
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"end_time_formatted") : depth0), depth0))
|
|
14969
15107
|
+ "</div>\n";
|
|
14970
15108
|
},"6":function(container,depth0,helpers,partials,data) {
|
|
14971
|
-
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15109
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14972
15110
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14973
15111
|
return parent[propertyName];
|
|
14974
15112
|
}
|
|
14975
15113
|
return undefined
|
|
14976
15114
|
};
|
|
14977
15115
|
|
|
14978
|
-
return " <a id=\"bmlt-formats\"\n class=\"btn btn-primary btn-xs\"\n title=\"\"\n data-html=\"true\"\n tabindex=\"0\"\n data-trigger=\"focus\"\n role=\"button\"\n data-toggle=\"popover\"\n data-original-title=\"\"\n data-
|
|
14979
|
-
+ ((stack1 =
|
|
15116
|
+
return " <a id=\"bmlt-formats\"\n class=\"btn btn-primary btn-xs\"\n title=\"\"\n data-html=\"true\"\n tabindex=\"0\"\n data-trigger=\"focus\"\n role=\"button\"\n data-toggle=\"popover\"\n data-original-title=\"\"\n data-placement=\""
|
|
15117
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"bootstrap-popover-placement",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":34,"column":23},"end":{"line":34,"column":66}}})) != null ? stack1 : "")
|
|
15118
|
+
+ "\"\n data-content=\""
|
|
15119
|
+
+ ((stack1 = container.invokePartial((lookupProperty(helpers,"selectFormatPopup")||(depth0 && lookupProperty(depth0,"selectFormatPopup"))||alias2).call(alias1,{"name":"selectFormatPopup","hash":{},"data":data,"loc":{"start":{"line":35,"column":25},"end":{"line":35,"column":44}}}),depth0,{"data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14980
15120
|
+ "\">\n <span class=\"glyphicon glyphicon-search\"\n aria-hidden=\"true\"\n data-toggle=\"popover\"\n data-trigger=\"focus\"\n data-html=\"true\"\n role=\"button\"></span>"
|
|
14981
15121
|
+ container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"formats") : depth0), depth0))
|
|
14982
15122
|
+ "\n </a>\n";
|
|
@@ -15002,10 +15142,10 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15002
15142
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_address") : depth0), depth0))
|
|
15003
15143
|
+ " "
|
|
15004
15144
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_location_info") : depth0), depth0))
|
|
15005
|
-
+ ((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":
|
|
15145
|
+
+ ((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":53,"column":319},"end":{"line":53,"column":411}}})) != null ? stack1 : "")
|
|
15006
15146
|
+ "\"), url: \""
|
|
15007
|
-
+ ((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":
|
|
15008
|
-
+ ((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":
|
|
15147
|
+
+ ((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":53,"column":421},"end":{"line":53,"column":608}}})) != null ? stack1 : "")
|
|
15148
|
+
+ ((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":53,"column":608},"end":{"line":53,"column":886}}})) != null ? stack1 : "")
|
|
15009
15149
|
+ "\"})'><span class=\"glyphicon glyphicon-share\"></span> "
|
|
15010
15150
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"share_word") : depth0), depth0))
|
|
15011
15151
|
+ "</a>\n";
|
|
@@ -15027,8 +15167,8 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15027
15167
|
return undefined
|
|
15028
15168
|
};
|
|
15029
15169
|
|
|
15030
|
-
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_link") : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
15031
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"phone_meeting_number") : depth0),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
15170
|
+
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_link") : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":448},"end":{"line":53,"column":517}}})) != null ? stack1 : "")
|
|
15171
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"phone_meeting_number") : depth0),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":517},"end":{"line":53,"column":586}}})) != null ? stack1 : "");
|
|
15032
15172
|
},"12":function(container,depth0,helpers,partials,data) {
|
|
15033
15173
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15034
15174
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -15055,7 +15195,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15055
15195
|
return undefined
|
|
15056
15196
|
}, buffer =
|
|
15057
15197
|
" ";
|
|
15058
|
-
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":
|
|
15198
|
+
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":53,"column":637},"end":{"line":53,"column":863}}}),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),options) : helper));
|
|
15059
15199
|
if (!lookupProperty(helpers,"isOS")) { stack1 = container.hooks.blockHelperMissing.call(depth0,stack1,options)}
|
|
15060
15200
|
if (stack1 != null) { buffer += stack1; }
|
|
15061
15201
|
return buffer;
|
|
@@ -15097,7 +15237,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15097
15237
|
};
|
|
15098
15238
|
|
|
15099
15239
|
return " <a href=\""
|
|
15100
|
-
+ alias1(((helper = (helper = lookupProperty(helpers,"reportUpdateUrl") || (depth0 != null ? lookupProperty(depth0,"reportUpdateUrl") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"reportUpdateUrl","hash":{},"data":data,"loc":{"start":{"line":
|
|
15240
|
+
+ alias1(((helper = (helper = lookupProperty(helpers,"reportUpdateUrl") || (depth0 != null ? lookupProperty(depth0,"reportUpdateUrl") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"reportUpdateUrl","hash":{},"data":data,"loc":{"start":{"line":56,"column":13},"end":{"line":56,"column":34}}}) : helper)))
|
|
15101
15241
|
+ "?meeting_id="
|
|
15102
15242
|
+ alias1(alias2((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
15103
15243
|
+ "\" id=\"share-button\" class=\"btn btn-primary btn-xs edit-button\" target=\"_blank\"><span class=\"glyphicon glyphicon-edit\"></span> "
|
|
@@ -15111,8 +15251,29 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15111
15251
|
return undefined
|
|
15112
15252
|
};
|
|
15113
15253
|
|
|
15114
|
-
return ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":
|
|
15254
|
+
return ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":61,"column":9}}})) != null ? stack1 : "");
|
|
15115
15255
|
},"usePartial":true,"useData":true});
|
|
15256
|
+
this["hbs_Crouton"]["templates"]["meetingsPlaceholders"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
15257
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15258
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
15259
|
+
return parent[propertyName];
|
|
15260
|
+
}
|
|
15261
|
+
return undefined
|
|
15262
|
+
};
|
|
15263
|
+
|
|
15264
|
+
return "<tr class=\"bmlt-data-row-placeholder hide\" data-meetingId=\"meeting-data-row-"
|
|
15265
|
+
+ container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
15266
|
+
+ "\">\n <td class=\"bmlt-column-placeholder hide\" colspan=\"3\"></td>\n</tr>\n";
|
|
15267
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
15268
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15269
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
15270
|
+
return parent[propertyName];
|
|
15271
|
+
}
|
|
15272
|
+
return undefined
|
|
15273
|
+
};
|
|
15274
|
+
|
|
15275
|
+
return ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":9}}})) != null ? stack1 : "");
|
|
15276
|
+
},"useData":true});
|
|
15116
15277
|
this["hbs_Crouton"]["templates"]["weekdays"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
15117
15278
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15118
15279
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -15205,8 +15366,8 @@ var croutonDefaultTemplates = {
|
|
|
15205
15366
|
].join('\n'),
|
|
15206
15367
|
|
|
15207
15368
|
observer_template: [
|
|
15208
|
-
"
|
|
15209
|
-
"
|
|
15369
|
+
"{{> observerLine name=contact_name_1 phone=contact_phone_1 email=contact_email_1 }}",
|
|
15370
|
+
"{{> observerLine name=contact_name_2 phone=contact_phone_2 email=contact_email_2 }}",
|
|
15210
15371
|
"{{#if this.wheelchair}}<div aria-hidden='true' style='font-style:normal; font-size:x-large;'>♿</div>{{/if}}"
|
|
15211
15372
|
].join('\n'),
|
|
15212
15373
|
|
|
@@ -16339,9 +16500,11 @@ var crouton_Handlebars = Handlebars.noConflict();
|
|
|
16339
16500
|
// These are extension points
|
|
16340
16501
|
crouton_Handlebars.registerHelper("startup", () => '');
|
|
16341
16502
|
crouton_Handlebars.registerHelper("enrich", () => '');
|
|
16503
|
+
crouton_Handlebars.registerHelper("log", (x) => console.log(x));
|
|
16342
16504
|
crouton_Handlebars.registerHelper('selectFormatPopup', () => "formatPopup");
|
|
16343
16505
|
crouton_Handlebars.registerHelper('selectObserver', () => "observerTemplate");
|
|
16344
16506
|
|
|
16507
|
+
|
|
16345
16508
|
function Crouton(config) {
|
|
16346
16509
|
var self = this;
|
|
16347
16510
|
self.mutex = false;
|
|
@@ -16432,6 +16595,7 @@ function Crouton(config) {
|
|
|
16432
16595
|
distance_units: 'miles',
|
|
16433
16596
|
noMap: false,
|
|
16434
16597
|
maxTomatoWidth: 160,
|
|
16598
|
+
caption: false,
|
|
16435
16599
|
};
|
|
16436
16600
|
|
|
16437
16601
|
self.setConfig(config);
|
|
@@ -16448,6 +16612,9 @@ function Crouton(config) {
|
|
|
16448
16612
|
});
|
|
16449
16613
|
self.config['custom_query'] = original_query;
|
|
16450
16614
|
};
|
|
16615
|
+
self.registerPartial = function(name, template) {
|
|
16616
|
+
crouton_Handlebars.registerPartial(name, crouton_Handlebars.compile(template));
|
|
16617
|
+
};
|
|
16451
16618
|
self.getMeetings = function(url,cb=null) {
|
|
16452
16619
|
var promises = [fetchJsonp(this.config['root_server'] + url).then(function(response) { return response.json(); })];
|
|
16453
16620
|
|
|
@@ -16479,7 +16646,9 @@ function Crouton(config) {
|
|
|
16479
16646
|
cb && cb();
|
|
16480
16647
|
return;
|
|
16481
16648
|
}
|
|
16482
|
-
|
|
16649
|
+
if (self.config['exclude_zip_codes'].length > 0) {
|
|
16650
|
+
mainMeetings['meetings'] = mainMeetings['meetings'].filter(function(m) { return !inArray(m['location_postal_code_1'], self.config['exclude_zip_codes']); } );
|
|
16651
|
+
}
|
|
16483
16652
|
self.meetingData = mainMeetings['meetings'];
|
|
16484
16653
|
self.formatsData = mainMeetings['formats'];
|
|
16485
16654
|
if (extraMeetings) {
|
|
@@ -16635,13 +16804,22 @@ function Crouton(config) {
|
|
|
16635
16804
|
self.dayTab = function(day_id) {
|
|
16636
16805
|
self.hideAllPages();
|
|
16637
16806
|
jQuery('.nav-tabs a[href="#tab' + day_id + '"]').tab('show');
|
|
16638
|
-
|
|
16807
|
+
jQuery("#" + day_id).removeClass("hide").addClass("show");
|
|
16639
16808
|
};
|
|
16640
16809
|
self.dayTabFromId = function(id) {
|
|
16641
16810
|
day_id = self.meetingData.find((m)=>m.id_bigint == id).weekday_tinyint;
|
|
16642
16811
|
self.dayTab(day_id);
|
|
16643
16812
|
};
|
|
16644
16813
|
self.showPage = function (id) {
|
|
16814
|
+
jQuery(id+" .bmlt-data-row-placeholder").each(function() {
|
|
16815
|
+
const meetingId = this.dataset.meetingid;
|
|
16816
|
+
const placeHolder = jQuery(this);
|
|
16817
|
+
const placeholderText = this.outerHTML;
|
|
16818
|
+
const meetingRow = jQuery("#"+meetingId);
|
|
16819
|
+
meetingRow.before(placeholderText);
|
|
16820
|
+
placeHolder.replaceWith(meetingRow);
|
|
16821
|
+
});
|
|
16822
|
+
self.addStripes();
|
|
16645
16823
|
jQuery(id).removeClass("hide").addClass("show");
|
|
16646
16824
|
};
|
|
16647
16825
|
|
|
@@ -16677,12 +16855,12 @@ function Crouton(config) {
|
|
|
16677
16855
|
self.highlightButton("#day");
|
|
16678
16856
|
jQuery('.bmlt-page').each(function (index) {
|
|
16679
16857
|
self.hidePage("#" + this.id);
|
|
16680
|
-
self.hidePage("#days");
|
|
16681
|
-
self.showPage("#byday");
|
|
16682
|
-
self.hidePage("#nav-days");
|
|
16683
|
-
self.hidePage("#tabs-content");
|
|
16684
16858
|
return;
|
|
16685
16859
|
});
|
|
16860
|
+
self.hidePage("#days");
|
|
16861
|
+
self.showPage("#byday");
|
|
16862
|
+
self.hidePage("#nav-days");
|
|
16863
|
+
self.hidePage("#tabs-content");
|
|
16686
16864
|
};
|
|
16687
16865
|
|
|
16688
16866
|
self.dayView = function () {
|
|
@@ -16690,11 +16868,11 @@ function Crouton(config) {
|
|
|
16690
16868
|
self.highlightButton("#day");
|
|
16691
16869
|
jQuery('.bmlt-page').each(function (index) {
|
|
16692
16870
|
self.hidePage("#" + this.id);
|
|
16693
|
-
self.showPage("#days");
|
|
16694
|
-
self.showPage("#nav-days");
|
|
16695
|
-
self.showPage("#tabs-content");
|
|
16696
16871
|
return;
|
|
16697
16872
|
});
|
|
16873
|
+
jQuery("#days").removeClass("hide").addClass("show");
|
|
16874
|
+
jQuery("#nav-days").removeClass("hide").addClass("show")
|
|
16875
|
+
self.showPage("#tabs-content");
|
|
16698
16876
|
};
|
|
16699
16877
|
|
|
16700
16878
|
self.groupedView = function (field) {
|
|
@@ -16738,9 +16916,15 @@ function Crouton(config) {
|
|
|
16738
16916
|
jQuery("#tab-pane").removeClass("show").addClass("hide");
|
|
16739
16917
|
};
|
|
16740
16918
|
self.addStripes = function() {
|
|
16741
|
-
|
|
16919
|
+
jQuery(".bmlt-data-row").removeClass("evenRow");
|
|
16920
|
+
jQuery(".bmlt-data-row").removeClass("oddRow");
|
|
16742
16921
|
jQuery(".bmlt-data-row:not(.hide)").each(function (index, value) {
|
|
16743
16922
|
jQuery(value).addClass((index % 2) ? 'oddRow' : 'evenRow');
|
|
16923
|
+
});
|
|
16924
|
+
}
|
|
16925
|
+
self.calcShowingNow = function() {
|
|
16926
|
+
var showingNow = [];
|
|
16927
|
+
jQuery(".bmlt-data-row:not(.hide)").each(function (index, value) {
|
|
16744
16928
|
const rowId = value.id.split("-");
|
|
16745
16929
|
showingNow.push(rowId[rowId.length-1]);
|
|
16746
16930
|
});
|
|
@@ -16751,8 +16935,6 @@ function Crouton(config) {
|
|
|
16751
16935
|
jQuery(".group-header").removeClass("hide");
|
|
16752
16936
|
jQuery(".meeting-group").removeClass("hide");
|
|
16753
16937
|
jQuery(".bmlt-data-row").removeClass("hide");
|
|
16754
|
-
jQuery(".bmlt-data-row").removeClass("evenRow");
|
|
16755
|
-
jQuery(".bmlt-data-row").removeClass("oddRow");
|
|
16756
16938
|
jQuery(".filter-dropdown").each(function(index, filter) {
|
|
16757
16939
|
const dataValue = filter.value.replace("a-", "");
|
|
16758
16940
|
if (dataValue === "") return;
|
|
@@ -16763,7 +16945,8 @@ function Crouton(config) {
|
|
|
16763
16945
|
jQuery(".bmlt-data-row").not("[data-" + dataType + "~='" + dataValue + "']").addClass("hide");
|
|
16764
16946
|
}
|
|
16765
16947
|
});
|
|
16766
|
-
|
|
16948
|
+
this.addStripes();
|
|
16949
|
+
var showingNow = this.calcShowingNow();
|
|
16767
16950
|
self.updateMeetingCount(showingNow);
|
|
16768
16951
|
self.updateFilters();
|
|
16769
16952
|
if (croutonMap) croutonMap.fillMap(showingNow);
|
|
@@ -16809,6 +16992,7 @@ function Crouton(config) {
|
|
|
16809
16992
|
self.renderStandaloneMap = function (selector, context, callback=null, fitBounds=true) {
|
|
16810
16993
|
hbs_Crouton['localization'] = self.localization;
|
|
16811
16994
|
crouton_Handlebars.registerPartial('meetings', hbs_Crouton.templates['meetings']);
|
|
16995
|
+
crouton_Handlebars.registerPartial('meetingsPlaceholders', hbs_Crouton.templates['meetingsPlaceholders']);
|
|
16812
16996
|
crouton_Handlebars.registerPartial('bydays', hbs_Crouton.templates['byday']);
|
|
16813
16997
|
crouton_Handlebars.registerPartial('formatPopup', hbs_Crouton.templates['formatPopup']);
|
|
16814
16998
|
window.crouton = self;
|
|
@@ -16843,6 +17027,7 @@ function Crouton(config) {
|
|
|
16843
17027
|
self.renderView = function (selector, context, callback, fitBounds) {
|
|
16844
17028
|
hbs_Crouton['localization'] = self.localization;
|
|
16845
17029
|
crouton_Handlebars.registerPartial('meetings', hbs_Crouton.templates['meetings']);
|
|
17030
|
+
crouton_Handlebars.registerPartial('meetingsPlaceholders', hbs_Crouton.templates['meetingsPlaceholders']);
|
|
16846
17031
|
crouton_Handlebars.registerPartial('bydays', hbs_Crouton.templates['byday']);
|
|
16847
17032
|
crouton_Handlebars.registerPartial('weekdays', hbs_Crouton.templates['weekdays']);
|
|
16848
17033
|
crouton_Handlebars.registerPartial('header', hbs_Crouton.templates['header']);
|
|
@@ -16865,6 +17050,16 @@ function Crouton(config) {
|
|
|
16865
17050
|
addLive = function(id) {return id+"-live"};
|
|
16866
17051
|
}
|
|
16867
17052
|
self.showingNowCount = meetingCount;
|
|
17053
|
+
jQuery(".crouton_root_service_body").each(function() {
|
|
17054
|
+
var text = "";
|
|
17055
|
+
var field = 'name';
|
|
17056
|
+
if (this.dataset.field) field = this.dataset.field;
|
|
17057
|
+
if (self.config['service_body'].length > 0) {
|
|
17058
|
+
const sb = self.getServiceBodyDetails(self.config['service_body'][0]);
|
|
17059
|
+
if (sb) text = sb[field] ? sb[field] : "";
|
|
17060
|
+
}
|
|
17061
|
+
jQuery(this).text(text);
|
|
17062
|
+
});
|
|
16868
17063
|
jQuery(addLive('#bmlt_tabs_meeting_count')).text(meetingCount);
|
|
16869
17064
|
jQuery(addLive('#bmlt_tabs_group_count')).each(function(){
|
|
16870
17065
|
var filteredMeetings = self.meetingData;
|
|
@@ -17023,21 +17218,15 @@ function Crouton(config) {
|
|
|
17023
17218
|
|
|
17024
17219
|
self.toFarsinNumber = function( n ) {
|
|
17025
17220
|
const farsiDigits = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
|
|
17026
|
-
|
|
17027
|
-
|
|
17221
|
+
const ampm = {'AM':'صبح', 'PM':'بعدازظهر'};
|
|
17222
|
+
n = n.replace(/\d/g, x => farsiDigits[x]);
|
|
17223
|
+
n = n.replace(/AM|am/g, ampm['AM']);
|
|
17224
|
+
n = n.replace(/PM|pm/g, x => ampm['PM']);
|
|
17225
|
+
return n;
|
|
17028
17226
|
}
|
|
17029
17227
|
self.enrichMeetings = function (meetingData) {
|
|
17030
17228
|
var meetings = [];
|
|
17031
17229
|
|
|
17032
|
-
crouton_Handlebars.registerPartial("meetingDataTemplate", self.config['meeting_data_template']);
|
|
17033
|
-
crouton_Handlebars.registerPartial("metaDataTemplate", self.config['metadata_template']);
|
|
17034
|
-
crouton_Handlebars.registerPartial("observerTemplate", self.config['observer_template']);
|
|
17035
|
-
crouton_Handlebars.registerPartial("meetingpageTitleTemplate", self.config['meetingpage_title_template']);
|
|
17036
|
-
crouton_Handlebars.registerPartial("meetingpageContentsTemplate", self.config['meetingpage_contents_template']);
|
|
17037
|
-
crouton_Handlebars.registerPartial("meetingCountTemplate", self.config['meeting_count_template']);
|
|
17038
|
-
crouton_Handlebars.registerPartial("meetingLink", self.config['meeting_link_template']);
|
|
17039
|
-
crouton_Handlebars.registerPartial("meetingModal", self.config['meeting_modal_template']);
|
|
17040
|
-
|
|
17041
17230
|
let queryStringChar = '?';
|
|
17042
17231
|
if (self.config.meeting_details_href) {
|
|
17043
17232
|
if (self.config.meeting_details_href.indexOf('?') >= 0) queryStringChar = '&';
|
|
@@ -17200,6 +17389,37 @@ function Crouton(config) {
|
|
|
17200
17389
|
self.distanceTabAllowed = true;
|
|
17201
17390
|
}
|
|
17202
17391
|
}
|
|
17392
|
+
self.setUpPartials = function() {
|
|
17393
|
+
crouton_Handlebars.registerHelper('hasBMLT2ics', function() {return crouton.config['bmlt2ics'].length>0;});
|
|
17394
|
+
crouton_Handlebars.registerHelper('BMLT2ics', function() {return crouton.config['bmlt2ics'];});
|
|
17395
|
+
self.registerPartial('icsButton',
|
|
17396
|
+
'<a href="{{BMLT2ics}}?meeting-id={{id_bigint}}" download="{{meeting_name}}.ics" id="share-button" class="btn btn-primary btn-xs" ><span class="glyphicon glyphicon-download-alt"></span> {{getWord "bmlt2ics"}}</a>');
|
|
17397
|
+
self.registerPartial('offerIcsButton', "{{#if (hasBMLT2ics)}}{{> icsButton}}<br/>{{/if}}");
|
|
17398
|
+
crouton_Handlebars.registerPartial('directionsButton', hbs_Crouton.templates['directionsButton']);
|
|
17399
|
+
crouton_Handlebars.registerPartial('meetingDetailsButton', hbs_Crouton.templates['meetingDetailsButton']);
|
|
17400
|
+
self.registerPartial('distance',`
|
|
17401
|
+
<div class='meeting-distance{{#unless this.distance}} hide{{/unless}}' data-id='{{this.id_bigint}}'>
|
|
17402
|
+
{{getWord 'Distance'}}: {{this.distance}}
|
|
17403
|
+
</div>`);
|
|
17404
|
+
crouton_Handlebars.registerHelper('hasObserverLine', function(name, phone, email) {
|
|
17405
|
+
if (name && name.length > 0) return true;
|
|
17406
|
+
if (phone && phone.length > 0) return true;
|
|
17407
|
+
if (email && email.length > 0) return true;
|
|
17408
|
+
return false;
|
|
17409
|
+
});
|
|
17410
|
+
self.registerPartial('observerLine',`
|
|
17411
|
+
{{#if (hasObserverLine name phone email) }}
|
|
17412
|
+
<div class='observerLine'>Kontact: {{name}} <a href='tel:{{phone}}'>{{phone}}</a> <a href='mailto:{{email}}'>{{email}}</a></div>
|
|
17413
|
+
</div>{{/if}}`);
|
|
17414
|
+
self.registerPartial("meetingDataTemplate", self.config['meeting_data_template']);
|
|
17415
|
+
self.registerPartial("metaDataTemplate", self.config['metadata_template']);
|
|
17416
|
+
self.registerPartial("observerTemplate", self.config['observer_template']);
|
|
17417
|
+
self.registerPartial("meetingpageTitleTemplate", self.config['meetingpage_title_template']);
|
|
17418
|
+
self.registerPartial("meetingpageContentsTemplate", self.config['meetingpage_contents_template']);
|
|
17419
|
+
self.registerPartial("meetingCountTemplate", self.config['meeting_count_template']);
|
|
17420
|
+
self.registerPartial("meetingLink", self.config['meeting_link_template']);
|
|
17421
|
+
self.registerPartial("meetingModal", self.config['meeting_modal_template']);
|
|
17422
|
+
}
|
|
17203
17423
|
self.calculateDistance = function(meetingData) {
|
|
17204
17424
|
meetingData['distance'] = '';
|
|
17205
17425
|
if (meetingData['venue_type'] != 2) {
|
|
@@ -17370,6 +17590,7 @@ Crouton.prototype.doHandlebars = function() {
|
|
|
17370
17590
|
self.all_service_bodies.push(service_bodies[i]);
|
|
17371
17591
|
}
|
|
17372
17592
|
var enrichedMeetingData = self.enrichMeetings(self.meetingData);
|
|
17593
|
+
self.setUpPartials();
|
|
17373
17594
|
var customStartupTemplate = crouton_Handlebars.compile('{{startup}}');
|
|
17374
17595
|
customStartupTemplate(enrichedMeetingData);
|
|
17375
17596
|
var customEnrichTemplate = crouton_Handlebars.compile('{{enrich this}}');
|
|
@@ -17513,6 +17734,7 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17513
17734
|
}
|
|
17514
17735
|
|
|
17515
17736
|
var enrichedMeetingData = self.enrichMeetings(self.meetingData);
|
|
17737
|
+
self.setUpPartials();
|
|
17516
17738
|
|
|
17517
17739
|
enrichedMeetingData.sort(function (a, b) {
|
|
17518
17740
|
if (a['start_time_raw'] < b['start_time_raw']) {
|
|
@@ -17703,7 +17925,9 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17703
17925
|
jQuery('#groupingButton_distance_in_km').addClass('hide');
|
|
17704
17926
|
}
|
|
17705
17927
|
self.addStripes();
|
|
17928
|
+
self.calcShowingNow()
|
|
17706
17929
|
self.updateMeetingCount();
|
|
17930
|
+
jQuery('#please-wait').remove();
|
|
17707
17931
|
if (self.config['map_search'] != null || self.config['show_map']) {
|
|
17708
17932
|
jQuery(".bmlt-data-row").css({cursor: "pointer"});
|
|
17709
17933
|
jQuery(".bmlt-data-row").click(function (e) {
|
|
@@ -17770,15 +17994,6 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17770
17994
|
jQuery('.directions-map-modal-close').on('click', function (e) {
|
|
17771
17995
|
closeDirectionsMapModal()
|
|
17772
17996
|
});
|
|
17773
|
-
/****
|
|
17774
|
-
jQuery('.custom-ul').on('click', 'a', function (event) {
|
|
17775
|
-
jQuery('.bmlt-page').each(function (index) {
|
|
17776
|
-
self.hidePage("#" + this.id);
|
|
17777
|
-
self.showPage("#" + event.target.id);
|
|
17778
|
-
return;
|
|
17779
|
-
});
|
|
17780
|
-
});
|
|
17781
|
-
*/
|
|
17782
17997
|
if (self.config['has_tabs']) {
|
|
17783
17998
|
jQuery('.nav-tabs a').on('click', function (e) {
|
|
17784
17999
|
e.preventDefault();
|
|
@@ -17792,8 +18007,8 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17792
18007
|
jQuery('#tab' + n).show();
|
|
17793
18008
|
}
|
|
17794
18009
|
|
|
17795
|
-
|
|
17796
|
-
|
|
18010
|
+
jQuery('.bmlt-header').removeClass("hide").addClass("show");
|
|
18011
|
+
jQuery(".bmlt-tabs").removeClass("hide").addClass("show");
|
|
17797
18012
|
|
|
17798
18013
|
if (self.config['default_filter_dropdown'] !== "") {
|
|
17799
18014
|
var filter = self.config['default_filter_dropdown'].toLowerCase().split("=");
|
|
@@ -17815,7 +18030,7 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17815
18030
|
}
|
|
17816
18031
|
if (self.config['view_by'] == 'map' && !self.config['map_page'])
|
|
17817
18032
|
self.config['view_by'] = 'day';
|
|
17818
|
-
|
|
18033
|
+
self.showView(self.config['view_by'], self.meetingData.length);
|
|
17819
18034
|
if (self.config['on_complete'] != null && isFunction(self.config['on_complete'])) {
|
|
17820
18035
|
self.config['on_complete']();
|
|
17821
18036
|
}
|
|
@@ -18126,32 +18341,11 @@ crouton_Handlebars.registerHelper('times', function(n, block) {
|
|
|
18126
18341
|
accum += block.fn(i);
|
|
18127
18342
|
return accum;
|
|
18128
18343
|
});
|
|
18129
|
-
|
|
18130
|
-
return crouton.config['bmlt2ics'].length>0;});
|
|
18131
|
-
crouton_Handlebars.registerHelper('BMLT2ics', function() {return crouton.config['bmlt2ics'];});
|
|
18132
|
-
crouton_Handlebars.registerPartial('icsButton',
|
|
18133
|
-
'<a href="{{BMLT2ics}}?meeting-id={{id_bigint}}" download="{{meeting_name}}.ics" id="share-button" class="btn btn-primary btn-xs" ><span class="glyphicon glyphicon-download-alt"></span> {{getWord "bmlt2ics"}}</a>');
|
|
18134
|
-
crouton_Handlebars.registerPartial('offerIcsButton',
|
|
18135
|
-
"{{#if (hasBMLT2ics)}}{{> icsButton}}<br/>{{/if}}");
|
|
18136
|
-
crouton_Handlebars.registerPartial('directionsButton', hbs_Crouton.templates['directionsButton']);
|
|
18137
|
-
crouton_Handlebars.registerPartial('meetingDetailsButton', hbs_Crouton.templates['meetingDetailsButton']);
|
|
18138
|
-
crouton_Handlebars.registerPartial('distance',`
|
|
18139
|
-
<div class='meeting-distance{{#unless this.distance}} hide{{/unless}}' data-id='{{this.id_bigint}}'>
|
|
18140
|
-
{{getWord 'Distance'}}: {{this.distance}}
|
|
18141
|
-
</div>`);
|
|
18344
|
+
|
|
18142
18345
|
function convertToPunyCode(str) {
|
|
18143
18346
|
return str !== undefined ? punycode.toASCII(str.toLowerCase()).replace(/\W|_/g, "-") : "";
|
|
18144
18347
|
}
|
|
18145
18348
|
|
|
18146
|
-
function arrayColumn(input, columnKey) {
|
|
18147
|
-
var newArr = [];
|
|
18148
|
-
for (var i = 0; i < input.length; i++) {
|
|
18149
|
-
newArr.push(input[i][columnKey]);
|
|
18150
|
-
}
|
|
18151
|
-
|
|
18152
|
-
return newArr;
|
|
18153
|
-
}
|
|
18154
|
-
|
|
18155
18349
|
function getUniqueValuesOfKey(array, key){
|
|
18156
18350
|
return array.reduce(function(carry, item){
|
|
18157
18351
|
if(item[key] && !~carry.indexOf(item[key])) carry.push(item[key]);
|
|
@@ -18301,17 +18495,6 @@ Array.prototype.clean = function() {
|
|
|
18301
18495
|
return this;
|
|
18302
18496
|
};
|
|
18303
18497
|
|
|
18304
|
-
Array.prototype.exclude = function(excludedValues, mappedField) {
|
|
18305
|
-
for (var i = this.length; i--;) {
|
|
18306
|
-
for (var j = 0; j < excludedValues.length; j++) {
|
|
18307
|
-
if (excludedValues[j] === this[i][mappedField]) {
|
|
18308
|
-
this.splice(i, 1);
|
|
18309
|
-
}
|
|
18310
|
-
}
|
|
18311
|
-
}
|
|
18312
|
-
return this;
|
|
18313
|
-
};
|
|
18314
|
-
|
|
18315
18498
|
Array.prototype.sortByKey = function (key) {
|
|
18316
18499
|
this.sort(function (a, b) {
|
|
18317
18500
|
if (a[key] < b[key])
|
|
@@ -18483,7 +18666,7 @@ function MeetingMap(inConfig) {
|
|
|
18483
18666
|
|
|
18484
18667
|
function loadMap(inDiv, menuContext, handlebarMapOptions=null,cb=null,hide=false) {
|
|
18485
18668
|
if (inDiv) {
|
|
18486
|
-
crouton_Handlebars.registerPartial("markerContentsTemplate", config['marker_contents_template']);
|
|
18669
|
+
crouton_Handlebars.registerPartial("markerContentsTemplate", crouton_Handlebars.compile(config['marker_contents_template']));
|
|
18487
18670
|
gInDiv = inDiv;
|
|
18488
18671
|
createThrobber(inDiv);
|
|
18489
18672
|
if (!config.map_search) showThrobber();
|
|
@@ -18528,6 +18711,11 @@ function MeetingMap(inConfig) {
|
|
|
18528
18711
|
gDelegate.addControl(createMenuButton(menuContext), 'topright', cb);
|
|
18529
18712
|
}
|
|
18530
18713
|
}
|
|
18714
|
+
if (config.caption) {
|
|
18715
|
+
const wrapper= document.createElement('div');
|
|
18716
|
+
wrapper.innerHTML= '<div class="map-caption">'+config.caption.replace('\n','<br/>')+'</div>';
|
|
18717
|
+
gDelegate.addControl(wrapper.firstChild, 'bottomleft', cb);
|
|
18718
|
+
}
|
|
18531
18719
|
}
|
|
18532
18720
|
};
|
|
18533
18721
|
};
|
|
@@ -19091,14 +19279,14 @@ function MeetingMap(inConfig) {
|
|
|
19091
19279
|
</div>{{/each}}
|
|
19092
19280
|
</div>
|
|
19093
19281
|
`;
|
|
19282
|
+
const markerTemplate = crouton_Handlebars.compile(markerTemplateSrc);
|
|
19094
19283
|
|
|
19095
19284
|
/************************************************************************************//**
|
|
19096
19285
|
* \brief This creates a single meeting's marker on the map. *
|
|
19097
19286
|
****************************************************************************************/
|
|
19098
19287
|
function createMapMarker(meetings, openMarker) {
|
|
19099
19288
|
var main_point = [meetings[0].latitude, meetings[0].longitude];
|
|
19100
|
-
|
|
19101
|
-
var marker_html = markerTemplate(meetings);
|
|
19289
|
+
const marker_html = markerTemplate(meetings);
|
|
19102
19290
|
gDelegate.createMarker(main_point,
|
|
19103
19291
|
(meetings.length > 1),
|
|
19104
19292
|
marker_html, null, meetings.map((m)=>parseInt(m.id_bigint)), openMarker);
|
|
@@ -19654,6 +19842,10 @@ function addControl(div,pos,cb) {
|
|
|
19654
19842
|
p = google.maps.ControlPosition.TOP_LEFT;
|
|
19655
19843
|
div.style.margin = "10px 0 0 10px";
|
|
19656
19844
|
break;
|
|
19845
|
+
case 'bottomleft':
|
|
19846
|
+
p = google.maps.ControlPosition.LEFT_BOTTOM;
|
|
19847
|
+
div.style.margin = "0 0 0px 10px";
|
|
19848
|
+
break;
|
|
19657
19849
|
}
|
|
19658
19850
|
div.index = 1;
|
|
19659
19851
|
if (cb) {
|