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