@bmlt-enabled/croutonjs 3.20.12 → 3.21.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 +3 -0
- package/crouton-core.js +189 -205
- package/crouton-core.min.css +1 -1
- package/crouton-core.min.js +1 -1
- package/crouton-gmaps.js +277 -218
- package/crouton-gmaps.min.js +1 -1
- package/crouton-map.js +86 -13
- package/crouton-map.min.js +1 -1
- package/crouton-nocore.js +83 -79
- package/crouton-nocore.min.js +1 -1
- package/crouton.css +23 -1
- package/crouton.js +275 -218
- package/crouton.min.css +1 -1
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +275 -218
- package/crouton.nojquery.min.js +1 -1
- package/package.json +1 -1
package/crouton-core.js
CHANGED
|
@@ -13257,7 +13257,6 @@ function CroutonLocalization(language) {
|
|
|
13257
13257
|
},
|
|
13258
13258
|
"css-direction": 'bmlt-rtl',
|
|
13259
13259
|
"share": "مشاركة",
|
|
13260
|
-
'tabular': "جدول",
|
|
13261
13260
|
'google_directions': 'اتجاهات جوجل للاجتماع',
|
|
13262
13261
|
"no_meetings_for_this_day": "لا توجد اجتماعات لهذا اليوم.",
|
|
13263
13262
|
'all': 'الجميع',
|
|
@@ -13291,9 +13290,9 @@ function CroutonLocalization(language) {
|
|
|
13291
13290
|
"formats": "Struktur",
|
|
13292
13291
|
"map": "Kort",
|
|
13293
13292
|
"neighborhood": "Neighborhood",
|
|
13294
|
-
"near_me": "
|
|
13295
|
-
"text_search": "
|
|
13296
|
-
"click_search": "
|
|
13293
|
+
"near_me": "Find nearby meetings",
|
|
13294
|
+
"text_search": "Find meetings there",
|
|
13295
|
+
"click_search": "Find meetings near to a point on the map",
|
|
13297
13296
|
"pan_and_zoom": "Pan + Zoom",
|
|
13298
13297
|
"languages": "Languages",
|
|
13299
13298
|
"common_needs": "Common Needs",
|
|
@@ -13315,7 +13314,6 @@ function CroutonLocalization(language) {
|
|
|
13315
13314
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13316
13315
|
'css-textalign': '',
|
|
13317
13316
|
'css-floatdirection': '',
|
|
13318
|
-
'tabular': "As table",
|
|
13319
13317
|
'google_directions': 'Google directions to meeting',
|
|
13320
13318
|
'all': 'All',
|
|
13321
13319
|
'menu': 'Menu',
|
|
@@ -13366,7 +13364,6 @@ function CroutonLocalization(language) {
|
|
|
13366
13364
|
GS: "Group Support Forum"
|
|
13367
13365
|
},
|
|
13368
13366
|
"share": "Teilen",
|
|
13369
|
-
'tabular': "Als Tabelle",
|
|
13370
13367
|
'google_directions': 'Google Routenplaner',
|
|
13371
13368
|
"no_meetings_for_this_day": "Keine Meetings an diesem Tag.",
|
|
13372
13369
|
'css-textalign': '',
|
|
@@ -13387,7 +13384,7 @@ function CroutonLocalization(language) {
|
|
|
13387
13384
|
'filter by visibility': "Zeige nur Meetings, die gerade auf dem Karte stehen",
|
|
13388
13385
|
'go': "Los!"
|
|
13389
13386
|
},
|
|
13390
|
-
|
|
13387
|
+
"en-AU": {
|
|
13391
13388
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
13392
13389
|
"weekday" : "Weekday",
|
|
13393
13390
|
"city" : "City",
|
|
@@ -13401,10 +13398,10 @@ function CroutonLocalization(language) {
|
|
|
13401
13398
|
"postal_codes" : "Postcodes",
|
|
13402
13399
|
"formats" : "Formats",
|
|
13403
13400
|
"map" : "Map",
|
|
13404
|
-
"neighborhood": "
|
|
13405
|
-
"near_me": "
|
|
13406
|
-
"text_search": "
|
|
13407
|
-
"click_search": "
|
|
13401
|
+
"neighborhood": "Neighbourhood",
|
|
13402
|
+
"near_me": "Find nearby meetings",
|
|
13403
|
+
"text_search": "Find meetings there",
|
|
13404
|
+
"click_search": "Find meetings near to a point on the map",
|
|
13408
13405
|
"languages": "Languages",
|
|
13409
13406
|
"common_needs": "Common Needs",
|
|
13410
13407
|
"meeting_count": "Weekly Meetings:",
|
|
@@ -13422,7 +13419,6 @@ function CroutonLocalization(language) {
|
|
|
13422
13419
|
GS: "Group Support Forum"
|
|
13423
13420
|
},
|
|
13424
13421
|
"share": "share",
|
|
13425
|
-
'tabular': "As table",
|
|
13426
13422
|
'google_directions': 'Google directions to meeting',
|
|
13427
13423
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13428
13424
|
'css-textalign': '',
|
|
@@ -13434,7 +13430,7 @@ function CroutonLocalization(language) {
|
|
|
13434
13430
|
'show meetings near...': 'Show meetings near...',
|
|
13435
13431
|
'filter meetings': 'Filter meetings',
|
|
13436
13432
|
'visible meeting list': 'Visible meetings as list',
|
|
13437
|
-
'enter a city or zip code': 'Enter a city
|
|
13433
|
+
'enter a city or zip code': 'Enter a city and state',
|
|
13438
13434
|
'toggle fullscreen mode': 'Toggle fullscreen mode',
|
|
13439
13435
|
'close': "Close",
|
|
13440
13436
|
'meeting page': "Meeting Page",
|
|
@@ -13459,9 +13455,9 @@ function CroutonLocalization(language) {
|
|
|
13459
13455
|
"formats" : "Formats",
|
|
13460
13456
|
"map" : "Map",
|
|
13461
13457
|
"neighborhood": "Neighborhood",
|
|
13462
|
-
"near_me": "
|
|
13463
|
-
"text_search": "
|
|
13464
|
-
"click_search": "
|
|
13458
|
+
"near_me": "Find nearby meetings",
|
|
13459
|
+
"text_search": "Find meetings there",
|
|
13460
|
+
"click_search": "Find meetings near to a point on the map",
|
|
13465
13461
|
"pan_and_zoom": "Pan + Zoom",
|
|
13466
13462
|
"languages": "Languages",
|
|
13467
13463
|
"common_needs": "Common Needs",
|
|
@@ -13480,7 +13476,6 @@ function CroutonLocalization(language) {
|
|
|
13480
13476
|
GS: "Group Support Forum"
|
|
13481
13477
|
},
|
|
13482
13478
|
"share": "share",
|
|
13483
|
-
'tabular': "As table",
|
|
13484
13479
|
'google_directions': 'Google directions to meeting',
|
|
13485
13480
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13486
13481
|
'css-textalign': '',
|
|
@@ -13517,9 +13512,9 @@ function CroutonLocalization(language) {
|
|
|
13517
13512
|
"formats" : "Formats",
|
|
13518
13513
|
"map" : "Map",
|
|
13519
13514
|
"neighborhood": "Neighborhood",
|
|
13520
|
-
"near_me": "
|
|
13521
|
-
"text_search": "
|
|
13522
|
-
"click_search": "
|
|
13515
|
+
"near_me": "Find nearby meetings",
|
|
13516
|
+
"text_search": "Find meetings there",
|
|
13517
|
+
"click_search": "Find meetings near to a point on the map",
|
|
13523
13518
|
"pan_and_zoom": "Pan + Zoom",
|
|
13524
13519
|
"languages": "Languages",
|
|
13525
13520
|
"common_needs": "Common Needs",
|
|
@@ -13538,7 +13533,6 @@ function CroutonLocalization(language) {
|
|
|
13538
13533
|
GS: "Group Support Forum"
|
|
13539
13534
|
},
|
|
13540
13535
|
"share": "share",
|
|
13541
|
-
'tabular': "As table",
|
|
13542
13536
|
'google_directions': 'Google directions to meeting',
|
|
13543
13537
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13544
13538
|
'css-textalign': '',
|
|
@@ -13575,9 +13569,9 @@ function CroutonLocalization(language) {
|
|
|
13575
13569
|
"formats" : "Formats",
|
|
13576
13570
|
"map" : "Map",
|
|
13577
13571
|
"neighborhood": "Neighborhood",
|
|
13578
|
-
"near_me": "
|
|
13579
|
-
"text_search": "
|
|
13580
|
-
"click_search": "
|
|
13572
|
+
"near_me": "Find nearby meetings",
|
|
13573
|
+
"text_search": "Find meetings there",
|
|
13574
|
+
"click_search": "Find meetings near to a point on the map",
|
|
13581
13575
|
"pan_and_zoom": "Pan + Zoom",
|
|
13582
13576
|
"languages": "Languages",
|
|
13583
13577
|
"common_needs": "Common Needs",
|
|
@@ -13596,7 +13590,6 @@ function CroutonLocalization(language) {
|
|
|
13596
13590
|
GS: "Group Support Forum"
|
|
13597
13591
|
},
|
|
13598
13592
|
"share": "share",
|
|
13599
|
-
'tabular': "As table",
|
|
13600
13593
|
'google_directions': 'Google directions to meeting',
|
|
13601
13594
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13602
13595
|
'css-textalign': '',
|
|
@@ -13633,15 +13626,14 @@ function CroutonLocalization(language) {
|
|
|
13633
13626
|
"formats" : "Formats",
|
|
13634
13627
|
"map" : "Map",
|
|
13635
13628
|
"neighborhood": "Neighborhood",
|
|
13636
|
-
"near_me": "
|
|
13637
|
-
"text_search": "
|
|
13638
|
-
"click_search": "
|
|
13629
|
+
"near_me": "Find nearby meetings",
|
|
13630
|
+
"text_search": "Find meetings there",
|
|
13631
|
+
"click_search": "Find meetings near to a point on the map",
|
|
13639
13632
|
"pan_and_zoom": "Pan + Zoom",
|
|
13640
13633
|
"languages": "Languages",
|
|
13641
13634
|
"common_needs": "Common Needs",
|
|
13642
13635
|
"meeting_count": "Weekly Meetings:",
|
|
13643
13636
|
"venue_types": "Venue Types",
|
|
13644
|
-
'tabular': "As table",
|
|
13645
13637
|
'google_directions': 'Google directions to meeting',
|
|
13646
13638
|
"venue_type_choices": {
|
|
13647
13639
|
IN_PERSON: "In Person",
|
|
@@ -13715,7 +13707,6 @@ function CroutonLocalization(language) {
|
|
|
13715
13707
|
"share": "compartir",
|
|
13716
13708
|
"no_meetings_for_this_day": "No hay reuniones en este día",
|
|
13717
13709
|
'css-textalign': 'Alineación de texto CSS',
|
|
13718
|
-
'tabular': 'Formato tabla',
|
|
13719
13710
|
'google_directions': 'Indicaciones de Google',
|
|
13720
13711
|
'css-floatdirection': "Dirección float-CSS",
|
|
13721
13712
|
'all': 'Todos',
|
|
@@ -13749,9 +13740,9 @@ function CroutonLocalization(language) {
|
|
|
13749
13740
|
"formats" : "فورمت ها",
|
|
13750
13741
|
"map" : "نقشه",
|
|
13751
13742
|
"neighborhood": "Neighborhood",
|
|
13752
|
-
"near_me": "
|
|
13753
|
-
"text_search": "
|
|
13754
|
-
"click_search": "
|
|
13743
|
+
"near_me": "Find nearby meetings",
|
|
13744
|
+
"text_search": "Find meetings there",
|
|
13745
|
+
"click_search": "Find meetings near to a point on the map",
|
|
13755
13746
|
"pan_and_zoom": "Pan + Zoom",
|
|
13756
13747
|
"languages": "Languages",
|
|
13757
13748
|
"common_needs": "Common Needs",
|
|
@@ -13770,7 +13761,6 @@ function CroutonLocalization(language) {
|
|
|
13770
13761
|
GS: "Group Support Forum"
|
|
13771
13762
|
},
|
|
13772
13763
|
"share": "share",
|
|
13773
|
-
'tabular': "As table",
|
|
13774
13764
|
'google_directions': 'Google directions to meeting',
|
|
13775
13765
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13776
13766
|
"css-direction": 'bmlt-rtl',
|
|
@@ -13826,7 +13816,6 @@ function CroutonLocalization(language) {
|
|
|
13826
13816
|
GS: "Group Support Forum"
|
|
13827
13817
|
},
|
|
13828
13818
|
"share": "Partager",
|
|
13829
|
-
"tabular": "Liste",
|
|
13830
13819
|
"google_directions": "Itinéraire sur Google Maps",
|
|
13831
13820
|
"no_meetings_for_this_day": "Pas de réunion aujourd'hui.",
|
|
13832
13821
|
"css-textalign": "css-textalign",
|
|
@@ -13883,7 +13872,6 @@ function CroutonLocalization(language) {
|
|
|
13883
13872
|
GS: "Forum supporto gruppi"
|
|
13884
13873
|
},
|
|
13885
13874
|
"share": "Condividi",
|
|
13886
|
-
'tabular': "Tabellare",
|
|
13887
13875
|
'google_directions': 'Mappa',
|
|
13888
13876
|
"no_meetings_for_this_day": "Nessuna riunione per questo giorno.",
|
|
13889
13877
|
'css-textalign': '',
|
|
@@ -13940,7 +13928,6 @@ function CroutonLocalization(language) {
|
|
|
13940
13928
|
GS: "Group Support Forum"
|
|
13941
13929
|
},
|
|
13942
13930
|
"share": "share",
|
|
13943
|
-
'tabular': "As table",
|
|
13944
13931
|
'google_directions': 'Google directions to meeting',
|
|
13945
13932
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13946
13933
|
'css-textalign': '',
|
|
@@ -13997,7 +13984,6 @@ function CroutonLocalization(language) {
|
|
|
13997
13984
|
GS: "Group Support Forum"
|
|
13998
13985
|
},
|
|
13999
13986
|
"share": "share",
|
|
14000
|
-
'tabular': "As table",
|
|
14001
13987
|
'google_directions': 'Google directions to meeting',
|
|
14002
13988
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
14003
13989
|
'css-textalign': '',
|
|
@@ -14054,7 +14040,6 @@ function CroutonLocalization(language) {
|
|
|
14054
14040
|
GS: "Group Support Forum"
|
|
14055
14041
|
},
|
|
14056
14042
|
"share": "Compartilhar",
|
|
14057
|
-
'tabular': "As table",
|
|
14058
14043
|
'google_directions': 'Google directions to meeting',
|
|
14059
14044
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
14060
14045
|
'css-textalign': '',
|
|
@@ -14103,7 +14088,6 @@ function CroutonLocalization(language) {
|
|
|
14103
14088
|
VIRTUAL: "Онлайн",
|
|
14104
14089
|
},
|
|
14105
14090
|
"share": "поделиться",
|
|
14106
|
-
'tabular': "Как таблица",
|
|
14107
14091
|
'google_directions': 'На карте',
|
|
14108
14092
|
"service_body_types": {
|
|
14109
14093
|
AS: "Area Service Committee",
|
|
@@ -14168,7 +14152,6 @@ function CroutonLocalization(language) {
|
|
|
14168
14152
|
GS: "Group Support Forum"
|
|
14169
14153
|
},
|
|
14170
14154
|
"share": "share",
|
|
14171
|
-
'tabular': "As table",
|
|
14172
14155
|
'google_directions': 'Google directions to meeting',
|
|
14173
14156
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
14174
14157
|
'css-textalign': '',
|
|
@@ -14334,9 +14317,9 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14334
14317
|
return ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"include_weekday_button") : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":3,"column":4},"end":{"line":5,"column":11}}})) != null ? stack1 : "")
|
|
14335
14318
|
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"button_filters") : stack1),{"name":"each","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":6,"column":4},"end":{"line":8,"column":13}}})) != null ? stack1 : "")
|
|
14336
14319
|
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"button_format_filters") : stack1),{"name":"each","hash":{},"fn":container.program(6, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":9,"column":4},"end":{"line":11,"column":13}}})) != null ? stack1 : "")
|
|
14337
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"map_page") : stack1),{"name":"if","hash":{},"fn":container.program(8, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":12,"column":4},"end":{"line":
|
|
14320
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"map_page") : stack1),{"name":"if","hash":{},"fn":container.program(8, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":12,"column":4},"end":{"line":14,"column":11}}})) != null ? stack1 : "")
|
|
14338
14321
|
+ "\n"
|
|
14339
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,(depth0 != null ? lookupProperty(depth0,"dropdownData") : depth0),{"name":"each","hash":{},"fn":container.program(10, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
14322
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,(depth0 != null ? lookupProperty(depth0,"dropdownData") : depth0),{"name":"each","hash":{},"fn":container.program(10, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":16,"column":4},"end":{"line":25,"column":13}}})) != null ? stack1 : "")
|
|
14340
14323
|
+ " </div>\n";
|
|
14341
14324
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
14342
14325
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14360,7 +14343,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14360
14343
|
return " <div class=\"bmlt-button-container\"><a id=\"filterButton_"
|
|
14361
14344
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"field") : depth0), depth0))
|
|
14362
14345
|
+ "\" tabindex=0 data-field=\""
|
|
14363
|
-
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"
|
|
14346
|
+
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"title") : depth0), depth0))
|
|
14364
14347
|
+ "\" class=\"filterButton filterButtonLogic btn btn-primary btn-sm\">"
|
|
14365
14348
|
+ alias2((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"title") : depth0),{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":7,"column":180},"end":{"line":7,"column":202}}}))
|
|
14366
14349
|
+ "</a></div>\n";
|
|
@@ -14380,17 +14363,15 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14380
14363
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"title") : depth0), depth0))
|
|
14381
14364
|
+ "</a></div>\n";
|
|
14382
14365
|
},"8":function(container,depth0,helpers,partials,data) {
|
|
14383
|
-
var
|
|
14366
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14384
14367
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14385
14368
|
return parent[propertyName];
|
|
14386
14369
|
}
|
|
14387
14370
|
return undefined
|
|
14388
14371
|
};
|
|
14389
14372
|
|
|
14390
|
-
return " <div class=\"bmlt-button-container\"><a id=\"filterButton_embeddedMapPage\" tabindex=0 data-field=\"embeddedMapPage\" class=\"filterButton
|
|
14391
|
-
+
|
|
14392
|
-
+ "</a></div>\n <div class=\"bmlt-button-container\"><a id=\"displayTypeButton_tablePages\" tabindex=0 data-field=\"tablePages\" class=\"filterButton displayTypeLogic btn btn-primary btn-sm hide\">"
|
|
14393
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"tabular",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":14,"column":181},"end":{"line":14,"column":202}}}))
|
|
14373
|
+
return " <div class=\"bmlt-button-container\"><a id=\"filterButton_embeddedMapPage\" tabindex=0 data-field=\"embeddedMapPage\" class=\"filterButton btn btn-primary btn-sm\">"
|
|
14374
|
+
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"map",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":13,"column":164},"end":{"line":13,"column":181}}}))
|
|
14394
14375
|
+ "</a></div>\n";
|
|
14395
14376
|
},"10":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
14396
14377
|
var stack1, helper, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4="function", lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14403,17 +14384,17 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14403
14384
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
14404
14385
|
+ alias1(container.lambda(((stack1 = (depths[1] != null ? lookupProperty(depths[1],"config") : depths[1])) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
14405
14386
|
+ ";\" data-placeholder=\""
|
|
14406
|
-
+ 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":
|
|
14387
|
+
+ 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":18,"column":116},"end":{"line":18,"column":131}}}) : helper)))
|
|
14407
14388
|
+ "\" data-pointer=\""
|
|
14408
|
-
+ 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":
|
|
14389
|
+
+ 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":18,"column":147},"end":{"line":18,"column":158}}}) : helper)))
|
|
14409
14390
|
+ "\" id="
|
|
14410
|
-
+ 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":
|
|
14391
|
+
+ 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":18,"column":163},"end":{"line":18,"column":176}}}) : helper)))
|
|
14411
14392
|
+ ">\n <option value=\"a-\">"
|
|
14412
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"all",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14393
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"all",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":19,"column":25},"end":{"line":19,"column":42}}}))
|
|
14413
14394
|
+ " "
|
|
14414
|
-
+ 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":
|
|
14395
|
+
+ 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":19,"column":43},"end":{"line":19,"column":58}}}) : helper)))
|
|
14415
14396
|
+ "</option>\n"
|
|
14416
|
-
+ ((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":
|
|
14397
|
+
+ ((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":20,"column":14},"end":{"line":20,"column":55}}}),{"name":"each","hash":{},"fn":container.program(11, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":20,"column":6},"end":{"line":22,"column":15}}})) != null ? stack1 : "")
|
|
14417
14398
|
+ " </select>\n </div>\n";
|
|
14418
14399
|
},"11":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
14419
14400
|
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14424,9 +14405,9 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14424
14405
|
};
|
|
14425
14406
|
|
|
14426
14407
|
return " <option value=\"a-"
|
|
14427
|
-
+ 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":
|
|
14408
|
+
+ 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":21,"column":24},"end":{"line":21,"column":54}}}))
|
|
14428
14409
|
+ "\">"
|
|
14429
|
-
+ 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":
|
|
14410
|
+
+ 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":21,"column":56},"end":{"line":21,"column":83}}}))
|
|
14430
14411
|
+ "</option>\n";
|
|
14431
14412
|
},"13":function(container,depth0,helpers,partials,data) {
|
|
14432
14413
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14436,9 +14417,9 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14436
14417
|
return undefined
|
|
14437
14418
|
};
|
|
14438
14419
|
|
|
14439
|
-
return ((stack1 = (lookupProperty(helpers,"ifEquals")||(depth0 && lookupProperty(depth0,"ifEquals"))||container.hooks.helperMissing).call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"view_by") : stack1),"weekdays",{"name":"ifEquals","hash":{},"fn":container.program(14, data, 0),"inverse":container.program(16, data, 0),"data":data,"loc":{"start":{"line":
|
|
14420
|
+
return ((stack1 = (lookupProperty(helpers,"ifEquals")||(depth0 && lookupProperty(depth0,"ifEquals"))||container.hooks.helperMissing).call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"view_by") : stack1),"weekdays",{"name":"ifEquals","hash":{},"fn":container.program(14, data, 0),"inverse":container.program(16, data, 0),"data":data,"loc":{"start":{"line":30,"column":4},"end":{"line":34,"column":17}}})) != null ? stack1 : "")
|
|
14440
14421
|
+ " <ul class=\"nav nav-tabs\">\n"
|
|
14441
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"day_sequence") : stack1),{"name":"each","hash":{},"fn":container.program(18, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
14422
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"day_sequence") : stack1),{"name":"each","hash":{},"fn":container.program(18, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":36,"column":12},"end":{"line":38,"column":21}}})) != null ? stack1 : "")
|
|
14442
14423
|
+ " </ul>\n </div>\n";
|
|
14443
14424
|
},"14":function(container,depth0,helpers,partials,data) {
|
|
14444
14425
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14449,7 +14430,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14449
14430
|
};
|
|
14450
14431
|
|
|
14451
14432
|
return " <div class=\"bmlt-page "
|
|
14452
|
-
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14433
|
+
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":31,"column":30},"end":{"line":31,"column":57}}}))
|
|
14453
14434
|
+ " show\" id=\"nav-days\">\n";
|
|
14454
14435
|
},"16":function(container,depth0,helpers,partials,data) {
|
|
14455
14436
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14460,7 +14441,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14460
14441
|
};
|
|
14461
14442
|
|
|
14462
14443
|
return " <div class=\"bmlt-page "
|
|
14463
|
-
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14444
|
+
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":33,"column":30},"end":{"line":33,"column":57}}}))
|
|
14464
14445
|
+ " hide\" id=\"nav-days\">\n";
|
|
14465
14446
|
},"18":function(container,depth0,helpers,partials,data) {
|
|
14466
14447
|
var alias1=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14473,7 +14454,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14473
14454
|
return " <li><a href=\"#tab"
|
|
14474
14455
|
+ alias1(container.lambda(depth0, depth0))
|
|
14475
14456
|
+ "\" data-toggle=\"tab\">"
|
|
14476
|
-
+ alias1((lookupProperty(helpers,"getDayOfTheWeek")||(depth0 && lookupProperty(depth0,"getDayOfTheWeek"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"getDayOfTheWeek","hash":{},"data":data,"loc":{"start":{"line":
|
|
14457
|
+
+ alias1((lookupProperty(helpers,"getDayOfTheWeek")||(depth0 && lookupProperty(depth0,"getDayOfTheWeek"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"getDayOfTheWeek","hash":{},"data":data,"loc":{"start":{"line":37,"column":61},"end":{"line":37,"column":85}}}))
|
|
14477
14458
|
+ "</a></li>\n";
|
|
14478
14459
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
14479
14460
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14485,9 +14466,9 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14485
14466
|
|
|
14486
14467
|
return container.escapeExpression((lookupProperty(helpers,"startup")||(depth0 && lookupProperty(depth0,"startup"))||container.hooks.helperMissing).call(alias1,depth0,{"name":"startup","hash":{},"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}))
|
|
14487
14468
|
+ "\n"
|
|
14488
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"header") : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":2,"column":0},"end":{"line":
|
|
14469
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"header") : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":2,"column":0},"end":{"line":27,"column":7}}})) != null ? stack1 : "")
|
|
14489
14470
|
+ "\n"
|
|
14490
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_tabs") : stack1),{"name":"if","hash":{},"fn":container.program(13, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
14471
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_tabs") : stack1),{"name":"if","hash":{},"fn":container.program(13, data, 0, blockParams, depths),"inverse":container.noop,"data":data,"loc":{"start":{"line":29,"column":0},"end":{"line":41,"column":7}}})) != null ? stack1 : "");
|
|
14491
14472
|
},"useData":true,"useDepths":true});
|
|
14492
14473
|
this["hbs_Crouton"]["templates"]["main"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
14493
14474
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14667,8 +14648,19 @@ this["hbs_Crouton"]["templates"]["mapMenu"] = Handlebars.template({"1":function(
|
|
|
14667
14648
|
+ 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}}}))
|
|
14668
14649
|
+ "</button>\n </div>\n </div>\n</div>\n\n";
|
|
14669
14650
|
},"usePartial":true,"useData":true,"useDepths":true});
|
|
14670
|
-
this["hbs_Crouton"]["templates"]["mapSearch"] = Handlebars.template({"
|
|
14671
|
-
var
|
|
14651
|
+
this["hbs_Crouton"]["templates"]["mapSearch"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
14652
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14653
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14654
|
+
return parent[propertyName];
|
|
14655
|
+
}
|
|
14656
|
+
return undefined
|
|
14657
|
+
};
|
|
14658
|
+
|
|
14659
|
+
return " <div class=\"modal-search\">\n <button id=\"bmltsearch-clicksearch\" class=\"filter-button\">"
|
|
14660
|
+
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"click_search",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":19,"column":86},"end":{"line":20,"column":48}}}))
|
|
14661
|
+
+ "</button>\n </div>\n";
|
|
14662
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
14663
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14672
14664
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14673
14665
|
return parent[propertyName];
|
|
14674
14666
|
}
|
|
@@ -14679,17 +14671,27 @@ this["hbs_Crouton"]["templates"]["mapSearch"] = Handlebars.template({"compiler":
|
|
|
14679
14671
|
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Open Search Dialog",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":1,"column":58},"end":{"line":1,"column":90}}}))
|
|
14680
14672
|
+ "\">\n <span class=\"menu-button-label\" style=\"position:initial;\">"
|
|
14681
14673
|
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Search for meetings",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":2,"column":62},"end":{"line":2,"column":95}}}))
|
|
14682
|
-
+ "</span>\n</button>\n<div id=\"bmltsearch_modal\" class=\"modal\" style=\"display: none;\">\n
|
|
14683
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Search for meetings",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14684
|
-
+ "</
|
|
14685
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Enter a city or zip code",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14686
|
-
+ "\" style=\"margin-bottom:5px;\">\n
|
|
14687
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"text_search",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14688
|
-
+ "</button>\n
|
|
14689
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"near_me",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14690
|
-
+ "</button>\n
|
|
14691
|
-
+
|
|
14692
|
-
+ "
|
|
14674
|
+
+ "</span>\n</button>\n<div id=\"bmltsearch_modal\" class=\"modal\" style=\"display: none;\">\n <div id=\"bmltsearch_content\" class=\"modal-content\">\n <span id=\"close_search\" class=\"modal-close\">x</span>\n <div id=\"modal-search-page\">\n <div class=\"modal-title\">"
|
|
14675
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Search for meetings",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":8,"column":37},"end":{"line":8,"column":70}}}))
|
|
14676
|
+
+ "</div>\n <div id=\"modal-search-box\" class=\"modal-search\">\n <input id=\"bmltsearch-goto-text\" type=\"text\"\n placeholder=\""
|
|
14677
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Enter a city or zip code",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":11,"column":45},"end":{"line":11,"column":83}}}))
|
|
14678
|
+
+ "\" style=\"margin-bottom:5px;\">\n <button id=\"bmltsearch-text-button\" class=\"filter-button\">"
|
|
14679
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"text_search",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":12,"column":86},"end":{"line":12,"column":111}}}))
|
|
14680
|
+
+ "</button>\n </div>\n <div class=\"modal-search\">\n <button id=\"bmltsearch-nearbyMeetings\" class=\"filter-button\">"
|
|
14681
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"near_me",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":15,"column":89},"end":{"line":15,"column":110}}}))
|
|
14682
|
+
+ "</button>\n </div>\n"
|
|
14683
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"hasClickSearch") : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":17,"column":16},"end":{"line":22,"column":23}}})) != null ? stack1 : "")
|
|
14684
|
+
+ " <button id=\"show-search-parameters\" class=\"advanced-search-button\">"
|
|
14685
|
+
+ 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}}}))
|
|
14686
|
+
+ "</button>\n </div>\n <div id=\"modal-seach-parameters\">\n <div class=\"modal-title\">"
|
|
14687
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Configure Search",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":26,"column":37},"end":{"line":26,"column":67}}}))
|
|
14688
|
+
+ "</div>\n <input type=\"number\" id=\"search_parameter\" name=\"search_parameter\" maxlength=\"3\" size=\"3\">\n <p>"
|
|
14689
|
+
+ 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":52}}}))
|
|
14690
|
+
+ "</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\">"
|
|
14691
|
+
+ 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}}}))
|
|
14692
|
+
+ "</label><br>\n <button id=\"show-search-page\" class=\"advanced-search-button\">"
|
|
14693
|
+
+ 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}}}))
|
|
14694
|
+
+ "</button>\n </div>\n </div>\n</div>";
|
|
14693
14695
|
},"useData":true});
|
|
14694
14696
|
this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
14695
14697
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14953,6 +14955,9 @@ var croutonDefaultTemplates = {
|
|
|
14953
14955
|
"<div class='location-information'>{{this.formatted_location_info}}</div>",
|
|
14954
14956
|
"{{#if this.virtual_meeting_additional_info}}",
|
|
14955
14957
|
" <div class='meeting-additional-info'>{{this.virtual_meeting_additional_info}}</div>",
|
|
14958
|
+
"{{/if}}",
|
|
14959
|
+
"{{#if this.distance}}",
|
|
14960
|
+
" <div class='meeting-distance'>{{getWord 'Distance'}}: {{this.distance}}</div>",
|
|
14956
14961
|
"{{/if}}"
|
|
14957
14962
|
].join('\n'),
|
|
14958
14963
|
|
|
@@ -14984,7 +14989,6 @@ var croutonDefaultTemplates = {
|
|
|
14984
14989
|
" {{getWord 'meeting details'}}",
|
|
14985
14990
|
" </a>",
|
|
14986
14991
|
" </div>",
|
|
14987
|
-
" <div class='geo hide'>{{this.latitude}},{{this.longitude}}</div>",
|
|
14988
14992
|
" {{/unless}}",
|
|
14989
14993
|
"{{/isNotTemporarilyClosed}}"
|
|
14990
14994
|
].join('\n'),
|
|
@@ -15091,7 +15095,7 @@ var croutonDefaultTemplates = {
|
|
|
15091
15095
|
This meeting is in <a href="{{serviceBodyUrl}}">{{serviceBodyName}}</a><br/>
|
|
15092
15096
|
{{> offerIcsButton}}
|
|
15093
15097
|
</td>`,
|
|
15094
|
-
marker_contents_template:
|
|
15098
|
+
marker_contents_template:
|
|
15095
15099
|
`<h4>{{meeting_name}}</h4>
|
|
15096
15100
|
<div class="active">
|
|
15097
15101
|
<div class="marker_div_location_text">{{{this.location_text}}}</div>
|
|
@@ -16152,6 +16156,7 @@ function Crouton(config) {
|
|
|
16152
16156
|
self.mutex = false;
|
|
16153
16157
|
self.filtering = false;
|
|
16154
16158
|
self.masterFormatCodes = [];
|
|
16159
|
+
self.currentView = "weekday";
|
|
16155
16160
|
self.max_filters = 10; // TODO: needs to be refactored so that dropdowns are treated dynamically
|
|
16156
16161
|
self.config = {
|
|
16157
16162
|
on_complete: null, // Javascript function to callback when data querying is completed.
|
|
@@ -16168,6 +16173,7 @@ function Crouton(config) {
|
|
|
16168
16173
|
int_include_unpublished: 0, // Includes unpublished meeting
|
|
16169
16174
|
button_filters: [
|
|
16170
16175
|
{'title': 'City', 'field': 'location_municipality'},
|
|
16176
|
+
{'title': 'Distance', 'field': 'distance_in_km'},
|
|
16171
16177
|
],
|
|
16172
16178
|
button_format_filters: [],
|
|
16173
16179
|
default_filter_dropdown: "", // Sets the default format for the dropdowns, the names will match the `has_` fields dropdowns without `has_. Example: `formats=closed`.
|
|
@@ -16188,8 +16194,6 @@ function Crouton(config) {
|
|
|
16188
16194
|
has_common_needs: false, // Shows the Common Needs dropdown
|
|
16189
16195
|
has_venues: true, // Shows the venue types dropdown
|
|
16190
16196
|
has_meeting_count: false, // Shows the meeting count
|
|
16191
|
-
show_distance: false, // Determines distance on page load
|
|
16192
|
-
distance_search: 0, // Makes a distance based search with results either number of / or distance from coordinates
|
|
16193
16197
|
recurse_service_bodies: false,// Recurses service bodies when making service bodies request
|
|
16194
16198
|
service_body: [], // Array of service bodies to return data for.
|
|
16195
16199
|
formats: '', // Return only meetings with these formats (format shared-id, not key-string)
|
|
@@ -16233,7 +16237,9 @@ function Crouton(config) {
|
|
|
16233
16237
|
maxZoom: 18
|
|
16234
16238
|
},
|
|
16235
16239
|
minZoom: 6,
|
|
16236
|
-
maxZoom: 17
|
|
16240
|
+
maxZoom: 17,
|
|
16241
|
+
distance_units: 'miles',
|
|
16242
|
+
noMap: false
|
|
16237
16243
|
};
|
|
16238
16244
|
|
|
16239
16245
|
self.setConfig(config);
|
|
@@ -16366,6 +16372,10 @@ function Crouton(config) {
|
|
|
16366
16372
|
}
|
|
16367
16373
|
}
|
|
16368
16374
|
|
|
16375
|
+
if (self.config.map_search) {
|
|
16376
|
+
self.queryable_data_keys.push('distance_in_km');
|
|
16377
|
+
self.queryable_data_keys.push('distance_in_miles');
|
|
16378
|
+
}
|
|
16369
16379
|
self.collectDataKeys(self.config['meeting_data_template']);
|
|
16370
16380
|
self.collectDataKeys(self.config['metadata_template']);
|
|
16371
16381
|
self.collectDataKeys(self.config['observer_template']);
|
|
@@ -16384,6 +16394,9 @@ function Crouton(config) {
|
|
|
16384
16394
|
return prev +'&formats[]='+id;
|
|
16385
16395
|
}, '');
|
|
16386
16396
|
}
|
|
16397
|
+
if (self.config.map_search && self.config['venue_types'].length === 0) {
|
|
16398
|
+
self.config['venue_types'].push('-2');
|
|
16399
|
+
}
|
|
16387
16400
|
if (self.config['venue_types']) {
|
|
16388
16401
|
url += self.config['venue_types'].reduce(function(prev,id) {
|
|
16389
16402
|
return prev +'&venue_types[]='+id;
|
|
@@ -16395,16 +16408,7 @@ function Crouton(config) {
|
|
|
16395
16408
|
url += "&advanced_published=-1"
|
|
16396
16409
|
}
|
|
16397
16410
|
|
|
16398
|
-
if (self.config['
|
|
16399
|
-
return retrieveGeolocation().then((position) => {
|
|
16400
|
-
url += '&lat_val=' + position.latitude + '&long_val=' + position.longitude + '&sort_results_by_distance=1';
|
|
16401
|
-
url += (self.config['distance_units'] === "km" ? '&geo_width_km=' : '&geo_width=') + self.config['distance_search'];
|
|
16402
|
-
return self.getMeetings(url);
|
|
16403
|
-
}).catch((error) => {
|
|
16404
|
-
console.error(error.message);
|
|
16405
|
-
return self.getMeetings(url); // Proceed without geolocation if error occurs
|
|
16406
|
-
});
|
|
16407
|
-
} else if (self.config['custom_query'] != null) {
|
|
16411
|
+
if (self.config['custom_query'] != null) {
|
|
16408
16412
|
url += self.config['custom_query'] + '&sort_keys=' + self.config['sort_keys'];
|
|
16409
16413
|
return self.getMeetings(url);
|
|
16410
16414
|
} else if (self.config['service_body'].length > 0) {
|
|
@@ -16449,18 +16453,28 @@ function Crouton(config) {
|
|
|
16449
16453
|
jQuery(id).removeClass("hide").addClass("show");
|
|
16450
16454
|
};
|
|
16451
16455
|
|
|
16452
|
-
self.showView = function (viewName,
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
16456
|
-
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
self.
|
|
16460
|
-
|
|
16461
|
-
|
|
16456
|
+
self.showView = function (viewName, showingNow=0) {
|
|
16457
|
+
self.currentView = viewName;
|
|
16458
|
+
if (showingNow > 0) {
|
|
16459
|
+
self.showingNow = showingNow;
|
|
16460
|
+
} else showingNow = self.showingNow ? self.showingNow : self.meetingData.length; ;
|
|
16461
|
+
|
|
16462
|
+
if (viewName.endsWith('day')) {
|
|
16463
|
+
if (!self.config['has_tabs'] || (self.config['filter_tabs'] && self.config['filter_tabs'] >= showingNow)) {
|
|
16464
|
+
self.byDayView();
|
|
16465
|
+
|
|
16466
|
+
jQuery(".bmlt-data-rows").each(function (index, value) {
|
|
16467
|
+
if (jQuery(value).find(".bmlt-data-row.hide").length === jQuery(value).find(".bmlt-data-row").length) {
|
|
16468
|
+
jQuery(value).find(".meeting-header").addClass("hide");
|
|
16469
|
+
}
|
|
16470
|
+
});
|
|
16471
|
+
} else {
|
|
16472
|
+
self.dayView();
|
|
16473
|
+
}
|
|
16474
|
+
} else if (viewName=='map') {
|
|
16475
|
+
self.mapView();
|
|
16462
16476
|
} else {
|
|
16463
|
-
self.filteredView(viewName);
|
|
16477
|
+
self.filteredView(self.config.button_filters.find((bf) => bf.title.toLowerCase() === viewName).field);
|
|
16464
16478
|
}
|
|
16465
16479
|
};
|
|
16466
16480
|
|
|
@@ -16469,8 +16483,10 @@ function Crouton(config) {
|
|
|
16469
16483
|
self.highlightButton("#day");
|
|
16470
16484
|
jQuery('.bmlt-page').each(function (index) {
|
|
16471
16485
|
self.hidePage("#" + this.id);
|
|
16486
|
+
self.hidePage("#days");
|
|
16472
16487
|
self.showPage("#byday");
|
|
16473
|
-
self.
|
|
16488
|
+
self.hidePage("#nav-days");
|
|
16489
|
+
self.hidePage("#tabs-content");
|
|
16474
16490
|
return;
|
|
16475
16491
|
});
|
|
16476
16492
|
};
|
|
@@ -16494,9 +16510,32 @@ function Crouton(config) {
|
|
|
16494
16510
|
jQuery('.bmlt-page').each(function (index) {
|
|
16495
16511
|
self.hidePage("#" + this.id);
|
|
16496
16512
|
self.showPage("#byfield_" + field);
|
|
16513
|
+
jQuery("#byfield_" + field).find('.meeting-header').each(function(index) {
|
|
16514
|
+
// This is an awkward way of doing things, but I don't want to mess with
|
|
16515
|
+
// the generated HTML at this point.
|
|
16516
|
+
let flag = false;
|
|
16517
|
+
let item = jQuery(this);
|
|
16518
|
+
const main = item;
|
|
16519
|
+
while(item = item.next()) {
|
|
16520
|
+
if (item.length === 0) break;
|
|
16521
|
+
if (item.hasClass('meeting-header')) break;
|
|
16522
|
+
if (!item.hasClass('hide')) {
|
|
16523
|
+
flag = true;
|
|
16524
|
+
break;
|
|
16525
|
+
}
|
|
16526
|
+
}
|
|
16527
|
+
if (!flag) main.addClass('hide');
|
|
16528
|
+
})
|
|
16497
16529
|
return;
|
|
16498
16530
|
});
|
|
16499
16531
|
};
|
|
16532
|
+
self.mapView = function() {
|
|
16533
|
+
self.lowlightButton("#day");
|
|
16534
|
+
self.lowlightButton(".filterButton");
|
|
16535
|
+
self.highlightButton("#filterButton_embeddedMapPage");
|
|
16536
|
+
self.filteredView("embeddedMapPage", false);
|
|
16537
|
+
croutonMap.showMap(false,false);
|
|
16538
|
+
}
|
|
16500
16539
|
self.lowlightButton = function (id) {
|
|
16501
16540
|
jQuery(id).removeClass("buttonHighlight").addClass("buttonLowlight");
|
|
16502
16541
|
};
|
|
@@ -16528,9 +16567,6 @@ function Crouton(config) {
|
|
|
16528
16567
|
jQuery(".bmlt-data-row").not("[data-" + dataType + "~='" + dataValue + "']").addClass("hide");
|
|
16529
16568
|
}
|
|
16530
16569
|
});
|
|
16531
|
-
if (!filteringDropdown) {
|
|
16532
|
-
self.filtering = false;
|
|
16533
|
-
}
|
|
16534
16570
|
var showingNow = [];
|
|
16535
16571
|
jQuery(".bmlt-data-row").not(".hide").each(function (index, value) {
|
|
16536
16572
|
jQuery(value).addClass((index % 2) ? 'oddRow' : 'evenRow');
|
|
@@ -16541,41 +16577,11 @@ function Crouton(config) {
|
|
|
16541
16577
|
self.updateMeetingCount(showingNow);
|
|
16542
16578
|
self.updateFilters();
|
|
16543
16579
|
if (croutonMap) croutonMap.fillMap(showingNow);
|
|
16544
|
-
|
|
16545
|
-
if (!jQuery('#byfield_embeddedMapPage').hasClass('hide')) {
|
|
16546
|
-
jQuery('#displayTypeButton_tablePages').removeClass('hide');
|
|
16547
|
-
jQuery('#filterButton_embeddedMapPage').addClass('hide');
|
|
16548
|
-
}
|
|
16549
|
-
}
|
|
16550
|
-
|
|
16551
|
-
if (!self.config.map_page || jQuery('#byfield_embeddedMapPage').hasClass('hide')) {
|
|
16552
|
-
self.showFilteredMeetingsAsTable(showingNow.length);
|
|
16553
|
-
}
|
|
16554
|
-
self.filtering = true;
|
|
16580
|
+
self.showView(self.currentView, showingNow.length);
|
|
16555
16581
|
};
|
|
16556
|
-
self.showFilteredMeetingsAsTable = function (showingNow) {
|
|
16557
|
-
if (self.config['filter_tabs'] && self.config['filter_tabs'] <= showingNow) {
|
|
16558
|
-
self.showPage("#nav-days");
|
|
16559
|
-
self.showPage("#tabs-content");
|
|
16560
|
-
} else {
|
|
16561
|
-
self.lowlightButton(".filterButton");
|
|
16562
|
-
self.lowlightButton("#day");
|
|
16563
|
-
self.showPage("#byday");
|
|
16564
|
-
|
|
16565
|
-
jQuery(".bmlt-data-rows").each(function (index, value) {
|
|
16566
|
-
if (jQuery(value).find(".bmlt-data-row.hide").length === jQuery(value).find(".bmlt-data-row").length) {
|
|
16567
|
-
jQuery(value).find(".meeting-header").addClass("hide");
|
|
16568
|
-
}
|
|
16569
|
-
});
|
|
16570
|
-
}
|
|
16571
|
-
}
|
|
16572
16582
|
self.resetFilter = function () {
|
|
16573
16583
|
croutonMap.filterVisible(false);
|
|
16574
|
-
if (self.config.map_page)
|
|
16575
|
-
if (self.filtering) croutonMap.fillMap();
|
|
16576
|
-
jQuery('#displayTypeButton_tablePages').addClass('hide');
|
|
16577
|
-
jQuery('#filterButton_embeddedMapPage').removeClass('hide');
|
|
16578
|
-
} else if (self.config.show_map) croutonMap.fillMap();
|
|
16584
|
+
if ((self.config.map_page && self.filtering) || self.config.show_map) croutonMap.fillMap();
|
|
16579
16585
|
self.filtering = false;
|
|
16580
16586
|
self.updateFilters();
|
|
16581
16587
|
self.updateMeetingCount();
|
|
@@ -16615,7 +16621,7 @@ function Crouton(config) {
|
|
|
16615
16621
|
crouton_Handlebars.registerPartial('bydays', hbs_Crouton.templates['byday']);
|
|
16616
16622
|
crouton_Handlebars.registerPartial('formatPopup', hbs_Crouton.templates['formatPopup']);
|
|
16617
16623
|
window.crouton = self;
|
|
16618
|
-
croutonMap.initialize(self.createBmltMapElement(),self.meetingData,context,null,fitBounds,callback);
|
|
16624
|
+
croutonMap.initialize(self.createBmltMapElement(),self.meetingData,context,null,fitBounds,callback,self.config['noMap']);
|
|
16619
16625
|
}
|
|
16620
16626
|
self.getCurrentLocation = function(callback) {
|
|
16621
16627
|
retrieveGeolocation().then(position => {
|
|
@@ -16698,31 +16704,6 @@ function Crouton(config) {
|
|
|
16698
16704
|
});
|
|
16699
16705
|
}
|
|
16700
16706
|
|
|
16701
|
-
self.showLocation = function(position) {
|
|
16702
|
-
var latitude = position.latitude;
|
|
16703
|
-
var longitude = position.longitude;
|
|
16704
|
-
var distanceUnit;
|
|
16705
|
-
var distanceCalculation;
|
|
16706
|
-
|
|
16707
|
-
if (self.config['distance_units'] === "km") {
|
|
16708
|
-
distanceUnit = "km";
|
|
16709
|
-
distanceCalculation = "K";
|
|
16710
|
-
} else if (self.config['distance_units'] === "nm") {
|
|
16711
|
-
distanceUnit = "nm";
|
|
16712
|
-
distanceCalculation = "N";
|
|
16713
|
-
} else {
|
|
16714
|
-
distanceUnit = "mi";
|
|
16715
|
-
distanceCalculation = "M";
|
|
16716
|
-
}
|
|
16717
|
-
|
|
16718
|
-
jQuery( ".geo" ).each(function() {
|
|
16719
|
-
var target = jQuery( this ).html();
|
|
16720
|
-
var arr = target.split(',');
|
|
16721
|
-
var distance_result = self.distance(latitude, longitude, arr[0], arr[1], distanceCalculation);
|
|
16722
|
-
jQuery( this ).removeClass("hide").addClass("show").html(distance_result.toFixed(1) + ' ' + distanceUnit);
|
|
16723
|
-
});
|
|
16724
|
-
};
|
|
16725
|
-
|
|
16726
16707
|
self.errorHandler = function(msg) {
|
|
16727
16708
|
jQuery('.geo').removeClass("hide").addClass("show").html('');
|
|
16728
16709
|
};
|
|
@@ -16979,6 +16960,22 @@ function Crouton(config) {
|
|
|
16979
16960
|
);
|
|
16980
16961
|
}
|
|
16981
16962
|
|
|
16963
|
+
meetingData[m]['distance'] = '';
|
|
16964
|
+
if (self.config['distance_units'] === "km") {
|
|
16965
|
+
if (meetingData[m]['distance_in_km']) {
|
|
16966
|
+
const d = meetingData[m]['distance_in_km'];
|
|
16967
|
+
if (d < 1) {
|
|
16968
|
+
meetingData[m]['distance'] = Math.round( d * 1000) + 'm';
|
|
16969
|
+
}
|
|
16970
|
+
else {
|
|
16971
|
+
meetingData[m]['distance'] = (Math.round(d * 10) / 10).toFixed(1) + 'km';
|
|
16972
|
+
}
|
|
16973
|
+
}
|
|
16974
|
+
} else if (meetingData[m]['distance_in_miles']) {
|
|
16975
|
+
const d = meetingData[m]['distance_in_miles'];
|
|
16976
|
+
meetingData[m]['distance'] = (Math.round(d * 100) / 100).toFixed(2) + ' miles';
|
|
16977
|
+
}
|
|
16978
|
+
|
|
16982
16979
|
meetings.push(meetingData[m])
|
|
16983
16980
|
}
|
|
16984
16981
|
|
|
@@ -17043,7 +17040,6 @@ Crouton.prototype.setConfig = function(config) {
|
|
|
17043
17040
|
self.config.show_map = false;
|
|
17044
17041
|
self.config.map_page = true;
|
|
17045
17042
|
}
|
|
17046
|
-
self.config["distance_search"] = parseInt(self.config["distance_search"] || 0);
|
|
17047
17043
|
self.config["day_sequence"] = [];
|
|
17048
17044
|
self.config.day_sequence.push(self.config.int_start_day_id);
|
|
17049
17045
|
for (var i = 1; i < 7; i++) {
|
|
@@ -17055,13 +17051,10 @@ Crouton.prototype.setConfig = function(config) {
|
|
|
17055
17051
|
}
|
|
17056
17052
|
}
|
|
17057
17053
|
|
|
17058
|
-
if (self.config["view_by"]
|
|
17054
|
+
if (self.config["view_by"].endsWith('day')) {
|
|
17059
17055
|
self.config["include_weekday_button"] = true;
|
|
17060
17056
|
}
|
|
17061
|
-
|
|
17062
|
-
if (!self.config["has_tabs"]) {
|
|
17063
|
-
self.config["view_by"] = "byday";
|
|
17064
|
-
}
|
|
17057
|
+
self.currentView = self.config["view_by"];
|
|
17065
17058
|
|
|
17066
17059
|
if (self.config["template_path"] == null) {
|
|
17067
17060
|
self.config["template_path"] = "templates"
|
|
@@ -17231,6 +17224,11 @@ Crouton.prototype.searchMap = function() {
|
|
|
17231
17224
|
}
|
|
17232
17225
|
Crouton.prototype.render = function(doMeetingMap = false) {
|
|
17233
17226
|
var self = this;
|
|
17227
|
+
|
|
17228
|
+
if (!self.config.map_search) {
|
|
17229
|
+
self.config.button_filters = self.config.button_filters.filter((b) => !b.field.startsWith('distance'));
|
|
17230
|
+
if (self.config['view_by'] == 'distance') self.config['view_by'] = 'weekday';
|
|
17231
|
+
}
|
|
17234
17232
|
self.lock(function() {
|
|
17235
17233
|
var body = jQuery("body");
|
|
17236
17234
|
if (self.config['theme'] !== '') {
|
|
@@ -17294,6 +17292,7 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17294
17292
|
|
|
17295
17293
|
for (var f = 0; f < self.config.button_filters.length; f++) {
|
|
17296
17294
|
var groupByName = self.config.button_filters[f]['field'];
|
|
17295
|
+
if (groupByName.startsWith('distance')) continue;
|
|
17297
17296
|
var groupByData = getUniqueValuesOfKey(daysOfTheWeekMeetings, groupByName).sort();
|
|
17298
17297
|
for (var i = 0; i < groupByData.length; i++) {
|
|
17299
17298
|
var groupByMeetings = daysOfTheWeekMeetings.filterByObjectKeyValue(groupByName, groupByData[i]);
|
|
@@ -17332,15 +17331,20 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17332
17331
|
|
|
17333
17332
|
var buttonFiltersDataSorted = {};
|
|
17334
17333
|
for (var b = 0; b < self.config.button_filters.length; b++) {
|
|
17335
|
-
var sortKey = [];
|
|
17336
17334
|
var groupByName = self.config.button_filters[b]['field'];
|
|
17335
|
+
buttonFiltersDataSorted[groupByName] = {};
|
|
17336
|
+
if (groupByName.startsWith('distance')) {
|
|
17337
|
+
buttonFiltersDataSorted[groupByName]['Sorted by Distance'] = [...self.meetingData].sort((a,b) => a['distance_in_km'] - b['distance_in_km']);
|
|
17338
|
+
continue;
|
|
17339
|
+
}
|
|
17340
|
+
var sortKey = [];
|
|
17341
|
+
|
|
17337
17342
|
for (var buttonFiltersDataItem in buttonFiltersData[groupByName]) {
|
|
17338
17343
|
sortKey.push(buttonFiltersDataItem);
|
|
17339
17344
|
}
|
|
17340
17345
|
|
|
17341
17346
|
sortKey.sort();
|
|
17342
17347
|
|
|
17343
|
-
buttonFiltersDataSorted[groupByName] = {};
|
|
17344
17348
|
for (var s = 0; s < sortKey.length; s++) {
|
|
17345
17349
|
buttonFiltersDataSorted[groupByName][sortKey[s]] = buttonFiltersData[groupByName][sortKey[s]]
|
|
17346
17350
|
}
|
|
@@ -17471,35 +17475,20 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17471
17475
|
});
|
|
17472
17476
|
|
|
17473
17477
|
jQuery('.filter-dropdown').on('select2:select', function (e) {
|
|
17474
|
-
jQuery('.bmlt-page:not(#byfield_embeddedMapPage)').each(function () {
|
|
17475
|
-
self.hidePage(this);
|
|
17476
|
-
});
|
|
17477
17478
|
self.filteredPage();
|
|
17478
|
-
if (!self.filtering) self.showView(self.config['view_by'] === 'byday' ? 'byday' : 'day');
|
|
17479
17479
|
});
|
|
17480
17480
|
|
|
17481
17481
|
jQuery("#day").on('click', function () {
|
|
17482
|
-
self.showView(
|
|
17482
|
+
self.showView('day');
|
|
17483
17483
|
});
|
|
17484
17484
|
|
|
17485
17485
|
jQuery(".filterButtonLogic").on('click', function (e) {
|
|
17486
|
-
self.
|
|
17487
|
-
});
|
|
17488
|
-
jQuery(".displayTypeLogic").on('click', function (e) {
|
|
17489
|
-
jQuery(".displayTypeLogic").each(function() {
|
|
17490
|
-
if (e.target == this) jQuery(this).addClass("hide");
|
|
17491
|
-
else jQuery(this).removeClass("hide");
|
|
17492
|
-
})
|
|
17493
|
-
});
|
|
17494
|
-
jQuery('#displayTypeButton_tablePages').on('click', function (e) {
|
|
17495
|
-
self.hidePage('#byfield_embeddedMapPage');
|
|
17496
|
-
const knt = self.showingNowCount ? self.showingNowCount : self.meetingData.length;
|
|
17497
|
-
self.showFilteredMeetingsAsTable(knt);
|
|
17486
|
+
self.showView(e.target.attributes['data-field'].value.toLowerCase());
|
|
17498
17487
|
});
|
|
17499
17488
|
jQuery('#filterButton_embeddedMapPage').on('click', function (e) {
|
|
17500
|
-
self.
|
|
17501
|
-
croutonMap.showMap(false,false);
|
|
17489
|
+
self.showView('map')
|
|
17502
17490
|
});
|
|
17491
|
+
/****
|
|
17503
17492
|
jQuery('.custom-ul').on('click', 'a', function (event) {
|
|
17504
17493
|
jQuery('.bmlt-page').each(function (index) {
|
|
17505
17494
|
self.hidePage("#" + this.id);
|
|
@@ -17507,7 +17496,7 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17507
17496
|
return;
|
|
17508
17497
|
});
|
|
17509
17498
|
});
|
|
17510
|
-
|
|
17499
|
+
*/
|
|
17511
17500
|
if (self.config['has_tabs']) {
|
|
17512
17501
|
jQuery('.nav-tabs a').on('click', function (e) {
|
|
17513
17502
|
e.preventDefault();
|
|
@@ -17523,17 +17512,12 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17523
17512
|
|
|
17524
17513
|
self.showPage(".bmlt-header");
|
|
17525
17514
|
self.showPage(".bmlt-tabs");
|
|
17526
|
-
self.showView(self.config['view_by'], false);
|
|
17527
17515
|
|
|
17528
17516
|
if (self.config['default_filter_dropdown'] !== "") {
|
|
17529
17517
|
var filter = self.config['default_filter_dropdown'].toLowerCase().split("=");
|
|
17530
17518
|
jQuery("#filter-dropdown-" + filter[0]).val('a-' + filter[1]).trigger('change').trigger('select2:select');
|
|
17531
17519
|
}
|
|
17532
17520
|
|
|
17533
|
-
if (self.config['show_distance']) {
|
|
17534
|
-
self.getCurrentLocation(self.showLocation);
|
|
17535
|
-
}
|
|
17536
|
-
|
|
17537
17521
|
if (self.config['show_map'] && !self.config['refresh_map'] && !doMeetingMap) {
|
|
17538
17522
|
croutonMap.initialize(self.createBmltMapElement(), self.meetingData);
|
|
17539
17523
|
jQuery("#bmlt-map").removeClass("hide");
|
|
@@ -17547,6 +17531,9 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17547
17531
|
if (self.config['refresh_map']) {
|
|
17548
17532
|
croutonMap.refreshMeetings(self.meetingData, true, true);
|
|
17549
17533
|
}
|
|
17534
|
+
if (self.config['view_by'] == 'map' && !self.config['map_page'])
|
|
17535
|
+
self.config['view_by'] = 'day';
|
|
17536
|
+
self.showView(self.config['view_by'], self.meetingData.length);
|
|
17550
17537
|
if (self.config['on_complete'] != null && isFunction(self.config['on_complete'])) {
|
|
17551
17538
|
self.config['on_complete']();
|
|
17552
17539
|
}
|
|
@@ -17554,13 +17541,12 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17554
17541
|
});
|
|
17555
17542
|
});
|
|
17556
17543
|
Crouton.prototype.forceShowMap = function() {
|
|
17557
|
-
if (
|
|
17558
|
-
|
|
17544
|
+
if (this.config.map_page && jQuery('#byfield_embeddedMapPage').hasClass('hide')) {
|
|
17545
|
+
this.mapView();
|
|
17559
17546
|
}
|
|
17560
17547
|
}
|
|
17561
17548
|
};
|
|
17562
17549
|
|
|
17563
|
-
|
|
17564
17550
|
function getTrueResult(options, ctx) {
|
|
17565
17551
|
return options.fn !== undefined ? options.fn(ctx) : true;
|
|
17566
17552
|
}
|
|
@@ -17838,7 +17824,7 @@ function getUniqueFormats(array){
|
|
|
17838
17824
|
return array.reduce(function(carry, val){
|
|
17839
17825
|
if (!(val.formats_expanded)) return carry;
|
|
17840
17826
|
return carry.concat(val.formats_expanded.filter((item) => carry.map(f => f.key).indexOf(item.key) < 0));
|
|
17841
|
-
},[]);
|
|
17827
|
+
},[]).sortByKey('name');
|
|
17842
17828
|
}
|
|
17843
17829
|
function getUniqueFormatsOfType(array, type){
|
|
17844
17830
|
return array.reduce(function(carry, val){
|
|
@@ -17848,7 +17834,7 @@ function getUniqueFormatsOfType(array, type){
|
|
|
17848
17834
|
carry = carry.concat(fmts.filter((item) => carry.map(f => f.key).indexOf(item.key) < 0));
|
|
17849
17835
|
}
|
|
17850
17836
|
return carry;
|
|
17851
|
-
},[]);
|
|
17837
|
+
},[]).sortByKey('name');
|
|
17852
17838
|
}
|
|
17853
17839
|
Crouton.prototype.renderMeetingCount = function() {
|
|
17854
17840
|
var self = this;
|
|
@@ -17862,8 +17848,6 @@ Crouton.prototype.simulateFilterDropdown = function() {
|
|
|
17862
17848
|
self.hidePage(this);
|
|
17863
17849
|
});
|
|
17864
17850
|
self.filteredPage();
|
|
17865
|
-
if (!self.filtering && !self.config.map_page)
|
|
17866
|
-
self.showView(self.config['view_by'] === 'byday' ? 'byday' : 'day', false);
|
|
17867
17851
|
}
|
|
17868
17852
|
Crouton.prototype.getAdjustedDateTime = function(meeting_day, meeting_time, meeting_time_zone) {
|
|
17869
17853
|
var timeZoneAware = this.config['auto_tz_adjust'] === true || this.config['auto_tz_adjust'] === "true";
|