@bmlt-enabled/croutonjs 3.18.6 → 3.18.8

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.js CHANGED
@@ -14794,7 +14794,8 @@ var croutonDefaultTemplates = {
14794
14794
 
14795
14795
  observer_template: [
14796
14796
  "<div class='observerLine'>{{this.contact_name_1}} {{this.contact_phone_1}} {{this.contact_email_1}}</div>",
14797
- "<div class='observerLine'>{{this.contact_name_2}} {{this.contact_phone_2}} {{this.contact_email_2}}</div>"
14797
+ "<div class='observerLine'>{{this.contact_name_2}} {{this.contact_phone_2}} {{this.contact_email_2}}</div>",
14798
+ "{{#if this.wheelchair}}<div aria-hidden='true' style='font-style:normal; font-size:x-large;'>&#x267F;</div>{{/if}}"
14798
14799
  ].join('\n'),
14799
14800
 
14800
14801
  meeting_count_template: [
@@ -16682,9 +16683,11 @@ function Crouton(config) {
16682
16683
  var formats = meetingData[m]['formats'].split(",");
16683
16684
  var formats_expanded = [];
16684
16685
  let formatRootServer = self.formatsData.filter((f)=>f['root_server_uri'] == meetingData[m]['root_server_uri']);
16686
+ meetingData[m]['wheelchar'] = false;
16685
16687
  for (var f = 0; f < formats.length; f++) {
16686
16688
  for (var g = 0; g < formatRootServer.length; g++) {
16687
16689
  if (formats[f] === formatRootServer[g]['key_string']) {
16690
+ if (formatRootServer[g]['world_id'] == 'WCHR') meetingData[m]['wheelchair'] = true;
16688
16691
  formats_expanded.push(
16689
16692
  {
16690
16693
  "id": formatRootServer[g]['id'],
@@ -17561,6 +17564,12 @@ function getUniqueFormatsOfType(array, type){
17561
17564
  return carry;
17562
17565
  },[]);
17563
17566
  }
17567
+ Crouton.prototype.renderMeetingCount = function() {
17568
+ self = this;
17569
+ self.lock(function() {
17570
+ self.updateMeetingCount()
17571
+ });
17572
+ }
17564
17573
  Crouton.prototype.getAdjustedDateTime = function(meeting_day, meeting_time, meeting_time_zone) {
17565
17574
  var timeZoneAware = this.config['auto_tz_adjust'] === true || this.config['auto_tz_adjust'] === "true";
17566
17575
  var meeting_date_time_obj;