@bmlt-enabled/croutonjs 3.19.4 → 3.20.0
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 +0 -6
- package/crouton-core.js +211 -99
- package/crouton-core.min.css +1 -1
- package/crouton-core.min.js +1 -1
- package/crouton-gmaps.js +250 -119
- package/crouton-gmaps.min.js +1 -1
- package/crouton-map.js +39 -20
- package/crouton-map.min.js +1 -1
- package/crouton-nocore.js +142 -51
- package/crouton-nocore.min.js +1 -1
- package/crouton.css +24 -16
- package/crouton.js +250 -119
- package/crouton.min.css +1 -1
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +250 -119
- package/crouton.nojquery.min.js +1 -1
- package/package.json +1 -1
package/crouton-gmaps.js
CHANGED
|
@@ -13255,7 +13255,7 @@ function CroutonLocalization(language) {
|
|
|
13255
13255
|
RS: "لجنة خدمات الإقلي.م",
|
|
13256
13256
|
ZF: "منتدى المنطقة" ,
|
|
13257
13257
|
MA: "لجنة خدمات العاصمة",
|
|
13258
|
-
LS: "خدمة المنتديات المحلية",
|
|
13258
|
+
LS: "خدمة المنتديات المحلية",
|
|
13259
13259
|
GS: "Group Support Forum",
|
|
13260
13260
|
},
|
|
13261
13261
|
"css-direction": 'bmlt-rtl',
|
|
@@ -13274,7 +13274,10 @@ function CroutonLocalization(language) {
|
|
|
13274
13274
|
'close': "قريب",
|
|
13275
13275
|
"bmlt2ics": "Add to your calendar",
|
|
13276
13276
|
'meeting page': "صفحة الاجتماع",
|
|
13277
|
-
'meeting details': "تفاصيل الاجتماع"
|
|
13277
|
+
'meeting details': "تفاصيل الاجتماع",
|
|
13278
|
+
'report update': "Report an Update",
|
|
13279
|
+
'filter by visibility': "List only these meetings",
|
|
13280
|
+
'go': "Go!"
|
|
13278
13281
|
},
|
|
13279
13282
|
"da-DK": {
|
|
13280
13283
|
"days_of_the_week": ["", "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"],
|
|
@@ -13326,6 +13329,9 @@ function CroutonLocalization(language) {
|
|
|
13326
13329
|
'visible meeting list': 'Visible meetings as list',
|
|
13327
13330
|
'enter a city or zip code': 'Enter a city or zip code',
|
|
13328
13331
|
'toggle fullscreen mode': 'Toggle fullscreen mode',
|
|
13332
|
+
'report update': "Report an Update",
|
|
13333
|
+
'filter by visibility': "List only these meetings",
|
|
13334
|
+
'go': "Go!"
|
|
13329
13335
|
},
|
|
13330
13336
|
"de-DE":{
|
|
13331
13337
|
"days_of_the_week": ["", "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
|
|
@@ -13379,7 +13385,10 @@ function CroutonLocalization(language) {
|
|
|
13379
13385
|
'close': "Schliessen",
|
|
13380
13386
|
"bmlt2ics": "Zu Kalender hinzufügen",
|
|
13381
13387
|
'meeting page': "Meeting Seite",
|
|
13382
|
-
'meeting details': "Genaueres zum Meeting"
|
|
13388
|
+
'meeting details': "Genaueres zum Meeting",
|
|
13389
|
+
'report update': "Report an Update",
|
|
13390
|
+
'filter by visibility': "Zeige nur Meetings, die gerade auf dem Karte stehen",
|
|
13391
|
+
'go': "Los!"
|
|
13383
13392
|
},
|
|
13384
13393
|
"en-AU": {
|
|
13385
13394
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13432,7 +13441,10 @@ function CroutonLocalization(language) {
|
|
|
13432
13441
|
'toggle fullscreen mode': 'Toggle fullscreen mode',
|
|
13433
13442
|
'close': "Close",
|
|
13434
13443
|
'meeting page': "Meeting Page",
|
|
13435
|
-
'meeting details': "Meeting Details"
|
|
13444
|
+
'meeting details': "Meeting Details",
|
|
13445
|
+
'report update': "Report an Update",
|
|
13446
|
+
'filter by visibility': "List only these meetings",
|
|
13447
|
+
'go': "Go!"
|
|
13436
13448
|
},
|
|
13437
13449
|
"en-CA": {
|
|
13438
13450
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13486,7 +13498,10 @@ function CroutonLocalization(language) {
|
|
|
13486
13498
|
'close': "Close",
|
|
13487
13499
|
"bmlt2ics": "Add to your calendar",
|
|
13488
13500
|
'meeting page': "Meeting Page",
|
|
13489
|
-
'meeting details': "Meeting Details"
|
|
13501
|
+
'meeting details': "Meeting Details",
|
|
13502
|
+
'report update': "Report an Update",
|
|
13503
|
+
'filter by visibility': "List only these meetings",
|
|
13504
|
+
'go': "Go!"
|
|
13490
13505
|
},
|
|
13491
13506
|
"en-NZ": {
|
|
13492
13507
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13540,7 +13555,10 @@ function CroutonLocalization(language) {
|
|
|
13540
13555
|
'close': "Close",
|
|
13541
13556
|
"bmlt2ics": "Add to your calendar",
|
|
13542
13557
|
'meeting page': "Meeting Page",
|
|
13543
|
-
'meeting details': "Meeting Details"
|
|
13558
|
+
'meeting details': "Meeting Details",
|
|
13559
|
+
'report update': "Report an Update",
|
|
13560
|
+
'filter by visibility': "List only these meetings",
|
|
13561
|
+
'go': "Go!"
|
|
13544
13562
|
},
|
|
13545
13563
|
"en-UK": {
|
|
13546
13564
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13594,7 +13612,10 @@ function CroutonLocalization(language) {
|
|
|
13594
13612
|
'toggle fullscreen mode': 'Toggle fullscreen mode',
|
|
13595
13613
|
'close': "Close",
|
|
13596
13614
|
'meeting page': "Meeting Page",
|
|
13597
|
-
'meeting details': "Meeting Details"
|
|
13615
|
+
'meeting details': "Meeting Details",
|
|
13616
|
+
'report update': "Report an Update",
|
|
13617
|
+
'filter by visibility': "List only these meetings",
|
|
13618
|
+
'go': "Go!"
|
|
13598
13619
|
},
|
|
13599
13620
|
"en-US": {
|
|
13600
13621
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13648,7 +13669,10 @@ function CroutonLocalization(language) {
|
|
|
13648
13669
|
'close': "Close",
|
|
13649
13670
|
"bmlt2ics": "Add to your calendar",
|
|
13650
13671
|
'meeting page': "Meeting Page",
|
|
13651
|
-
'meeting details': "Meeting Details"
|
|
13672
|
+
'meeting details': "Meeting Details",
|
|
13673
|
+
'report update': "Report an Update",
|
|
13674
|
+
'filter by visibility': "List only these meetings",
|
|
13675
|
+
'go': "Go!"
|
|
13652
13676
|
},
|
|
13653
13677
|
"es-US": {
|
|
13654
13678
|
"days_of_the_week" : ["", "Domingo", " Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"],
|
|
@@ -13702,7 +13726,10 @@ function CroutonLocalization(language) {
|
|
|
13702
13726
|
'close': "Close",
|
|
13703
13727
|
"bmlt2ics": "Add to your calendar",
|
|
13704
13728
|
'meeting page': "Meeting Page",
|
|
13705
|
-
'meeting details': "Meeting Details"
|
|
13729
|
+
'meeting details': "Meeting Details",
|
|
13730
|
+
'report update': "Report an Update",
|
|
13731
|
+
'filter by visibility': "List only these meetings",
|
|
13732
|
+
'go': "Go!"
|
|
13706
13733
|
},
|
|
13707
13734
|
"fa-IR": {
|
|
13708
13735
|
"days_of_the_week" : ["", 'یَکشَنب', 'دوشَنبه', 'سهشنبه', 'چهار شنبه', 'پَنج شَنبه', 'جُمعه', 'شَنبه'],
|
|
@@ -13755,7 +13782,10 @@ function CroutonLocalization(language) {
|
|
|
13755
13782
|
'close': "Close",
|
|
13756
13783
|
"bmlt2ics": "Add to your calendar",
|
|
13757
13784
|
'meeting page': "Meeting Page",
|
|
13758
|
-
'meeting details': "Meeting Details"
|
|
13785
|
+
'meeting details': "Meeting Details",
|
|
13786
|
+
'report update': "Report an Update",
|
|
13787
|
+
'filter by visibility': "List only these meetings",
|
|
13788
|
+
'go': "Go!"
|
|
13759
13789
|
},
|
|
13760
13790
|
"fr-CA": {
|
|
13761
13791
|
"days_of_the_week" : ["", "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"],
|
|
@@ -13809,7 +13839,10 @@ function CroutonLocalization(language) {
|
|
|
13809
13839
|
"close": "Fermer",
|
|
13810
13840
|
"bmlt2ics": "Ajouter au calendrier",
|
|
13811
13841
|
"meeting page": "Page de la réunion",
|
|
13812
|
-
"meeting details": "Détails de la réunion"
|
|
13842
|
+
"meeting details": "Détails de la réunion",
|
|
13843
|
+
'report update': "Report an Update",
|
|
13844
|
+
'filter by visibility': "List only these meetings",
|
|
13845
|
+
'go': "Go!"
|
|
13813
13846
|
},
|
|
13814
13847
|
"it-IT": {
|
|
13815
13848
|
"days_of_the_week" : ["", "Domenica", " Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"],
|
|
@@ -13863,7 +13896,10 @@ function CroutonLocalization(language) {
|
|
|
13863
13896
|
'close': "Close",
|
|
13864
13897
|
"bmlt2ics": "Aggiungi al tuo calendario",
|
|
13865
13898
|
'meeting page': "Meeting Page",
|
|
13866
|
-
'meeting details': "Meeting Details"
|
|
13899
|
+
'meeting details': "Meeting Details",
|
|
13900
|
+
'report update': "Report an Update",
|
|
13901
|
+
'filter by visibility': "List only these meetings",
|
|
13902
|
+
'go': "Go!"
|
|
13867
13903
|
},
|
|
13868
13904
|
"nl-NL": {
|
|
13869
13905
|
"days_of_the_week" : ["", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
|
|
@@ -13917,7 +13953,10 @@ function CroutonLocalization(language) {
|
|
|
13917
13953
|
'close': "Close",
|
|
13918
13954
|
"bmlt2ics": "Add to your calendar",
|
|
13919
13955
|
'meeting page': "Meeting Page",
|
|
13920
|
-
'meeting details': "Meeting Details"
|
|
13956
|
+
'meeting details': "Meeting Details",
|
|
13957
|
+
'report update': "Report an Update",
|
|
13958
|
+
'filter by visibility': "List only these meetings",
|
|
13959
|
+
'go': "Go!"
|
|
13921
13960
|
},
|
|
13922
13961
|
"pl-PL": {
|
|
13923
13962
|
"days_of_the_week" : ["", "Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"],
|
|
@@ -13971,7 +14010,10 @@ function CroutonLocalization(language) {
|
|
|
13971
14010
|
'close': "Close",
|
|
13972
14011
|
"bmlt2ics": "Add to your calendar",
|
|
13973
14012
|
'meeting page': "Meeting Page",
|
|
13974
|
-
'meeting details': "Meeting Details"
|
|
14013
|
+
'meeting details': "Meeting Details",
|
|
14014
|
+
'report update': "Report an Update",
|
|
14015
|
+
'filter by visibility': "List only these meetings",
|
|
14016
|
+
'go': "Go!"
|
|
13975
14017
|
},
|
|
13976
14018
|
"pt-BR": {
|
|
13977
14019
|
"days_of_the_week" : ["", "Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"],
|
|
@@ -14025,7 +14067,10 @@ function CroutonLocalization(language) {
|
|
|
14025
14067
|
'toggle fullscreen mode': 'Toggle fullscreen mode',
|
|
14026
14068
|
'close': "Close",
|
|
14027
14069
|
'meeting page': "Meeting Page",
|
|
14028
|
-
'meeting details': "Meeting Details"
|
|
14070
|
+
'meeting details': "Meeting Details",
|
|
14071
|
+
'report update': "Report an Update",
|
|
14072
|
+
'filter by visibility': "List only these meetings",
|
|
14073
|
+
'go': "Go!"
|
|
14029
14074
|
},
|
|
14030
14075
|
"ru-RU": {
|
|
14031
14076
|
"days_of_the_week" : ["", "Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"],
|
|
@@ -14079,7 +14124,10 @@ function CroutonLocalization(language) {
|
|
|
14079
14124
|
'toggle fullscreen mode': 'Включить полноэкранный режим',
|
|
14080
14125
|
'close': "Закрыть",
|
|
14081
14126
|
'meeting page': "Страница собрания",
|
|
14082
|
-
'meeting details': "Подробности собрания"
|
|
14127
|
+
'meeting details': "Подробности собрания",
|
|
14128
|
+
'report update': "Report an Update",
|
|
14129
|
+
'filter by visibility': "List only these meetings",
|
|
14130
|
+
'go': "Go!"
|
|
14083
14131
|
},
|
|
14084
14132
|
"sv-SE": {
|
|
14085
14133
|
"days_of_the_week" : ["", "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"],
|
|
@@ -14133,7 +14181,10 @@ function CroutonLocalization(language) {
|
|
|
14133
14181
|
'close': "Close",
|
|
14134
14182
|
"bmlt2ics": "Add to your calendar",
|
|
14135
14183
|
'meeting page': "Meeting Page",
|
|
14136
|
-
'meeting details': "Meeting Details"
|
|
14184
|
+
'meeting details': "Meeting Details",
|
|
14185
|
+
'report update': "Report an Update",
|
|
14186
|
+
'filter by visibility': "List only these meetings",
|
|
14187
|
+
'go': "Go!"
|
|
14137
14188
|
}
|
|
14138
14189
|
};
|
|
14139
14190
|
}
|
|
@@ -14504,7 +14555,31 @@ this["hbs_Crouton"]["templates"]["main"] = Handlebars.template({"1":function(con
|
|
|
14504
14555
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingCountTemplate"),depth0,{"name":"meetingCountTemplate","data":data,"indent":" ","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14505
14556
|
+ "</div>\n";
|
|
14506
14557
|
},"usePartial":true,"useData":true});
|
|
14507
|
-
this["hbs_Crouton"]["templates"]["mapMenu"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data
|
|
14558
|
+
this["hbs_Crouton"]["templates"]["mapMenu"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
14559
|
+
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14560
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14561
|
+
return parent[propertyName];
|
|
14562
|
+
}
|
|
14563
|
+
return undefined
|
|
14564
|
+
};
|
|
14565
|
+
|
|
14566
|
+
return " <button id=\"filterMeetings\" style=\"display: block;\">"
|
|
14567
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Filter meetings",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":9,"column":60},"end":{"line":9,"column":89}}}))
|
|
14568
|
+
+ "</button>\n <button id=\"showAsTable\" style=\"display: block;\">"
|
|
14569
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"visible meeting list",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":10,"column":57},"end":{"line":10,"column":91}}}))
|
|
14570
|
+
+ "</button>\n";
|
|
14571
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
14572
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14573
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14574
|
+
return parent[propertyName];
|
|
14575
|
+
}
|
|
14576
|
+
return undefined
|
|
14577
|
+
};
|
|
14578
|
+
|
|
14579
|
+
return " <button id=\"filterTable\" style=\"display: block;\"><span id=\"filteringByVisibility\"></span>"
|
|
14580
|
+
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"filter by visibility",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":12,"column":97},"end":{"line":12,"column":131}}}))
|
|
14581
|
+
+ "</button>\n";
|
|
14582
|
+
},"5":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
14508
14583
|
var stack1, helper, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4="function", lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14509
14584
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14510
14585
|
return parent[propertyName];
|
|
@@ -14515,19 +14590,19 @@ this["hbs_Crouton"]["templates"]["mapMenu"] = Handlebars.template({"1":function(
|
|
|
14515
14590
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
14516
14591
|
+ alias1(container.lambda(((stack1 = (depths[1] != null ? lookupProperty(depths[1],"config") : depths[1])) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
14517
14592
|
+ ";\" data-placeholder=\""
|
|
14518
|
-
+ alias1(((helper = (helper = lookupProperty(helpers,"placeholder") || (depth0 != null ? lookupProperty(depth0,"placeholder") : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{"name":"placeholder","hash":{},"data":data,"loc":{"start":{"line":
|
|
14593
|
+
+ alias1(((helper = (helper = lookupProperty(helpers,"placeholder") || (depth0 != null ? lookupProperty(depth0,"placeholder") : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{"name":"placeholder","hash":{},"data":data,"loc":{"start":{"line":21,"column":124},"end":{"line":21,"column":139}}}) : helper)))
|
|
14519
14594
|
+ "\" data-pointer=\""
|
|
14520
|
-
+ alias1(((helper = (helper = lookupProperty(helpers,"pointer") || (depth0 != null ? lookupProperty(depth0,"pointer") : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{"name":"pointer","hash":{},"data":data,"loc":{"start":{"line":
|
|
14595
|
+
+ alias1(((helper = (helper = lookupProperty(helpers,"pointer") || (depth0 != null ? lookupProperty(depth0,"pointer") : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{"name":"pointer","hash":{},"data":data,"loc":{"start":{"line":21,"column":155},"end":{"line":21,"column":166}}}) : helper)))
|
|
14521
14596
|
+ "\" id="
|
|
14522
|
-
+ alias1(((helper = (helper = lookupProperty(helpers,"elementId") || (depth0 != null ? lookupProperty(depth0,"elementId") : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{"name":"elementId","hash":{},"data":data,"loc":{"start":{"line":
|
|
14597
|
+
+ alias1(((helper = (helper = lookupProperty(helpers,"elementId") || (depth0 != null ? lookupProperty(depth0,"elementId") : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{"name":"elementId","hash":{},"data":data,"loc":{"start":{"line":21,"column":171},"end":{"line":21,"column":184}}}) : helper)))
|
|
14523
14598
|
+ ">\n <option value=\"a-\">"
|
|
14524
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"all",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14599
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"all",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":22,"column":33},"end":{"line":22,"column":50}}}))
|
|
14525
14600
|
+ " "
|
|
14526
|
-
+ alias1(((helper = (helper = lookupProperty(helpers,"placeholder") || (depth0 != null ? lookupProperty(depth0,"placeholder") : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{"name":"placeholder","hash":{},"data":data,"loc":{"start":{"line":
|
|
14601
|
+
+ alias1(((helper = (helper = lookupProperty(helpers,"placeholder") || (depth0 != null ? lookupProperty(depth0,"placeholder") : depth0)) != null ? helper : alias3),(typeof helper === alias4 ? helper.call(alias2,{"name":"placeholder","hash":{},"data":data,"loc":{"start":{"line":22,"column":51},"end":{"line":22,"column":66}}}) : helper)))
|
|
14527
14602
|
+ "</option>\n"
|
|
14528
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,(lookupProperty(helpers,"call")||(depth0 && lookupProperty(depth0,"call"))||alias3).call(alias2,(depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0),((stack1 = (depths[1] != null ? lookupProperty(depths[1],"meetings") : depths[1])) != null ? lookupProperty(stack1,"meetingData") : stack1),{"name":"call","hash":{},"data":data,"loc":{"start":{"line":
|
|
14603
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,(lookupProperty(helpers,"call")||(depth0 && lookupProperty(depth0,"call"))||alias3).call(alias2,(depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0),((stack1 = (depths[1] != null ? lookupProperty(depths[1],"meetings") : depths[1])) != null ? lookupProperty(stack1,"meetingData") : stack1),{"name":"call","hash":{},"data":data,"loc":{"start":{"line":23,"column":22},"end":{"line":23,"column":63}}}),{"name":"each","hash":{},"fn":container.program(6, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":23,"column":14},"end":{"line":25,"column":23}}})) != null ? stack1 : "")
|
|
14529
14604
|
+ " </select>\n </div>\n";
|
|
14530
|
-
},"
|
|
14605
|
+
},"6":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
14531
14606
|
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14532
14607
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14533
14608
|
return parent[propertyName];
|
|
@@ -14536,11 +14611,11 @@ this["hbs_Crouton"]["templates"]["mapMenu"] = Handlebars.template({"1":function(
|
|
|
14536
14611
|
};
|
|
14537
14612
|
|
|
14538
14613
|
return " <option value=\"a-"
|
|
14539
|
-
+ alias3((lookupProperty(helpers,"call")||(depth0 && lookupProperty(depth0,"call"))||alias2).call(alias1,(depths[1] != null ? lookupProperty(depths[1],"objectPointer") : depths[1]),depth0,{"name":"call","hash":{},"data":data,"loc":{"start":{"line":
|
|
14614
|
+
+ alias3((lookupProperty(helpers,"call")||(depth0 && lookupProperty(depth0,"call"))||alias2).call(alias1,(depths[1] != null ? lookupProperty(depths[1],"objectPointer") : depths[1]),depth0,{"name":"call","hash":{},"data":data,"loc":{"start":{"line":24,"column":32},"end":{"line":24,"column":62}}}))
|
|
14540
14615
|
+ "\">"
|
|
14541
|
-
+ alias3((lookupProperty(helpers,"call")||(depth0 && lookupProperty(depth0,"call"))||alias2).call(alias1,(depths[1] != null ? lookupProperty(depths[1],"optionName") : depths[1]),depth0,{"name":"call","hash":{},"data":data,"loc":{"start":{"line":
|
|
14616
|
+
+ alias3((lookupProperty(helpers,"call")||(depth0 && lookupProperty(depth0,"call"))||alias2).call(alias1,(depths[1] != null ? lookupProperty(depths[1],"optionName") : depths[1]),depth0,{"name":"call","hash":{},"data":data,"loc":{"start":{"line":24,"column":64},"end":{"line":24,"column":91}}}))
|
|
14542
14617
|
+ "</option>\n";
|
|
14543
|
-
},"
|
|
14618
|
+
},"8":function(container,depth0,helpers,partials,data) {
|
|
14544
14619
|
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14545
14620
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14546
14621
|
return parent[propertyName];
|
|
@@ -14565,29 +14640,29 @@ this["hbs_Crouton"]["templates"]["mapMenu"] = Handlebars.template({"1":function(
|
|
|
14565
14640
|
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Show meetings near...",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":6,"column":60},"end":{"line":6,"column":95}}}))
|
|
14566
14641
|
+ "</button>\n <button id=\"nearbyMeetings\" style=\"display: block;\">"
|
|
14567
14642
|
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"near_me",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":7,"column":60},"end":{"line":7,"column":81}}}))
|
|
14568
|
-
+ "</button>\n
|
|
14569
|
-
+
|
|
14570
|
-
+ "
|
|
14571
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"
|
|
14572
|
-
+ "</button>\n <button id=\"fullscreenMode\" style=\"display: block;\">"
|
|
14573
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Toggle fullscreen mode",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":10,"column":60},"end":{"line":10,"column":96}}}))
|
|
14643
|
+
+ "</button>\n"
|
|
14644
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias2,(depth0 != null ? lookupProperty(depth0,"dropdownData") : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.program(3, data, 0, blockParams, depths),"data":data,"loc":{"start":{"line":8,"column":8},"end":{"line":13,"column":15}}})) != null ? stack1 : "")
|
|
14645
|
+
+ " <button id=\"fullscreenMode\" style=\"display: block;\">"
|
|
14646
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Toggle fullscreen mode",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":14,"column":60},"end":{"line":14,"column":96}}}))
|
|
14574
14647
|
+ "</button>\n </div>\n<div id=\"filter_modal\" class=\"modal\" style=\"display: none;\">\n <div class=\"modal-content\">\n <span class=\"modal-title\">"
|
|
14575
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Filter meetings",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14648
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Filter meetings",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":18,"column":34},"end":{"line":18,"column":63}}}))
|
|
14576
14649
|
+ "</span><span id=\"close_filter\" class=\"modal-close\">×</span>\n"
|
|
14577
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,(depth0 != null ? lookupProperty(depth0,"dropdownData") : depth0),{"name":"each","hash":{},"fn":container.program(
|
|
14650
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,(depth0 != null ? lookupProperty(depth0,"dropdownData") : depth0),{"name":"each","hash":{},"fn":container.program(5, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":19,"column":8},"end":{"line":28,"column":17}}})) != null ? stack1 : "")
|
|
14578
14651
|
+ " </div>\n</div>\n<div id=\"table_page\" class=\"bmlt-page "
|
|
14579
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14652
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":31,"column":38},"end":{"line":31,"column":65}}}))
|
|
14580
14653
|
+ " hide\" >\n <div id=\"bmlt-maptable-header\"><span class=\"map-list-title\">"
|
|
14581
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Visible meeting list",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14582
|
-
+ "</span><span id=\"close_table\" class=\"table-close\">X</span></div>\n <div id=\"bmlt-maptable-div\" style=\"position:relative; overflow-y:scroll;\">\n
|
|
14583
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14654
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Visible meeting list",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":32,"column":64},"end":{"line":32,"column":98}}}))
|
|
14655
|
+
+ "</span><span id=\"close_table\" class=\"table-close\">X</span></div>\n <div id=\"bmlt-maptable-div\" style=\"position:relative; overflow-y:scroll;\">\n\n <table class='bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack "
|
|
14656
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":35,"column":104},"end":{"line":35,"column":131}}}))
|
|
14584
14657
|
+ "'>\n"
|
|
14585
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"meetings") : depth0)) != null ? lookupProperty(stack1,"bydays") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
14658
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"meetings") : depth0)) != null ? lookupProperty(stack1,"bydays") : stack1),{"name":"each","hash":{},"fn":container.program(8, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":36,"column":8},"end":{"line":38,"column":17}}})) != null ? stack1 : "")
|
|
14586
14659
|
+ " </table>\n </div>\n</div>\n<div id=\"geocoding_modal\" class=\"modal\" style=\"display: none;\">\n <div id=\"search_content\" class=\"modal-content\">\n <span class=\"modal-title\">"
|
|
14587
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Show meetings near...",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14660
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Show meetings near...",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":44,"column":28},"end":{"line":44,"column":63}}}))
|
|
14588
14661
|
+ "</span><span id=\"close_search\" class=\"modal-close\">x</span>\n <p></p>\n <div class=\"modal-search\">\n "
|
|
14589
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Enter a city or zip code",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14590
|
-
+ "\n <input id=\"goto-text\" type=\"text\">\n <button id=\"goto-button\" class=\"filter-button\">
|
|
14662
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"Enter a city or zip code",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":47,"column":12},"end":{"line":47,"column":50}}}))
|
|
14663
|
+
+ "\n <input id=\"goto-text\" type=\"text\">\n <button id=\"goto-button\" class=\"filter-button\">"
|
|
14664
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"go",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":49,"column":59},"end":{"line":49,"column":75}}}))
|
|
14665
|
+
+ "</button>\n </div>\n </div>\n</div>\n\n";
|
|
14591
14666
|
},"usePartial":true,"useData":true,"useDepths":true});
|
|
14592
14667
|
this["hbs_Crouton"]["templates"]["mapSearch"] = Handlebars.template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
14593
14668
|
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14665,6 +14740,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14665
14740
|
+ "</div>\n </td>\n <td class=\"bmlt-column3\">\n"
|
|
14666
14741
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"metaDataTemplate"),depth0,{"name":"metaDataTemplate","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14667
14742
|
+ ((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 : "")
|
|
14743
|
+
+ ((stack1 = (lookupProperty(helpers,"reportUpdateEnabled")||(depth0 && lookupProperty(depth0,"reportUpdateEnabled"))||alias2).call(alias1,depth0,{"name":"reportUpdateEnabled","hash":{},"fn":container.program(18, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":54,"column":3},"end":{"line":56,"column":27}}})) != null ? stack1 : "")
|
|
14668
14744
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"offerIcsButton"),depth0,{"name":"offerIcsButton","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14669
14745
|
+ " </td>\n </tr>\n";
|
|
14670
14746
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
@@ -14712,7 +14788,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14712
14788
|
return undefined
|
|
14713
14789
|
};
|
|
14714
14790
|
|
|
14715
|
-
return " <a href=\"javascript:void(0);\" id=\"share-button\" class=\"btn btn-primary btn-xs\"
|
|
14791
|
+
return " <a href=\"javascript:void(0);\" id=\"share-button\" class=\"btn btn-primary btn-xs\" onclick='navigator.share({ text: JSON.stringify(\""
|
|
14716
14792
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_day") : depth0), depth0))
|
|
14717
14793
|
+ " "
|
|
14718
14794
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"start_time_formatted") : depth0), depth0))
|
|
@@ -14726,10 +14802,10 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14726
14802
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_address") : depth0), depth0))
|
|
14727
14803
|
+ " "
|
|
14728
14804
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_location_info") : depth0), depth0))
|
|
14729
|
-
+ ((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":
|
|
14805
|
+
+ ((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 : "")
|
|
14730
14806
|
+ "\"), url: \""
|
|
14731
|
-
+ ((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":
|
|
14732
|
-
+ ((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":
|
|
14807
|
+
+ ((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 : "")
|
|
14808
|
+
+ ((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":791}}})) != null ? stack1 : "")
|
|
14733
14809
|
+ "\"})'><span class=\"glyphicon glyphicon-share\"></span> "
|
|
14734
14810
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"share_word") : depth0), depth0))
|
|
14735
14811
|
+ "</a>\n";
|
|
@@ -14751,8 +14827,8 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14751
14827
|
return undefined
|
|
14752
14828
|
};
|
|
14753
14829
|
|
|
14754
|
-
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":52,"column":
|
|
14755
|
-
+ ((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":52,"column":
|
|
14830
|
+
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":52,"column":448},"end":{"line":52,"column":517}}})) != null ? stack1 : "")
|
|
14831
|
+
+ ((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":52,"column":517},"end":{"line":52,"column":586}}})) != null ? stack1 : "");
|
|
14756
14832
|
},"12":function(container,depth0,helpers,partials,data) {
|
|
14757
14833
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14758
14834
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -14787,6 +14863,21 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14787
14863
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"latitude") : depth0), depth0))
|
|
14788
14864
|
+ ","
|
|
14789
14865
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"longitude") : depth0), depth0));
|
|
14866
|
+
},"18":function(container,depth0,helpers,partials,data) {
|
|
14867
|
+
var helper, alias1=container.escapeExpression, alias2=container.lambda, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14868
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14869
|
+
return parent[propertyName];
|
|
14870
|
+
}
|
|
14871
|
+
return undefined
|
|
14872
|
+
};
|
|
14873
|
+
|
|
14874
|
+
return " <a href=\""
|
|
14875
|
+
+ 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":55,"column":13},"end":{"line":55,"column":34}}}) : helper)))
|
|
14876
|
+
+ "?meeting_id="
|
|
14877
|
+
+ alias1(alias2((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
14878
|
+
+ "\" id=\"share-button\" class=\"btn btn-primary btn-xs\" target=\"_blank\"><span class=\"glyphicon glyphicon-edit\"></span> "
|
|
14879
|
+
+ alias1(alias2((depth0 != null ? lookupProperty(depth0,"report_update_word") : depth0), depth0))
|
|
14880
|
+
+ "</a>\n";
|
|
14790
14881
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
14791
14882
|
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14792
14883
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -14795,7 +14886,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14795
14886
|
return undefined
|
|
14796
14887
|
};
|
|
14797
14888
|
|
|
14798
|
-
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":
|
|
14889
|
+
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":60,"column":9}}})) != null ? stack1 : "");
|
|
14799
14890
|
},"usePartial":true,"useData":true});
|
|
14800
14891
|
this["hbs_Crouton"]["templates"]["weekdays"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
14801
14892
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -16115,6 +16206,7 @@ function Crouton(config) {
|
|
|
16115
16206
|
force_timeformat_in_querystring: true, // Set to false to shorten generated meeting detail query strings
|
|
16116
16207
|
force_language_in_querystring: true, // Set to false to shorten generated meeting detail query strings
|
|
16117
16208
|
theme: "jack", // Allows for setting pre-packaged themes. Choices are listed here: https://github.com/bmlt-enabled/crouton/blob/master/croutonjs/dist/templates/themes
|
|
16209
|
+
report_update_url: "", // URL to edit a meeting for BMLT-workflow plugin
|
|
16118
16210
|
meeting_data_template: croutonDefaultTemplates.meeting_data_template,
|
|
16119
16211
|
metadata_template: croutonDefaultTemplates.metadata_template,
|
|
16120
16212
|
observer_template: croutonDefaultTemplates.observer_template,
|
|
@@ -16241,6 +16333,7 @@ function Crouton(config) {
|
|
|
16241
16333
|
"parentServiceBodyType",
|
|
16242
16334
|
"map_word",
|
|
16243
16335
|
"share_word",
|
|
16336
|
+
"report_update_word",
|
|
16244
16337
|
"show_qrcode",
|
|
16245
16338
|
"formatted_day",
|
|
16246
16339
|
"formatted_address",
|
|
@@ -16480,7 +16573,7 @@ function Crouton(config) {
|
|
|
16480
16573
|
jQuery('#displayTypeButton_tablePages').addClass('hide');
|
|
16481
16574
|
jQuery('#filterButton_embeddedMapPage').removeClass('hide');
|
|
16482
16575
|
} else if (self.config.show_map) croutonMap.fillMap();
|
|
16483
|
-
self.filtering = false;
|
|
16576
|
+
self.filtering = false;
|
|
16484
16577
|
self.updateFilters();
|
|
16485
16578
|
self.updateMeetingCount();
|
|
16486
16579
|
jQuery(".filter-dropdown").val(null).trigger("change");
|
|
@@ -16664,7 +16757,7 @@ function Crouton(config) {
|
|
|
16664
16757
|
templateString = element.firstChild.textContent;
|
|
16665
16758
|
}
|
|
16666
16759
|
var handlebarResult;
|
|
16667
|
-
try {
|
|
16760
|
+
try {
|
|
16668
16761
|
var template = crouton_Handlebars.compile(templateString);
|
|
16669
16762
|
handlebarResult = template(meetingDetailsData);
|
|
16670
16763
|
} catch (e) {
|
|
@@ -16761,7 +16854,7 @@ function Crouton(config) {
|
|
|
16761
16854
|
};
|
|
16762
16855
|
self.toFarsinNumber = function( n ) {
|
|
16763
16856
|
const farsiDigits = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
|
|
16764
|
-
|
|
16857
|
+
|
|
16765
16858
|
return n.replace(/\d/g, x => farsiDigits[x]);
|
|
16766
16859
|
}
|
|
16767
16860
|
self.enrichMeetings = function (meetingData) {
|
|
@@ -16797,7 +16890,7 @@ function Crouton(config) {
|
|
|
16797
16890
|
.format(self.config['time_format']);
|
|
16798
16891
|
if (self.config.language === 'fa-IR') {
|
|
16799
16892
|
meetingData[m]['start_time_formatted'] = self.toFarsinNumber(meetingData[m]['start_time_formatted']);
|
|
16800
|
-
meetingData[m]['end_time_formatted'] = self.toFarsinNumber(meetingData[m]['end_time_formatted']);
|
|
16893
|
+
meetingData[m]['end_time_formatted'] = self.toFarsinNumber(meetingData[m]['end_time_formatted']);
|
|
16801
16894
|
}
|
|
16802
16895
|
|
|
16803
16896
|
// back to bmlt day
|
|
@@ -16842,6 +16935,7 @@ function Crouton(config) {
|
|
|
16842
16935
|
: "";
|
|
16843
16936
|
meetingData[m]['map_word'] = self.localization.getWord('map').toUpperCase();
|
|
16844
16937
|
meetingData[m]['share_word'] = self.localization.getWord('share').toUpperCase();
|
|
16938
|
+
meetingData[m]['report_update_word'] = self.localization.getWord('report update');
|
|
16845
16939
|
meetingData[m]['show_qrcode'] = self.config['show_qrcode'];
|
|
16846
16940
|
for (var k in meetingData[m]) {
|
|
16847
16941
|
if (meetingData[m].hasOwnProperty(k) && typeof meetingData[m][k] === 'string') {
|
|
@@ -16878,9 +16972,9 @@ function Crouton(config) {
|
|
|
16878
16972
|
}
|
|
16879
16973
|
meetingData[m]['meeting_details_url'] += queryStringChar + ('meeting-id=' + meetingData[m]['id_bigint']
|
|
16880
16974
|
+ '&language=' + self.config.language
|
|
16881
|
-
+ '&time_format=' + encodeURIComponent(self.config.time_format)
|
|
16975
|
+
+ '&time_format=' + encodeURIComponent(self.config.time_format)
|
|
16882
16976
|
+ (self.config.force_rootserver_in_querystring ? '&root_server=' + encodeURIComponent(self.config.root_server) : '')
|
|
16883
|
-
);
|
|
16977
|
+
);
|
|
16884
16978
|
}
|
|
16885
16979
|
|
|
16886
16980
|
meetings.push(meetingData[m])
|
|
@@ -17040,7 +17134,7 @@ Crouton.prototype.doHandlebars = function() {
|
|
|
17040
17134
|
Crouton.prototype.meetingModal = function(meetingId) {
|
|
17041
17135
|
let self = this;
|
|
17042
17136
|
const tabs = document.getElementById('bmlt-tabs');
|
|
17043
|
-
|
|
17137
|
+
|
|
17044
17138
|
let el = document.createElement('bmlt-handlebar');
|
|
17045
17139
|
tabs.appendChild(el);
|
|
17046
17140
|
let span = document.createElement('span');
|
|
@@ -17066,7 +17160,7 @@ Crouton.prototype.meetingModal = function(meetingId) {
|
|
|
17066
17160
|
let doSwipe = function(swipedir) {
|
|
17067
17161
|
switch(swipedir) {
|
|
17068
17162
|
case 'left':
|
|
17069
|
-
index = index+1;
|
|
17163
|
+
index = index+1;
|
|
17070
17164
|
break;
|
|
17071
17165
|
case 'right':
|
|
17072
17166
|
index = index-1;
|
|
@@ -17253,68 +17347,68 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17253
17347
|
self.dayNamesSequenced = self.config.day_sequence.map((d)=>self.localization.getDayOfTheWeekWord(d));
|
|
17254
17348
|
self.dropdownData = [];
|
|
17255
17349
|
if (self.config.has_days) self.dropdownData.push(
|
|
17256
|
-
{placeholder: self.localization.getWord('weekday'), pointer: 'weekdays', elementId: "filter-dropdown-weekdays",
|
|
17257
|
-
uniqueData: (meetings) => sortListByList(getUniqueValuesOfKey(meetings, "formatted_day"), self.dayNamesSequenced),
|
|
17350
|
+
{placeholder: self.localization.getWord('weekday'), pointer: 'weekdays', elementId: "filter-dropdown-weekdays",
|
|
17351
|
+
uniqueData: (meetings) => sortListByList(getUniqueValuesOfKey(meetings, "formatted_day"), self.dayNamesSequenced),
|
|
17258
17352
|
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17259
17353
|
if (self.config.has_states) self.dropdownData.push(
|
|
17260
|
-
{placeholder: self.localization.getWord('states'), pointer: 'States', elementId: "filter-dropdown-states",
|
|
17261
|
-
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_province').sort(),
|
|
17354
|
+
{placeholder: self.localization.getWord('states'), pointer: 'States', elementId: "filter-dropdown-states",
|
|
17355
|
+
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_province').sort(),
|
|
17262
17356
|
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17263
17357
|
if (self.config.has_sub_province) self.dropdownData.push(
|
|
17264
|
-
{placeholder: self.localization.getWord('counties'), pointer: 'Counties', elementId: "filter-dropdown-sub_province",
|
|
17265
|
-
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_sub_province').sort(),
|
|
17266
|
-
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17358
|
+
{placeholder: self.localization.getWord('counties'), pointer: 'Counties', elementId: "filter-dropdown-sub_province",
|
|
17359
|
+
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_sub_province').sort(),
|
|
17360
|
+
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17267
17361
|
if (self.config.has_cities) self.dropdownData.push(
|
|
17268
|
-
{placeholder: self.localization.getWord('cities'), pointer: 'Cities', elementId: "filter-dropdown-cities",
|
|
17269
|
-
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_municipality').sort(),
|
|
17362
|
+
{placeholder: self.localization.getWord('cities'), pointer: 'Cities', elementId: "filter-dropdown-cities",
|
|
17363
|
+
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_municipality').sort(),
|
|
17270
17364
|
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17271
17365
|
if (self.config.has_neighborhoods) self.dropdownData.push(
|
|
17272
|
-
{placeholder: self.localization.getWord('neighborhood'), pointer: 'Neighborhoods', elementId: "filter-dropdown-neighborhoods",
|
|
17273
|
-
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_neighborhood').sort(),
|
|
17274
|
-
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17366
|
+
{placeholder: self.localization.getWord('neighborhood'), pointer: 'Neighborhoods', elementId: "filter-dropdown-neighborhoods",
|
|
17367
|
+
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_neighborhood').sort(),
|
|
17368
|
+
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17275
17369
|
if (self.config.has_zip_codes) self.dropdownData.push(
|
|
17276
|
-
{placeholder: self.localization.getWord('postal_codes'), pointer: 'Zips', elementId: "filter-dropdown-zipcodes",
|
|
17277
|
-
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_postal_code_1').sort(),
|
|
17370
|
+
{placeholder: self.localization.getWord('postal_codes'), pointer: 'Zips', elementId: "filter-dropdown-zipcodes",
|
|
17371
|
+
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_postal_code_1').sort(),
|
|
17278
17372
|
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17279
17373
|
if (self.config.has_locations) self.dropdownData.push(
|
|
17280
|
-
{placeholder: self.localization.getWord('locations'), pointer: 'Locations', elementId: "filter-dropdown-locations",
|
|
17281
|
-
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_text').map((s)=>s.replace(/(<([^>]+)>)/gi, "")).sort(),
|
|
17374
|
+
{placeholder: self.localization.getWord('locations'), pointer: 'Locations', elementId: "filter-dropdown-locations",
|
|
17375
|
+
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'location_text').map((s)=>s.replace(/(<([^>]+)>)/gi, "")).sort(),
|
|
17282
17376
|
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17283
17377
|
if (self.config.has_regions) self.dropdownData.push(
|
|
17284
|
-
{placeholder: self.localization.getWord('regions'), pointer: 'Regions', elementId: "filter-dropdown-regions",
|
|
17285
|
-
uniqueData: (meetings) => self.all_service_bodies.filter((sb)=>getUniqueValuesOfKey(meetings,'parentServiceBodyId').includes(sb.id)).sortByKey('name'),
|
|
17378
|
+
{placeholder: self.localization.getWord('regions'), pointer: 'Regions', elementId: "filter-dropdown-regions",
|
|
17379
|
+
uniqueData: (meetings) => self.all_service_bodies.filter((sb)=>getUniqueValuesOfKey(meetings,'parentServiceBodyId').includes(sb.id)).sortByKey('name'),
|
|
17286
17380
|
objectPointer: (a) => convertToPunyCode(a.name), optionName: (a)=>a.name});
|
|
17287
17381
|
if (self.config.has_areas) self.dropdownData.push(
|
|
17288
|
-
{placeholder: self.localization.getWord('areas'), pointer: 'Areas', elementId: "filter-dropdown-areas",
|
|
17289
|
-
uniqueData: (meetings) => self.all_service_bodies.filter((sb)=>getUniqueValuesOfKey(meetings,'service_body_bigint').includes(sb.id)).sortByKey('name'),
|
|
17382
|
+
{placeholder: self.localization.getWord('areas'), pointer: 'Areas', elementId: "filter-dropdown-areas",
|
|
17383
|
+
uniqueData: (meetings) => self.all_service_bodies.filter((sb)=>getUniqueValuesOfKey(meetings,'service_body_bigint').includes(sb.id)).sortByKey('name'),
|
|
17290
17384
|
objectPointer: (a) => a.id, optionName: (a)=>a.name});
|
|
17291
17385
|
if (self.config.has_groups) self.dropdownData.push(
|
|
17292
|
-
{placeholder: self.localization.getWord('groups'), pointer: 'Groups', elementId: "filter-dropdown-groups",
|
|
17293
|
-
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'meeting_name').sort(),
|
|
17386
|
+
{placeholder: self.localization.getWord('groups'), pointer: 'Groups', elementId: "filter-dropdown-groups",
|
|
17387
|
+
uniqueData: (meetings) => getUniqueValuesOfKey(meetings, 'meeting_name').sort(),
|
|
17294
17388
|
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17295
17389
|
if (self.config.has_venues) self.dropdownData.push(
|
|
17296
|
-
{placeholder: self.localization.getWord('venue_types'), pointer: 'Venues', elementId: "filter-dropdown-venues",
|
|
17297
|
-
uniqueData: (meetings) => self.getUsedVenueType(meetings),
|
|
17390
|
+
{placeholder: self.localization.getWord('venue_types'), pointer: 'Venues', elementId: "filter-dropdown-venues",
|
|
17391
|
+
uniqueData: (meetings) => self.getUsedVenueType(meetings),
|
|
17298
17392
|
objectPointer: convertToPunyCode, optionName: (s)=>s});
|
|
17299
17393
|
if (self.config.has_formats) self.dropdownData.push(
|
|
17300
|
-
{placeholder: self.localization.getWord('formats'), pointer: 'Formats', elementId: "filter-dropdown-formats",
|
|
17301
|
-
uniqueData: (meetings) => getUniqueFormats(meetings),
|
|
17394
|
+
{placeholder: self.localization.getWord('formats'), pointer: 'Formats', elementId: "filter-dropdown-formats",
|
|
17395
|
+
uniqueData: (meetings) => getUniqueFormats(meetings),
|
|
17302
17396
|
objectPointer: (f) => convertToPunyCode(f.name), optionName: (f)=>f.name});
|
|
17303
17397
|
if (self.config.has_languages) self.dropdownData.push(
|
|
17304
|
-
{placeholder: self.localization.getWord('languages'), pointer: 'Formats', elementId: "filter-dropdown-languages",
|
|
17305
|
-
uniqueData: (meetings) => getUniqueFormatsOfType(meetings, 'LANG').filter((f)=>f.key!==self.config.native_lang),
|
|
17398
|
+
{placeholder: self.localization.getWord('languages'), pointer: 'Formats', elementId: "filter-dropdown-languages",
|
|
17399
|
+
uniqueData: (meetings) => getUniqueFormatsOfType(meetings, 'LANG').filter((f)=>f.key!==self.config.native_lang),
|
|
17306
17400
|
objectPointer: (f) => convertToPunyCode(f.name), optionName: (f)=>f.name});
|
|
17307
17401
|
if (self.config.has_common_needs) self.dropdownData.push(
|
|
17308
|
-
{placeholder: self.localization.getWord('common_needs'), pointer: 'Formats', elementId: "filter-dropdown-commonneeds",
|
|
17309
|
-
uniqueData: (meetings) => getUniqueFormatsOfType(meetings, 'FC3'),
|
|
17402
|
+
{placeholder: self.localization.getWord('common_needs'), pointer: 'Formats', elementId: "filter-dropdown-commonneeds",
|
|
17403
|
+
uniqueData: (meetings) => getUniqueFormatsOfType(meetings, 'FC3'),
|
|
17310
17404
|
objectPointer: (f) => convertToPunyCode(f.name), optionName: (f)=>f.name});
|
|
17311
|
-
if (doMeetingMap) self.dropdownData.push(
|
|
17312
|
-
{placeholder: '', pointer: 'visible', elementId: "filter-dropdown-visibile",
|
|
17313
|
-
uniqueData: (meetings) => self.getUsedVisibility(meetings),
|
|
17405
|
+
if (doMeetingMap || self.config.show_map || self.config.map_page) self.dropdownData.push(
|
|
17406
|
+
{placeholder: '', pointer: 'visible', elementId: "filter-dropdown-visibile",
|
|
17407
|
+
uniqueData: (meetings) => self.getUsedVisibility(meetings),
|
|
17314
17408
|
objectPointer: (s)=>s.value, optionName: (s)=>s.name});
|
|
17315
17409
|
if (doMeetingMap) self.dropdownData.push(
|
|
17316
|
-
{placeholder: '', pointer: 'next24', elementId: "filter-dropdown-next24",
|
|
17317
|
-
uniqueData: (meetings) => self.getUsedNext24(meetings),
|
|
17410
|
+
{placeholder: '', pointer: 'next24', elementId: "filter-dropdown-next24",
|
|
17411
|
+
uniqueData: (meetings) => self.getUsedNext24(meetings),
|
|
17318
17412
|
objectPointer: (s)=>s.value, optionName: (s)=>s.name});
|
|
17319
17413
|
let renderer = doMeetingMap ? self.renderStandaloneMap : self.renderView;
|
|
17320
17414
|
renderer("#" + self.config['placeholder_id'], {
|
|
@@ -17522,10 +17616,19 @@ crouton_Handlebars.registerHelper('formatDataPointer', function(str) {
|
|
|
17522
17616
|
crouton_Handlebars.registerHelper('call', function(fn, str) {
|
|
17523
17617
|
return fn(str);
|
|
17524
17618
|
});
|
|
17619
|
+
|
|
17525
17620
|
crouton_Handlebars.registerHelper('canShare', function(data, options) {
|
|
17526
17621
|
return navigator.share ? getTrueResult(options, this) : getFalseResult(options, this);
|
|
17527
17622
|
});
|
|
17528
17623
|
|
|
17624
|
+
crouton_Handlebars.registerHelper('reportUpdateEnabled', function(data, options) {
|
|
17625
|
+
return crouton.config.report_update_url !== "" ? getTrueResult(options, this) : getFalseResult(options, this)
|
|
17626
|
+
});
|
|
17627
|
+
|
|
17628
|
+
crouton_Handlebars.registerHelper('reportUpdateUrl', function() {
|
|
17629
|
+
return crouton.config.report_update_url;
|
|
17630
|
+
});
|
|
17631
|
+
|
|
17529
17632
|
/**
|
|
17530
17633
|
* @deprecated Since version 3.12.2, will be removed in a future version.
|
|
17531
17634
|
*/
|
|
@@ -17689,7 +17792,7 @@ crouton_Handlebars.registerHelper('hasBMLT2ics', function() {
|
|
|
17689
17792
|
return crouton.config['bmlt2ics'].length>0;});
|
|
17690
17793
|
crouton_Handlebars.registerHelper('BMLT2ics', function() {return crouton.config['bmlt2ics'];});
|
|
17691
17794
|
crouton_Handlebars.registerPartial('icsButton',
|
|
17692
|
-
'<a href="{{BMLT2ics}}?meeting-id={{id_bigint}}" download="{{meeting_name}}.ics"
|
|
17795
|
+
'<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>');
|
|
17693
17796
|
crouton_Handlebars.registerPartial('offerIcsButton',
|
|
17694
17797
|
"{{#if (hasBMLT2ics)}}{{> icsButton}}<br/>{{/if}}");
|
|
17695
17798
|
function convertToPunyCode(str) {
|
|
@@ -17744,6 +17847,15 @@ Crouton.prototype.renderMeetingCount = function() {
|
|
|
17744
17847
|
self.updateMeetingCount()
|
|
17745
17848
|
});
|
|
17746
17849
|
}
|
|
17850
|
+
Crouton.prototype.simulateFilterDropdown = function() {
|
|
17851
|
+
self = this;
|
|
17852
|
+
jQuery('.bmlt-page:not(#byfield_embeddedMapPage)').each(function () {
|
|
17853
|
+
self.hidePage(this);
|
|
17854
|
+
});
|
|
17855
|
+
self.filteredPage();
|
|
17856
|
+
if (!self.filtering && !self.config.map_page)
|
|
17857
|
+
self.showView(self.config['view_by'] === 'byday' ? 'byday' : 'day');
|
|
17858
|
+
}
|
|
17747
17859
|
Crouton.prototype.getAdjustedDateTime = function(meeting_day, meeting_time, meeting_time_zone) {
|
|
17748
17860
|
var timeZoneAware = this.config['auto_tz_adjust'] === true || this.config['auto_tz_adjust'] === "true";
|
|
17749
17861
|
var meeting_date_time_obj;
|
|
@@ -17869,7 +17981,7 @@ Array.prototype.sortByKey = function (key) {
|
|
|
17869
17981
|
return this;
|
|
17870
17982
|
};
|
|
17871
17983
|
function swipedetect(el, callback){
|
|
17872
|
-
|
|
17984
|
+
|
|
17873
17985
|
var touchsurface = el,
|
|
17874
17986
|
swipedir,
|
|
17875
17987
|
startX,
|
|
@@ -17879,15 +17991,15 @@ function swipedetect(el, callback){
|
|
|
17879
17991
|
threshold = 150, //required min distance traveled to be considered swipe
|
|
17880
17992
|
restraint = 100, // maximum distance allowed at the same time in perpendicular direction
|
|
17881
17993
|
handleswipe = callback || function(swipedir){}
|
|
17882
|
-
|
|
17994
|
+
|
|
17883
17995
|
touchsurface.addEventListener('touchstart', function(e){
|
|
17884
17996
|
var touchobj = e.changedTouches[0]
|
|
17885
17997
|
swipedir = 'none'
|
|
17886
17998
|
startX = touchobj.pageX
|
|
17887
17999
|
startY = touchobj.pageY
|
|
17888
18000
|
}, false)
|
|
17889
|
-
|
|
17890
|
-
|
|
18001
|
+
|
|
18002
|
+
|
|
17891
18003
|
touchsurface.addEventListener('touchend', function(e){
|
|
17892
18004
|
if (!e.cancelable) return;
|
|
17893
18005
|
var touchobj = e.changedTouches[0]
|
|
@@ -17965,10 +18077,10 @@ function MeetingMap(inConfig) {
|
|
|
17965
18077
|
}
|
|
17966
18078
|
if (config.map_search.zoom) {
|
|
17967
18079
|
config.zoom = config.map_search.zoom;
|
|
17968
|
-
}
|
|
18080
|
+
}
|
|
17969
18081
|
}
|
|
17970
18082
|
let loc = {latitude: config.lat, longitude: config.lng, zoom: config.zoom};
|
|
17971
|
-
if (handlebarMapOptions) loc = {latitude: handlebarMapOptions.lat, longitude: handlebarMapOptions.lng};
|
|
18083
|
+
if (handlebarMapOptions) loc = {latitude: handlebarMapOptions.lat, longitude: handlebarMapOptions.lng};
|
|
17972
18084
|
if (gDelegate.createMap(inDiv, loc)) {
|
|
17973
18085
|
gDelegate.addListener('zoomend', function (ev) {
|
|
17974
18086
|
if (shouldRedrawMarkers() && gAllMeetings) {
|
|
@@ -17982,7 +18094,11 @@ function MeetingMap(inConfig) {
|
|
|
17982
18094
|
menuContext.imageDir = config.BMLTPlugin_images;
|
|
17983
18095
|
gDelegate.addControl(createNext24Toggle(), 'topleft');
|
|
17984
18096
|
gDelegate.addControl(createMenuButton(menuContext), 'topright', cb);
|
|
17985
|
-
}
|
|
18097
|
+
}
|
|
18098
|
+
else {
|
|
18099
|
+
menuContext = {imageDir: config.BMLTPlugin_images, config: config, dropdownData:false};
|
|
18100
|
+
gDelegate.addControl(createMenuButton(menuContext), 'topright', cb);
|
|
18101
|
+
}
|
|
17986
18102
|
}
|
|
17987
18103
|
};
|
|
17988
18104
|
};
|
|
@@ -18051,6 +18167,7 @@ function MeetingMap(inConfig) {
|
|
|
18051
18167
|
controlDiv.innerHTML = template(menuContext);
|
|
18052
18168
|
controlDiv.querySelector("#nearbyMeetings").addEventListener('click', function (e) {
|
|
18053
18169
|
retrieveGeolocation().then(position => {
|
|
18170
|
+
filterVisible(false);
|
|
18054
18171
|
gDelegate.setViewToPosition(position, filterMeetingsAndBounds);
|
|
18055
18172
|
}).catch(error => {
|
|
18056
18173
|
console.error(error.message);
|
|
@@ -18060,14 +18177,19 @@ function MeetingMap(inConfig) {
|
|
|
18060
18177
|
});
|
|
18061
18178
|
|
|
18062
18179
|
controlDiv.querySelector("#lookupLocation").addEventListener('click', showGeocodingDialog);
|
|
18063
|
-
|
|
18064
|
-
|
|
18180
|
+
if (menuContext && menuContext.dropdownData) {
|
|
18181
|
+
controlDiv.querySelector("#filterMeetings").addEventListener('click', showFilterDialog);
|
|
18182
|
+
controlDiv.querySelector("#showAsTable").addEventListener('click', showListView);
|
|
18183
|
+
} else {
|
|
18184
|
+
controlDiv.querySelector("#filterTable").addEventListener('click', toggleVisible);
|
|
18185
|
+
}
|
|
18065
18186
|
controlDiv.querySelector("#fullscreenMode").addEventListener('click', toggleFullscreen);
|
|
18066
18187
|
controlDiv.querySelector("#map-menu-button").addEventListener('click', function (e) {
|
|
18067
18188
|
let dropdownContent = document.getElementById("map-menu-dropdown");
|
|
18068
|
-
if (dropdownContent.style.display == "inline-block")
|
|
18189
|
+
if (dropdownContent.style.display == "inline-block") {
|
|
18069
18190
|
dropdownContent.style.display = "none";
|
|
18070
|
-
|
|
18191
|
+
filterVisible(false);
|
|
18192
|
+
} else
|
|
18071
18193
|
dropdownContent.style.display = "inline-block";
|
|
18072
18194
|
});
|
|
18073
18195
|
[...controlDiv.getElementsByClassName('modal-close')].forEach((elem)=>elem.addEventListener('click', (e)=>closeModalWindow(e.target)));
|
|
@@ -18206,7 +18328,7 @@ function MeetingMap(inConfig) {
|
|
|
18206
18328
|
showGeocodingDialog();
|
|
18207
18329
|
}
|
|
18208
18330
|
} else if (config.goto) {
|
|
18209
|
-
gDelegate.callGeocoder(goto, filterMeetingsAndBounds);
|
|
18331
|
+
gDelegate.callGeocoder(config.goto, filterMeetingsAndBounds);
|
|
18210
18332
|
}
|
|
18211
18333
|
}
|
|
18212
18334
|
function createCityHash(allMeetings) {
|
|
@@ -18235,12 +18357,11 @@ function MeetingMap(inConfig) {
|
|
|
18235
18357
|
}
|
|
18236
18358
|
}
|
|
18237
18359
|
if (swipableModal) {
|
|
18238
|
-
const body = document.
|
|
18360
|
+
const body = document.body;
|
|
18239
18361
|
const scrollY = body.style.top;
|
|
18240
18362
|
body.style.overflowX = g_overflowX;
|
|
18241
18363
|
body.style.position = '';
|
|
18242
18364
|
body.style.top = '';
|
|
18243
|
-
body.style.width = '';
|
|
18244
18365
|
window.scrollTo(0, parseInt(scrollY || '0') * -1);
|
|
18245
18366
|
}
|
|
18246
18367
|
}
|
|
@@ -18262,14 +18383,13 @@ function MeetingMap(inConfig) {
|
|
|
18262
18383
|
if (dd) dd.style.display = "none";
|
|
18263
18384
|
gDelegate.modalOn();
|
|
18264
18385
|
if (swipableModal) {
|
|
18265
|
-
const body = document.
|
|
18386
|
+
const body = document.body;
|
|
18266
18387
|
g_overflowX = body.style.overflowX;
|
|
18267
18388
|
const newTop = -window.scrollY+'px';
|
|
18268
|
-
const newWidth = window.width+'px';
|
|
18269
18389
|
body.style.overflowX = 'hidden';
|
|
18270
18390
|
body.style.position = 'fixed';
|
|
18271
|
-
body.style.
|
|
18272
|
-
body.style.
|
|
18391
|
+
body.style.width="100%";
|
|
18392
|
+
body.style.setProperty('top', newTop, 'important');
|
|
18273
18393
|
}
|
|
18274
18394
|
}
|
|
18275
18395
|
function showFilterDialog(e) {
|
|
@@ -18300,14 +18420,18 @@ function MeetingMap(inConfig) {
|
|
|
18300
18420
|
jQuery("#table_page").addClass("hide");
|
|
18301
18421
|
jQuery("#bmlt-map").css("display", "block");
|
|
18302
18422
|
}
|
|
18423
|
+
function resetVisibleThenFilterMeetingsAndBounds(bounds) {
|
|
18424
|
+
filterVisible(false);
|
|
18425
|
+
filterMeetingsAndBounds(bounds);
|
|
18426
|
+
}
|
|
18303
18427
|
function lookupLocation(fullscreen) {
|
|
18304
18428
|
if (document.getElementById('goto-text').value != '') {
|
|
18305
18429
|
if (fullscreen) {
|
|
18306
18430
|
gDelegate.addListener('idle', function () {
|
|
18307
|
-
gDelegate.callGeocoder(document.getElementById('goto-text').value,
|
|
18431
|
+
gDelegate.callGeocoder(document.getElementById('goto-text').value, resetVisibleThenFilterMeetingsAndBounds);
|
|
18308
18432
|
}, true);
|
|
18309
18433
|
} else {
|
|
18310
|
-
gDelegate.callGeocoder(document.getElementById('goto-text').value,
|
|
18434
|
+
gDelegate.callGeocoder(document.getElementById('goto-text').value, resetVisibleThenFilterMeetingsAndBounds);
|
|
18311
18435
|
}
|
|
18312
18436
|
} else {
|
|
18313
18437
|
alert("");
|
|
@@ -18359,12 +18483,12 @@ function MeetingMap(inConfig) {
|
|
|
18359
18483
|
? filtered.map((m)=>[m])
|
|
18360
18484
|
: mapOverlappingMarkersInCity(filtered);
|
|
18361
18485
|
|
|
18362
|
-
if (useMarkerCluster()) gDelegate.createClusterLayer();
|
|
18486
|
+
if (useMarkerCluster()) gDelegate.createClusterLayer();
|
|
18363
18487
|
// Draw the meeting markers.
|
|
18364
18488
|
overlap_map.forEach(function (marker) {
|
|
18365
18489
|
createMapMarker(marker);
|
|
18366
18490
|
});
|
|
18367
|
-
gDelegate.addClusterLayer();
|
|
18491
|
+
gDelegate.addClusterLayer();
|
|
18368
18492
|
if (expand) {
|
|
18369
18493
|
const lat_lngs = filtered.reduce(function(a,m) {a.push([m.latitude, m.longitude]); return a;},[]);
|
|
18370
18494
|
gDelegate.fitBounds(lat_lngs);
|
|
@@ -18469,20 +18593,27 @@ function MeetingMap(inConfig) {
|
|
|
18469
18593
|
(meetings.length > 1),
|
|
18470
18594
|
marker_html, null ,meetings.map((m)=>parseInt(m.id_bigint)));
|
|
18471
18595
|
};
|
|
18596
|
+
var listOnlyVisible = false;
|
|
18472
18597
|
function filterBounds(bounds) {
|
|
18473
18598
|
return gAllMeetings.filter((meeting) => gDelegate.contains(bounds, meeting.latitude, meeting.longitude));
|
|
18474
18599
|
}
|
|
18475
18600
|
function filterVisible(on=true) {
|
|
18601
|
+
if (on===listOnlyVisible) return;
|
|
18476
18602
|
let mtgs = on ? filterBounds(gDelegate.getBounds()) : gAllMeetings;
|
|
18477
18603
|
let visible = mtgs.map((m)=>m.id_bigint);
|
|
18478
18604
|
jQuery(".bmlt-data-row").each(function(index,row) {
|
|
18479
18605
|
row.dataset.visible = (visible.includes(row.id.split('-').pop())) ? '1' : '0';
|
|
18480
18606
|
});
|
|
18481
18607
|
jQuery("#byday").removeClass('hide');
|
|
18482
|
-
jQuery("#filter-dropdown-visibile").val('a-1');
|
|
18608
|
+
jQuery("#filter-dropdown-visibile").val(on?'a-1':'');
|
|
18483
18609
|
fitDuringFilter = false;
|
|
18484
|
-
crouton.
|
|
18610
|
+
crouton.simulateFilterDropdown();
|
|
18485
18611
|
fitDuringFilter = true;
|
|
18612
|
+
jQuery("#filteringByVisibility").html(on?'✔':'');
|
|
18613
|
+
listOnlyVisible = on;
|
|
18614
|
+
}
|
|
18615
|
+
function toggleVisible() {
|
|
18616
|
+
filterVisible(!listOnlyVisible);
|
|
18486
18617
|
}
|
|
18487
18618
|
function filterBounds(bounds) {
|
|
18488
18619
|
var ret = gAllMeetings.filter((meeting) =>
|