@bmlt-enabled/croutonjs 4.3.3 → 4.3.4
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-gmaps.js +8 -8
- package/crouton-gmaps.min.js +3 -3
- package/crouton-gmaps.min.js.map +1 -1
- package/crouton.js +8 -8
- package/crouton.min.js +3 -3
- package/crouton.min.js.map +1 -1
- package/crouton.nojquery.js +8 -8
- package/crouton.nojquery.min.js +3 -3
- package/crouton.nojquery.min.js.map +1 -1
- package/package.json +1 -1
package/crouton.js
CHANGED
|
@@ -12982,7 +12982,7 @@ function CroutonHandlebarsExtensions() {
|
|
|
12982
12982
|
crouton_Handlebars.registerPartial('header', hbs_Crouton.templates['header']);
|
|
12983
12983
|
crouton_Handlebars.registerPartial('byfields', hbs_Crouton.templates['byfield']);
|
|
12984
12984
|
crouton_Handlebars.registerPartial('formatPopup', hbs_Crouton.templates['formatPopup']);
|
|
12985
|
-
crouton_Handlebars.registerPartial('meetingModal', "<a tabindex='0'
|
|
12985
|
+
crouton_Handlebars.registerPartial('meetingModal', "<a tabindex='0' onclick='crouton.meetingModal({{this.id_bigint}})'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>");
|
|
12986
12986
|
crouton_Handlebars.registerPartial('meetingLink', `
|
|
12987
12987
|
{{#if this.meeting_details_url}}
|
|
12988
12988
|
<a href='{{{this.meeting_details_url}}}'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>
|
|
@@ -13388,7 +13388,7 @@ this["hbs_Crouton"]["templates"]["group3ColumnRow"] = Handlebars.template({"0":f
|
|
|
13388
13388
|
|
|
13389
13389
|
return "<td class=\"bmlt-column1\" "
|
|
13390
13390
|
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":54}}})) != null ? stack1 : "")
|
|
13391
|
-
+ ">\n <div class='meeting-name'>\n <a tabindex='0'
|
|
13391
|
+
+ ">\n <div class='meeting-name'>\n <a tabindex='0' onclick='crouton.meetingModal("
|
|
13392
13392
|
+ alias4(alias3((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
13393
13393
|
+ ")'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>"
|
|
13394
13394
|
+ alias4(alias3((depth0 != null ? lookupProperty(depth0,"meeting_name") : depth0), depth0))
|
|
@@ -13622,10 +13622,10 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"0":function(c
|
|
|
13622
13622
|
return undefined
|
|
13623
13623
|
};
|
|
13624
13624
|
|
|
13625
|
-
return " <li><a href=\"
|
|
13625
|
+
return " <li><a href=\"./#tab"
|
|
13626
13626
|
+ alias1(container.lambda(depth0, depth0))
|
|
13627
13627
|
+ "\" data-toggle=\"tab\">"
|
|
13628
|
-
+ 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":38,"column":
|
|
13628
|
+
+ 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":38,"column":63},"end":{"line":38,"column":87}}}))
|
|
13629
13629
|
+ "</a></li>\n";
|
|
13630
13630
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
13631
13631
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14092,7 +14092,7 @@ this["hbs_Crouton"]["templates"]["meetingDetailsButton"] = Handlebars.template({
|
|
|
14092
14092
|
|
|
14093
14093
|
return " <div>\n <a onclick='crouton.meetingModal("
|
|
14094
14094
|
+ alias1(container.lambda((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
14095
|
-
+ ")' tabindex='0'
|
|
14095
|
+
+ ")' tabindex='0' class='map-button btn btn-primary btn-xs'>\n <span class='glyphicon glyphicon-search' aria-hidden='true'></span>\n "
|
|
14096
14096
|
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"meeting details",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":4,"column":5},"end":{"line":4,"column":34}}}))
|
|
14097
14097
|
+ "\n </a>\n </div>\n";
|
|
14098
14098
|
},"useData":true});
|
|
@@ -15468,7 +15468,7 @@ function Crouton(config) {
|
|
|
15468
15468
|
self.distanceTabAllowed = false;
|
|
15469
15469
|
self.favoritesOn = false;
|
|
15470
15470
|
self.config = {
|
|
15471
|
-
version: '4.3.
|
|
15471
|
+
version: '4.3.4', // CroutonJS version for debugging
|
|
15472
15472
|
on_complete: null, // Javascript function to callback when data querying is completed.
|
|
15473
15473
|
root_server: null, // The root server to use.
|
|
15474
15474
|
placeholder_id: "bmlt-tabs", // The DOM id that will be used for rendering
|
|
@@ -15726,7 +15726,7 @@ function Crouton(config) {
|
|
|
15726
15726
|
self.dayTabFromId = function(id) {
|
|
15727
15727
|
const day_id = self.meetingData.find((m)=>m.id_bigint == id).weekday_tinyint;
|
|
15728
15728
|
self.hideAllPages();
|
|
15729
|
-
jQuery('.nav-tabs a[href="
|
|
15729
|
+
jQuery('.nav-tabs a[href="./#tab' + day_id + '"]').tab('show');
|
|
15730
15730
|
jQuery("#" + day_id).removeClass("hide").addClass("show");
|
|
15731
15731
|
};
|
|
15732
15732
|
/**
|
|
@@ -17059,7 +17059,7 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17059
17059
|
const d = new Date();
|
|
17060
17060
|
let n = d.getDay();
|
|
17061
17061
|
n++;
|
|
17062
|
-
jQuery('.nav-tabs a[href="
|
|
17062
|
+
jQuery('.nav-tabs a[href="./#tab' + n + '"]').tab('show');
|
|
17063
17063
|
jQuery('#tab' + n).show();
|
|
17064
17064
|
}
|
|
17065
17065
|
|