@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.nojquery.js
CHANGED
|
@@ -12979,7 +12979,7 @@ function CroutonHandlebarsExtensions() {
|
|
|
12979
12979
|
crouton_Handlebars.registerPartial('header', hbs_Crouton.templates['header']);
|
|
12980
12980
|
crouton_Handlebars.registerPartial('byfields', hbs_Crouton.templates['byfield']);
|
|
12981
12981
|
crouton_Handlebars.registerPartial('formatPopup', hbs_Crouton.templates['formatPopup']);
|
|
12982
|
-
crouton_Handlebars.registerPartial('meetingModal', "<a tabindex='0'
|
|
12982
|
+
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>");
|
|
12983
12983
|
crouton_Handlebars.registerPartial('meetingLink', `
|
|
12984
12984
|
{{#if this.meeting_details_url}}
|
|
12985
12985
|
<a href='{{{this.meeting_details_url}}}'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>
|
|
@@ -13385,7 +13385,7 @@ this["hbs_Crouton"]["templates"]["group3ColumnRow"] = Handlebars.template({"0":f
|
|
|
13385
13385
|
|
|
13386
13386
|
return "<td class=\"bmlt-column1\" "
|
|
13387
13387
|
+ ((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 : "")
|
|
13388
|
-
+ ">\n <div class='meeting-name'>\n <a tabindex='0'
|
|
13388
|
+
+ ">\n <div class='meeting-name'>\n <a tabindex='0' onclick='crouton.meetingModal("
|
|
13389
13389
|
+ alias4(alias3((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
13390
13390
|
+ ")'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>"
|
|
13391
13391
|
+ alias4(alias3((depth0 != null ? lookupProperty(depth0,"meeting_name") : depth0), depth0))
|
|
@@ -13619,10 +13619,10 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"0":function(c
|
|
|
13619
13619
|
return undefined
|
|
13620
13620
|
};
|
|
13621
13621
|
|
|
13622
|
-
return " <li><a href=\"
|
|
13622
|
+
return " <li><a href=\"./#tab"
|
|
13623
13623
|
+ alias1(container.lambda(depth0, depth0))
|
|
13624
13624
|
+ "\" data-toggle=\"tab\">"
|
|
13625
|
-
+ 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":
|
|
13625
|
+
+ 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}}}))
|
|
13626
13626
|
+ "</a></li>\n";
|
|
13627
13627
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
|
|
13628
13628
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14089,7 +14089,7 @@ this["hbs_Crouton"]["templates"]["meetingDetailsButton"] = Handlebars.template({
|
|
|
14089
14089
|
|
|
14090
14090
|
return " <div>\n <a onclick='crouton.meetingModal("
|
|
14091
14091
|
+ alias1(container.lambda((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
14092
|
-
+ ")' tabindex='0'
|
|
14092
|
+
+ ")' tabindex='0' class='map-button btn btn-primary btn-xs'>\n <span class='glyphicon glyphicon-search' aria-hidden='true'></span>\n "
|
|
14093
14093
|
+ 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}}}))
|
|
14094
14094
|
+ "\n </a>\n </div>\n";
|
|
14095
14095
|
},"useData":true});
|
|
@@ -15465,7 +15465,7 @@ function Crouton(config) {
|
|
|
15465
15465
|
self.distanceTabAllowed = false;
|
|
15466
15466
|
self.favoritesOn = false;
|
|
15467
15467
|
self.config = {
|
|
15468
|
-
version: '4.3.
|
|
15468
|
+
version: '4.3.4', // CroutonJS version for debugging
|
|
15469
15469
|
on_complete: null, // Javascript function to callback when data querying is completed.
|
|
15470
15470
|
root_server: null, // The root server to use.
|
|
15471
15471
|
placeholder_id: "bmlt-tabs", // The DOM id that will be used for rendering
|
|
@@ -15723,7 +15723,7 @@ function Crouton(config) {
|
|
|
15723
15723
|
self.dayTabFromId = function(id) {
|
|
15724
15724
|
const day_id = self.meetingData.find((m)=>m.id_bigint == id).weekday_tinyint;
|
|
15725
15725
|
self.hideAllPages();
|
|
15726
|
-
jQuery('.nav-tabs a[href="
|
|
15726
|
+
jQuery('.nav-tabs a[href="./#tab' + day_id + '"]').tab('show');
|
|
15727
15727
|
jQuery("#" + day_id).removeClass("hide").addClass("show");
|
|
15728
15728
|
};
|
|
15729
15729
|
/**
|
|
@@ -17056,7 +17056,7 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17056
17056
|
const d = new Date();
|
|
17057
17057
|
let n = d.getDay();
|
|
17058
17058
|
n++;
|
|
17059
|
-
jQuery('.nav-tabs a[href="
|
|
17059
|
+
jQuery('.nav-tabs a[href="./#tab' + n + '"]').tab('show');
|
|
17060
17060
|
jQuery('#tab' + n).show();
|
|
17061
17061
|
}
|
|
17062
17062
|
|