@bmlt-enabled/croutonjs 3.21.0 → 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.js +90 -122
- package/crouton-core.min.js +1 -1
- package/crouton-gmaps.js +91 -122
- package/crouton-gmaps.min.js +1 -1
- package/crouton-map.js +1 -0
- package/crouton-map.min.js +1 -1
- package/crouton-nocore.js +21 -40
- package/crouton-nocore.min.js +1 -1
- package/crouton.js +91 -122
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +91 -122
- package/crouton.nojquery.min.js +1 -1
- package/package.json +1 -1
package/crouton.js
CHANGED
|
@@ -13260,7 +13260,6 @@ function CroutonLocalization(language) {
|
|
|
13260
13260
|
},
|
|
13261
13261
|
"css-direction": 'bmlt-rtl',
|
|
13262
13262
|
"share": "مشاركة",
|
|
13263
|
-
'tabular': "جدول",
|
|
13264
13263
|
'google_directions': 'اتجاهات جوجل للاجتماع',
|
|
13265
13264
|
"no_meetings_for_this_day": "لا توجد اجتماعات لهذا اليوم.",
|
|
13266
13265
|
'all': 'الجميع',
|
|
@@ -13318,7 +13317,6 @@ function CroutonLocalization(language) {
|
|
|
13318
13317
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13319
13318
|
'css-textalign': '',
|
|
13320
13319
|
'css-floatdirection': '',
|
|
13321
|
-
'tabular': "As table",
|
|
13322
13320
|
'google_directions': 'Google directions to meeting',
|
|
13323
13321
|
'all': 'All',
|
|
13324
13322
|
'menu': 'Menu',
|
|
@@ -13369,7 +13367,6 @@ function CroutonLocalization(language) {
|
|
|
13369
13367
|
GS: "Group Support Forum"
|
|
13370
13368
|
},
|
|
13371
13369
|
"share": "Teilen",
|
|
13372
|
-
'tabular': "Als Tabelle",
|
|
13373
13370
|
'google_directions': 'Google Routenplaner',
|
|
13374
13371
|
"no_meetings_for_this_day": "Keine Meetings an diesem Tag.",
|
|
13375
13372
|
'css-textalign': '',
|
|
@@ -13425,7 +13422,6 @@ function CroutonLocalization(language) {
|
|
|
13425
13422
|
GS: "Group Support Forum"
|
|
13426
13423
|
},
|
|
13427
13424
|
"share": "share",
|
|
13428
|
-
'tabular': "As table",
|
|
13429
13425
|
'google_directions': 'Google directions to meeting',
|
|
13430
13426
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13431
13427
|
'css-textalign': '',
|
|
@@ -13483,7 +13479,6 @@ function CroutonLocalization(language) {
|
|
|
13483
13479
|
GS: "Group Support Forum"
|
|
13484
13480
|
},
|
|
13485
13481
|
"share": "share",
|
|
13486
|
-
'tabular': "As table",
|
|
13487
13482
|
'google_directions': 'Google directions to meeting',
|
|
13488
13483
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13489
13484
|
'css-textalign': '',
|
|
@@ -13541,7 +13536,6 @@ function CroutonLocalization(language) {
|
|
|
13541
13536
|
GS: "Group Support Forum"
|
|
13542
13537
|
},
|
|
13543
13538
|
"share": "share",
|
|
13544
|
-
'tabular': "As table",
|
|
13545
13539
|
'google_directions': 'Google directions to meeting',
|
|
13546
13540
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13547
13541
|
'css-textalign': '',
|
|
@@ -13599,7 +13593,6 @@ function CroutonLocalization(language) {
|
|
|
13599
13593
|
GS: "Group Support Forum"
|
|
13600
13594
|
},
|
|
13601
13595
|
"share": "share",
|
|
13602
|
-
'tabular': "As table",
|
|
13603
13596
|
'google_directions': 'Google directions to meeting',
|
|
13604
13597
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13605
13598
|
'css-textalign': '',
|
|
@@ -13644,7 +13637,6 @@ function CroutonLocalization(language) {
|
|
|
13644
13637
|
"common_needs": "Common Needs",
|
|
13645
13638
|
"meeting_count": "Weekly Meetings:",
|
|
13646
13639
|
"venue_types": "Venue Types",
|
|
13647
|
-
'tabular': "As table",
|
|
13648
13640
|
'google_directions': 'Google directions to meeting',
|
|
13649
13641
|
"venue_type_choices": {
|
|
13650
13642
|
IN_PERSON: "In Person",
|
|
@@ -13718,7 +13710,6 @@ function CroutonLocalization(language) {
|
|
|
13718
13710
|
"share": "compartir",
|
|
13719
13711
|
"no_meetings_for_this_day": "No hay reuniones en este día",
|
|
13720
13712
|
'css-textalign': 'Alineación de texto CSS',
|
|
13721
|
-
'tabular': 'Formato tabla',
|
|
13722
13713
|
'google_directions': 'Indicaciones de Google',
|
|
13723
13714
|
'css-floatdirection': "Dirección float-CSS",
|
|
13724
13715
|
'all': 'Todos',
|
|
@@ -13773,7 +13764,6 @@ function CroutonLocalization(language) {
|
|
|
13773
13764
|
GS: "Group Support Forum"
|
|
13774
13765
|
},
|
|
13775
13766
|
"share": "share",
|
|
13776
|
-
'tabular': "As table",
|
|
13777
13767
|
'google_directions': 'Google directions to meeting',
|
|
13778
13768
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13779
13769
|
"css-direction": 'bmlt-rtl',
|
|
@@ -13829,7 +13819,6 @@ function CroutonLocalization(language) {
|
|
|
13829
13819
|
GS: "Group Support Forum"
|
|
13830
13820
|
},
|
|
13831
13821
|
"share": "Partager",
|
|
13832
|
-
"tabular": "Liste",
|
|
13833
13822
|
"google_directions": "Itinéraire sur Google Maps",
|
|
13834
13823
|
"no_meetings_for_this_day": "Pas de réunion aujourd'hui.",
|
|
13835
13824
|
"css-textalign": "css-textalign",
|
|
@@ -13886,7 +13875,6 @@ function CroutonLocalization(language) {
|
|
|
13886
13875
|
GS: "Forum supporto gruppi"
|
|
13887
13876
|
},
|
|
13888
13877
|
"share": "Condividi",
|
|
13889
|
-
'tabular': "Tabellare",
|
|
13890
13878
|
'google_directions': 'Mappa',
|
|
13891
13879
|
"no_meetings_for_this_day": "Nessuna riunione per questo giorno.",
|
|
13892
13880
|
'css-textalign': '',
|
|
@@ -13943,7 +13931,6 @@ function CroutonLocalization(language) {
|
|
|
13943
13931
|
GS: "Group Support Forum"
|
|
13944
13932
|
},
|
|
13945
13933
|
"share": "share",
|
|
13946
|
-
'tabular': "As table",
|
|
13947
13934
|
'google_directions': 'Google directions to meeting',
|
|
13948
13935
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13949
13936
|
'css-textalign': '',
|
|
@@ -14000,7 +13987,6 @@ function CroutonLocalization(language) {
|
|
|
14000
13987
|
GS: "Group Support Forum"
|
|
14001
13988
|
},
|
|
14002
13989
|
"share": "share",
|
|
14003
|
-
'tabular': "As table",
|
|
14004
13990
|
'google_directions': 'Google directions to meeting',
|
|
14005
13991
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
14006
13992
|
'css-textalign': '',
|
|
@@ -14057,7 +14043,6 @@ function CroutonLocalization(language) {
|
|
|
14057
14043
|
GS: "Group Support Forum"
|
|
14058
14044
|
},
|
|
14059
14045
|
"share": "Compartilhar",
|
|
14060
|
-
'tabular': "As table",
|
|
14061
14046
|
'google_directions': 'Google directions to meeting',
|
|
14062
14047
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
14063
14048
|
'css-textalign': '',
|
|
@@ -14106,7 +14091,6 @@ function CroutonLocalization(language) {
|
|
|
14106
14091
|
VIRTUAL: "Онлайн",
|
|
14107
14092
|
},
|
|
14108
14093
|
"share": "поделиться",
|
|
14109
|
-
'tabular': "Как таблица",
|
|
14110
14094
|
'google_directions': 'На карте',
|
|
14111
14095
|
"service_body_types": {
|
|
14112
14096
|
AS: "Area Service Committee",
|
|
@@ -14171,7 +14155,6 @@ function CroutonLocalization(language) {
|
|
|
14171
14155
|
GS: "Group Support Forum"
|
|
14172
14156
|
},
|
|
14173
14157
|
"share": "share",
|
|
14174
|
-
'tabular': "As table",
|
|
14175
14158
|
'google_directions': 'Google directions to meeting',
|
|
14176
14159
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
14177
14160
|
'css-textalign': '',
|
|
@@ -14337,9 +14320,9 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14337
14320
|
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 : "")
|
|
14338
14321
|
+ ((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 : "")
|
|
14339
14322
|
+ ((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 : "")
|
|
14340
|
-
+ ((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":
|
|
14323
|
+
+ ((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 : "")
|
|
14341
14324
|
+ "\n"
|
|
14342
|
-
+ ((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":
|
|
14325
|
+
+ ((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 : "")
|
|
14343
14326
|
+ " </div>\n";
|
|
14344
14327
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
14345
14328
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14363,7 +14346,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14363
14346
|
return " <div class=\"bmlt-button-container\"><a id=\"filterButton_"
|
|
14364
14347
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"field") : depth0), depth0))
|
|
14365
14348
|
+ "\" tabindex=0 data-field=\""
|
|
14366
|
-
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"
|
|
14349
|
+
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"title") : depth0), depth0))
|
|
14367
14350
|
+ "\" class=\"filterButton filterButtonLogic btn btn-primary btn-sm\">"
|
|
14368
14351
|
+ 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}}}))
|
|
14369
14352
|
+ "</a></div>\n";
|
|
@@ -14383,17 +14366,15 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14383
14366
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"title") : depth0), depth0))
|
|
14384
14367
|
+ "</a></div>\n";
|
|
14385
14368
|
},"8":function(container,depth0,helpers,partials,data) {
|
|
14386
|
-
var
|
|
14369
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14387
14370
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14388
14371
|
return parent[propertyName];
|
|
14389
14372
|
}
|
|
14390
14373
|
return undefined
|
|
14391
14374
|
};
|
|
14392
14375
|
|
|
14393
|
-
return " <div class=\"bmlt-button-container\"><a id=\"filterButton_embeddedMapPage\" tabindex=0 data-field=\"embeddedMapPage\" class=\"filterButton
|
|
14394
|
-
+
|
|
14395
|
-
+ "</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\">"
|
|
14396
|
-
+ 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}}}))
|
|
14376
|
+
return " <div class=\"bmlt-button-container\"><a id=\"filterButton_embeddedMapPage\" tabindex=0 data-field=\"embeddedMapPage\" class=\"filterButton btn btn-primary btn-sm\">"
|
|
14377
|
+
+ 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}}}))
|
|
14397
14378
|
+ "</a></div>\n";
|
|
14398
14379
|
},"10":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
14399
14380
|
var stack1, helper, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4="function", lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14406,17 +14387,17 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14406
14387
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
14407
14388
|
+ alias1(container.lambda(((stack1 = (depths[1] != null ? lookupProperty(depths[1],"config") : depths[1])) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
14408
14389
|
+ ";\" data-placeholder=\""
|
|
14409
|
-
+ 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":
|
|
14390
|
+
+ 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)))
|
|
14410
14391
|
+ "\" data-pointer=\""
|
|
14411
|
-
+ 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":
|
|
14392
|
+
+ 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)))
|
|
14412
14393
|
+ "\" id="
|
|
14413
|
-
+ 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":
|
|
14394
|
+
+ 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)))
|
|
14414
14395
|
+ ">\n <option value=\"a-\">"
|
|
14415
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"all",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14396
|
+
+ 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}}}))
|
|
14416
14397
|
+ " "
|
|
14417
|
-
+ 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":
|
|
14398
|
+
+ 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)))
|
|
14418
14399
|
+ "</option>\n"
|
|
14419
|
-
+ ((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":
|
|
14400
|
+
+ ((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 : "")
|
|
14420
14401
|
+ " </select>\n </div>\n";
|
|
14421
14402
|
},"11":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
14422
14403
|
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14427,9 +14408,9 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14427
14408
|
};
|
|
14428
14409
|
|
|
14429
14410
|
return " <option value=\"a-"
|
|
14430
|
-
+ 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":
|
|
14411
|
+
+ 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}}}))
|
|
14431
14412
|
+ "\">"
|
|
14432
|
-
+ 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":
|
|
14413
|
+
+ 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}}}))
|
|
14433
14414
|
+ "</option>\n";
|
|
14434
14415
|
},"13":function(container,depth0,helpers,partials,data) {
|
|
14435
14416
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14439,9 +14420,9 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14439
14420
|
return undefined
|
|
14440
14421
|
};
|
|
14441
14422
|
|
|
14442
|
-
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":
|
|
14423
|
+
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 : "")
|
|
14443
14424
|
+ " <ul class=\"nav nav-tabs\">\n"
|
|
14444
|
-
+ ((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":
|
|
14425
|
+
+ ((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 : "")
|
|
14445
14426
|
+ " </ul>\n </div>\n";
|
|
14446
14427
|
},"14":function(container,depth0,helpers,partials,data) {
|
|
14447
14428
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14452,7 +14433,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14452
14433
|
};
|
|
14453
14434
|
|
|
14454
14435
|
return " <div class=\"bmlt-page "
|
|
14455
|
-
+ 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":
|
|
14436
|
+
+ 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}}}))
|
|
14456
14437
|
+ " show\" id=\"nav-days\">\n";
|
|
14457
14438
|
},"16":function(container,depth0,helpers,partials,data) {
|
|
14458
14439
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14463,7 +14444,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14463
14444
|
};
|
|
14464
14445
|
|
|
14465
14446
|
return " <div class=\"bmlt-page "
|
|
14466
|
-
+ 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":
|
|
14447
|
+
+ 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}}}))
|
|
14467
14448
|
+ " hide\" id=\"nav-days\">\n";
|
|
14468
14449
|
},"18":function(container,depth0,helpers,partials,data) {
|
|
14469
14450
|
var alias1=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14476,7 +14457,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14476
14457
|
return " <li><a href=\"#tab"
|
|
14477
14458
|
+ alias1(container.lambda(depth0, depth0))
|
|
14478
14459
|
+ "\" data-toggle=\"tab\">"
|
|
14479
|
-
+ 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":
|
|
14460
|
+
+ 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}}}))
|
|
14480
14461
|
+ "</a></li>\n";
|
|
14481
14462
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
14482
14463
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14488,9 +14469,9 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
14488
14469
|
|
|
14489
14470
|
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}}}))
|
|
14490
14471
|
+ "\n"
|
|
14491
|
-
+ ((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":
|
|
14472
|
+
+ ((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 : "")
|
|
14492
14473
|
+ "\n"
|
|
14493
|
-
+ ((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":
|
|
14474
|
+
+ ((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 : "");
|
|
14494
14475
|
},"useData":true,"useDepths":true});
|
|
14495
14476
|
this["hbs_Crouton"]["templates"]["main"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
14496
14477
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -16178,6 +16159,7 @@ function Crouton(config) {
|
|
|
16178
16159
|
self.mutex = false;
|
|
16179
16160
|
self.filtering = false;
|
|
16180
16161
|
self.masterFormatCodes = [];
|
|
16162
|
+
self.currentView = "weekday";
|
|
16181
16163
|
self.max_filters = 10; // TODO: needs to be refactored so that dropdowns are treated dynamically
|
|
16182
16164
|
self.config = {
|
|
16183
16165
|
on_complete: null, // Javascript function to callback when data querying is completed.
|
|
@@ -16474,20 +16456,28 @@ function Crouton(config) {
|
|
|
16474
16456
|
jQuery(id).removeClass("hide").addClass("show");
|
|
16475
16457
|
};
|
|
16476
16458
|
|
|
16477
|
-
self.showView = function (viewName,
|
|
16478
|
-
|
|
16479
|
-
|
|
16480
|
-
|
|
16481
|
-
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
self.
|
|
16485
|
-
|
|
16486
|
-
|
|
16487
|
-
|
|
16488
|
-
|
|
16459
|
+
self.showView = function (viewName, showingNow=0) {
|
|
16460
|
+
self.currentView = viewName;
|
|
16461
|
+
if (showingNow > 0) {
|
|
16462
|
+
self.showingNow = showingNow;
|
|
16463
|
+
} else showingNow = self.showingNow ? self.showingNow : self.meetingData.length; ;
|
|
16464
|
+
|
|
16465
|
+
if (viewName.endsWith('day')) {
|
|
16466
|
+
if (!self.config['has_tabs'] || (self.config['filter_tabs'] && self.config['filter_tabs'] >= showingNow)) {
|
|
16467
|
+
self.byDayView();
|
|
16468
|
+
|
|
16469
|
+
jQuery(".bmlt-data-rows").each(function (index, value) {
|
|
16470
|
+
if (jQuery(value).find(".bmlt-data-row.hide").length === jQuery(value).find(".bmlt-data-row").length) {
|
|
16471
|
+
jQuery(value).find(".meeting-header").addClass("hide");
|
|
16472
|
+
}
|
|
16473
|
+
});
|
|
16474
|
+
} else {
|
|
16475
|
+
self.dayView();
|
|
16476
|
+
}
|
|
16477
|
+
} else if (viewName=='map') {
|
|
16478
|
+
self.mapView();
|
|
16489
16479
|
} else {
|
|
16490
|
-
self.filteredView(viewName);
|
|
16480
|
+
self.filteredView(self.config.button_filters.find((bf) => bf.title.toLowerCase() === viewName).field);
|
|
16491
16481
|
}
|
|
16492
16482
|
};
|
|
16493
16483
|
|
|
@@ -16496,8 +16486,10 @@ function Crouton(config) {
|
|
|
16496
16486
|
self.highlightButton("#day");
|
|
16497
16487
|
jQuery('.bmlt-page').each(function (index) {
|
|
16498
16488
|
self.hidePage("#" + this.id);
|
|
16489
|
+
self.hidePage("#days");
|
|
16499
16490
|
self.showPage("#byday");
|
|
16500
|
-
self.
|
|
16491
|
+
self.hidePage("#nav-days");
|
|
16492
|
+
self.hidePage("#tabs-content");
|
|
16501
16493
|
return;
|
|
16502
16494
|
});
|
|
16503
16495
|
};
|
|
@@ -16521,9 +16513,32 @@ function Crouton(config) {
|
|
|
16521
16513
|
jQuery('.bmlt-page').each(function (index) {
|
|
16522
16514
|
self.hidePage("#" + this.id);
|
|
16523
16515
|
self.showPage("#byfield_" + field);
|
|
16516
|
+
jQuery("#byfield_" + field).find('.meeting-header').each(function(index) {
|
|
16517
|
+
// This is an awkward way of doing things, but I don't want to mess with
|
|
16518
|
+
// the generated HTML at this point.
|
|
16519
|
+
let flag = false;
|
|
16520
|
+
let item = jQuery(this);
|
|
16521
|
+
const main = item;
|
|
16522
|
+
while(item = item.next()) {
|
|
16523
|
+
if (item.length === 0) break;
|
|
16524
|
+
if (item.hasClass('meeting-header')) break;
|
|
16525
|
+
if (!item.hasClass('hide')) {
|
|
16526
|
+
flag = true;
|
|
16527
|
+
break;
|
|
16528
|
+
}
|
|
16529
|
+
}
|
|
16530
|
+
if (!flag) main.addClass('hide');
|
|
16531
|
+
})
|
|
16524
16532
|
return;
|
|
16525
16533
|
});
|
|
16526
16534
|
};
|
|
16535
|
+
self.mapView = function() {
|
|
16536
|
+
self.lowlightButton("#day");
|
|
16537
|
+
self.lowlightButton(".filterButton");
|
|
16538
|
+
self.highlightButton("#filterButton_embeddedMapPage");
|
|
16539
|
+
self.filteredView("embeddedMapPage", false);
|
|
16540
|
+
croutonMap.showMap(false,false);
|
|
16541
|
+
}
|
|
16527
16542
|
self.lowlightButton = function (id) {
|
|
16528
16543
|
jQuery(id).removeClass("buttonHighlight").addClass("buttonLowlight");
|
|
16529
16544
|
};
|
|
@@ -16555,9 +16570,6 @@ function Crouton(config) {
|
|
|
16555
16570
|
jQuery(".bmlt-data-row").not("[data-" + dataType + "~='" + dataValue + "']").addClass("hide");
|
|
16556
16571
|
}
|
|
16557
16572
|
});
|
|
16558
|
-
if (!filteringDropdown) {
|
|
16559
|
-
self.filtering = false;
|
|
16560
|
-
}
|
|
16561
16573
|
var showingNow = [];
|
|
16562
16574
|
jQuery(".bmlt-data-row").not(".hide").each(function (index, value) {
|
|
16563
16575
|
jQuery(value).addClass((index % 2) ? 'oddRow' : 'evenRow');
|
|
@@ -16568,41 +16580,11 @@ function Crouton(config) {
|
|
|
16568
16580
|
self.updateMeetingCount(showingNow);
|
|
16569
16581
|
self.updateFilters();
|
|
16570
16582
|
if (croutonMap) croutonMap.fillMap(showingNow);
|
|
16571
|
-
|
|
16572
|
-
if (!jQuery('#byfield_embeddedMapPage').hasClass('hide')) {
|
|
16573
|
-
jQuery('#displayTypeButton_tablePages').removeClass('hide');
|
|
16574
|
-
jQuery('#filterButton_embeddedMapPage').addClass('hide');
|
|
16575
|
-
}
|
|
16576
|
-
}
|
|
16577
|
-
|
|
16578
|
-
if (!self.config.map_page || jQuery('#byfield_embeddedMapPage').hasClass('hide')) {
|
|
16579
|
-
self.showFilteredMeetingsAsTable(showingNow.length);
|
|
16580
|
-
}
|
|
16581
|
-
self.filtering = true;
|
|
16583
|
+
self.showView(self.currentView, showingNow.length);
|
|
16582
16584
|
};
|
|
16583
|
-
self.showFilteredMeetingsAsTable = function (showingNow) {
|
|
16584
|
-
if (self.config['filter_tabs'] && self.config['filter_tabs'] <= showingNow) {
|
|
16585
|
-
self.showPage("#nav-days");
|
|
16586
|
-
self.showPage("#tabs-content");
|
|
16587
|
-
} else {
|
|
16588
|
-
self.lowlightButton(".filterButton");
|
|
16589
|
-
self.lowlightButton("#day");
|
|
16590
|
-
self.showPage("#byday");
|
|
16591
|
-
|
|
16592
|
-
jQuery(".bmlt-data-rows").each(function (index, value) {
|
|
16593
|
-
if (jQuery(value).find(".bmlt-data-row.hide").length === jQuery(value).find(".bmlt-data-row").length) {
|
|
16594
|
-
jQuery(value).find(".meeting-header").addClass("hide");
|
|
16595
|
-
}
|
|
16596
|
-
});
|
|
16597
|
-
}
|
|
16598
|
-
}
|
|
16599
16585
|
self.resetFilter = function () {
|
|
16600
16586
|
croutonMap.filterVisible(false);
|
|
16601
|
-
if (self.config.map_page)
|
|
16602
|
-
if (self.filtering) croutonMap.fillMap();
|
|
16603
|
-
jQuery('#displayTypeButton_tablePages').addClass('hide');
|
|
16604
|
-
jQuery('#filterButton_embeddedMapPage').removeClass('hide');
|
|
16605
|
-
} else if (self.config.show_map) croutonMap.fillMap();
|
|
16587
|
+
if ((self.config.map_page && self.filtering) || self.config.show_map) croutonMap.fillMap();
|
|
16606
16588
|
self.filtering = false;
|
|
16607
16589
|
self.updateFilters();
|
|
16608
16590
|
self.updateMeetingCount();
|
|
@@ -17072,13 +17054,10 @@ Crouton.prototype.setConfig = function(config) {
|
|
|
17072
17054
|
}
|
|
17073
17055
|
}
|
|
17074
17056
|
|
|
17075
|
-
if (self.config["view_by"]
|
|
17057
|
+
if (self.config["view_by"].endsWith('day')) {
|
|
17076
17058
|
self.config["include_weekday_button"] = true;
|
|
17077
17059
|
}
|
|
17078
|
-
|
|
17079
|
-
if (!self.config["has_tabs"]) {
|
|
17080
|
-
self.config["view_by"] = "byday";
|
|
17081
|
-
}
|
|
17060
|
+
self.currentView = self.config["view_by"];
|
|
17082
17061
|
|
|
17083
17062
|
if (self.config["template_path"] == null) {
|
|
17084
17063
|
self.config["template_path"] = "templates"
|
|
@@ -17248,6 +17227,11 @@ Crouton.prototype.searchMap = function() {
|
|
|
17248
17227
|
}
|
|
17249
17228
|
Crouton.prototype.render = function(doMeetingMap = false) {
|
|
17250
17229
|
var self = this;
|
|
17230
|
+
|
|
17231
|
+
if (!self.config.map_search) {
|
|
17232
|
+
self.config.button_filters = self.config.button_filters.filter((b) => !b.field.startsWith('distance'));
|
|
17233
|
+
if (self.config['view_by'] == 'distance') self.config['view_by'] = 'weekday';
|
|
17234
|
+
}
|
|
17251
17235
|
self.lock(function() {
|
|
17252
17236
|
var body = jQuery("body");
|
|
17253
17237
|
if (self.config['theme'] !== '') {
|
|
@@ -17494,35 +17478,20 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17494
17478
|
});
|
|
17495
17479
|
|
|
17496
17480
|
jQuery('.filter-dropdown').on('select2:select', function (e) {
|
|
17497
|
-
jQuery('.bmlt-page:not(#byfield_embeddedMapPage)').each(function () {
|
|
17498
|
-
self.hidePage(this);
|
|
17499
|
-
});
|
|
17500
17481
|
self.filteredPage();
|
|
17501
|
-
if (!self.filtering) self.showView(self.config['view_by'] === 'byday' ? 'byday' : 'day');
|
|
17502
17482
|
});
|
|
17503
17483
|
|
|
17504
17484
|
jQuery("#day").on('click', function () {
|
|
17505
|
-
self.showView(
|
|
17485
|
+
self.showView('day');
|
|
17506
17486
|
});
|
|
17507
17487
|
|
|
17508
17488
|
jQuery(".filterButtonLogic").on('click', function (e) {
|
|
17509
|
-
self.
|
|
17510
|
-
});
|
|
17511
|
-
jQuery(".displayTypeLogic").on('click', function (e) {
|
|
17512
|
-
jQuery(".displayTypeLogic").each(function() {
|
|
17513
|
-
if (e.target == this) jQuery(this).addClass("hide");
|
|
17514
|
-
else jQuery(this).removeClass("hide");
|
|
17515
|
-
})
|
|
17516
|
-
});
|
|
17517
|
-
jQuery('#displayTypeButton_tablePages').on('click', function (e) {
|
|
17518
|
-
self.hidePage('#byfield_embeddedMapPage');
|
|
17519
|
-
const knt = self.showingNowCount ? self.showingNowCount : self.meetingData.length;
|
|
17520
|
-
self.showFilteredMeetingsAsTable(knt);
|
|
17489
|
+
self.showView(e.target.attributes['data-field'].value.toLowerCase());
|
|
17521
17490
|
});
|
|
17522
17491
|
jQuery('#filterButton_embeddedMapPage').on('click', function (e) {
|
|
17523
|
-
self.
|
|
17524
|
-
croutonMap.showMap(false,false);
|
|
17492
|
+
self.showView('map')
|
|
17525
17493
|
});
|
|
17494
|
+
/****
|
|
17526
17495
|
jQuery('.custom-ul').on('click', 'a', function (event) {
|
|
17527
17496
|
jQuery('.bmlt-page').each(function (index) {
|
|
17528
17497
|
self.hidePage("#" + this.id);
|
|
@@ -17530,7 +17499,7 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17530
17499
|
return;
|
|
17531
17500
|
});
|
|
17532
17501
|
});
|
|
17533
|
-
|
|
17502
|
+
*/
|
|
17534
17503
|
if (self.config['has_tabs']) {
|
|
17535
17504
|
jQuery('.nav-tabs a').on('click', function (e) {
|
|
17536
17505
|
e.preventDefault();
|
|
@@ -17546,7 +17515,6 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17546
17515
|
|
|
17547
17516
|
self.showPage(".bmlt-header");
|
|
17548
17517
|
self.showPage(".bmlt-tabs");
|
|
17549
|
-
self.showView(self.config['view_by'], false);
|
|
17550
17518
|
|
|
17551
17519
|
if (self.config['default_filter_dropdown'] !== "") {
|
|
17552
17520
|
var filter = self.config['default_filter_dropdown'].toLowerCase().split("=");
|
|
@@ -17566,6 +17534,9 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17566
17534
|
if (self.config['refresh_map']) {
|
|
17567
17535
|
croutonMap.refreshMeetings(self.meetingData, true, true);
|
|
17568
17536
|
}
|
|
17537
|
+
if (self.config['view_by'] == 'map' && !self.config['map_page'])
|
|
17538
|
+
self.config['view_by'] = 'day';
|
|
17539
|
+
self.showView(self.config['view_by'], self.meetingData.length);
|
|
17569
17540
|
if (self.config['on_complete'] != null && isFunction(self.config['on_complete'])) {
|
|
17570
17541
|
self.config['on_complete']();
|
|
17571
17542
|
}
|
|
@@ -17573,13 +17544,12 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17573
17544
|
});
|
|
17574
17545
|
});
|
|
17575
17546
|
Crouton.prototype.forceShowMap = function() {
|
|
17576
|
-
if (
|
|
17577
|
-
|
|
17547
|
+
if (this.config.map_page && jQuery('#byfield_embeddedMapPage').hasClass('hide')) {
|
|
17548
|
+
this.mapView();
|
|
17578
17549
|
}
|
|
17579
17550
|
}
|
|
17580
17551
|
};
|
|
17581
17552
|
|
|
17582
|
-
|
|
17583
17553
|
function getTrueResult(options, ctx) {
|
|
17584
17554
|
return options.fn !== undefined ? options.fn(ctx) : true;
|
|
17585
17555
|
}
|
|
@@ -17857,7 +17827,7 @@ function getUniqueFormats(array){
|
|
|
17857
17827
|
return array.reduce(function(carry, val){
|
|
17858
17828
|
if (!(val.formats_expanded)) return carry;
|
|
17859
17829
|
return carry.concat(val.formats_expanded.filter((item) => carry.map(f => f.key).indexOf(item.key) < 0));
|
|
17860
|
-
},[]);
|
|
17830
|
+
},[]).sortByKey('name');
|
|
17861
17831
|
}
|
|
17862
17832
|
function getUniqueFormatsOfType(array, type){
|
|
17863
17833
|
return array.reduce(function(carry, val){
|
|
@@ -17867,7 +17837,7 @@ function getUniqueFormatsOfType(array, type){
|
|
|
17867
17837
|
carry = carry.concat(fmts.filter((item) => carry.map(f => f.key).indexOf(item.key) < 0));
|
|
17868
17838
|
}
|
|
17869
17839
|
return carry;
|
|
17870
|
-
},[]);
|
|
17840
|
+
},[]).sortByKey('name');
|
|
17871
17841
|
}
|
|
17872
17842
|
Crouton.prototype.renderMeetingCount = function() {
|
|
17873
17843
|
var self = this;
|
|
@@ -17881,8 +17851,6 @@ Crouton.prototype.simulateFilterDropdown = function() {
|
|
|
17881
17851
|
self.hidePage(this);
|
|
17882
17852
|
});
|
|
17883
17853
|
self.filteredPage();
|
|
17884
|
-
if (!self.filtering && !self.config.map_page)
|
|
17885
|
-
self.showView(self.config['view_by'] === 'byday' ? 'byday' : 'day', false);
|
|
17886
17854
|
}
|
|
17887
17855
|
Crouton.prototype.getAdjustedDateTime = function(meeting_day, meeting_time, meeting_time_zone) {
|
|
17888
17856
|
var timeZoneAware = this.config['auto_tz_adjust'] === true || this.config['auto_tz_adjust'] === "true";
|
|
@@ -18553,6 +18521,7 @@ function MeetingMap(inConfig) {
|
|
|
18553
18521
|
return false;
|
|
18554
18522
|
}
|
|
18555
18523
|
function drawMarkers(expand = false) {
|
|
18524
|
+
if (!gDelegate.hasClickSearch()) return;
|
|
18556
18525
|
gDelegate.clearAllMarkers();
|
|
18557
18526
|
gDelegate.removeClusterLayer();
|
|
18558
18527
|
// This calculates which markers are the red "multi" markers.
|