@bmlt-enabled/croutonjs 3.18.4 → 3.18.6
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 +48 -32
- package/crouton-core.min.js +1 -1
- package/crouton-gmaps.js +50 -32
- package/crouton-gmaps.min.js +1 -1
- package/crouton-map.js +4 -2
- package/crouton-map.min.js +1 -1
- package/crouton-nocore.js +30 -30
- package/crouton-nocore.min.js +1 -1
- package/crouton.js +52 -34
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +52 -34
- package/crouton.nojquery.min.js +1 -1
- package/package.json +1 -1
package/crouton-core.js
CHANGED
|
@@ -13321,7 +13321,7 @@ function CroutonLocalization(language) {
|
|
|
13321
13321
|
'toggle fullscreen mode': 'Umschalten Vollbildmodus',
|
|
13322
13322
|
'close': "Schliessen",
|
|
13323
13323
|
'meeting page': "Meeting Seite",
|
|
13324
|
-
'meeting details': "Genaueres
|
|
13324
|
+
'meeting details': "Genaueres zum Meeting"
|
|
13325
13325
|
},
|
|
13326
13326
|
"en-AU": {
|
|
13327
13327
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13699,7 +13699,7 @@ function CroutonLocalization(language) {
|
|
|
13699
13699
|
"city" : "Ville",
|
|
13700
13700
|
"cities" : "Villes",
|
|
13701
13701
|
"groups" : "Groupes",
|
|
13702
|
-
"areas" : "
|
|
13702
|
+
"areas" : "ASL",
|
|
13703
13703
|
"regions": "Regions",
|
|
13704
13704
|
"locations" : "Emplacements",
|
|
13705
13705
|
"counties" : "Régions",
|
|
@@ -13707,18 +13707,18 @@ function CroutonLocalization(language) {
|
|
|
13707
13707
|
"postal_codes" : "Codes postaux",
|
|
13708
13708
|
"formats" : "Formats",
|
|
13709
13709
|
"map" : "Carte",
|
|
13710
|
-
"neighborhood": "
|
|
13711
|
-
"near_me": "
|
|
13712
|
-
"text_search": "
|
|
13713
|
-
"click_search": "
|
|
13714
|
-
"pan_and_zoom": "
|
|
13715
|
-
"languages": "
|
|
13716
|
-
"common_needs": "
|
|
13717
|
-
"meeting_count": "
|
|
13718
|
-
"venue_types": "
|
|
13710
|
+
"neighborhood": "Quartier",
|
|
13711
|
+
"near_me": "À côté de moi",
|
|
13712
|
+
"text_search": "Recherche textuelle",
|
|
13713
|
+
"click_search": "Recherche au clic",
|
|
13714
|
+
"pan_and_zoom": "Panoramique + Zoom",
|
|
13715
|
+
"languages": "Langages",
|
|
13716
|
+
"common_needs": "Besoins",
|
|
13717
|
+
"meeting_count": "Nombre de réunions par semaine",
|
|
13718
|
+
"venue_types": "Types de lieux",
|
|
13719
13719
|
"venue_type_choices": {
|
|
13720
|
-
IN_PERSON: "
|
|
13721
|
-
VIRTUAL: "
|
|
13720
|
+
IN_PERSON: "Physique",
|
|
13721
|
+
VIRTUAL: "Virtuel",
|
|
13722
13722
|
},
|
|
13723
13723
|
"service_body_types": {
|
|
13724
13724
|
AS: "Area Service Committee",
|
|
@@ -13728,23 +13728,23 @@ function CroutonLocalization(language) {
|
|
|
13728
13728
|
LS: "Local Service Forum",
|
|
13729
13729
|
GS: "Group Support Forum"
|
|
13730
13730
|
},
|
|
13731
|
-
"share": "
|
|
13732
|
-
|
|
13733
|
-
|
|
13734
|
-
"no_meetings_for_this_day": "
|
|
13735
|
-
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13731
|
+
"share": "Partager",
|
|
13732
|
+
"tabular": "Liste",
|
|
13733
|
+
"google_directions": "Itinéraire sur Google Maps",
|
|
13734
|
+
"no_meetings_for_this_day": "Pas de réunion aujourd'hui.",
|
|
13735
|
+
"css-textalign": "css-textalign",
|
|
13736
|
+
"css-floatdirection": "css-floatdirection",
|
|
13737
|
+
"all": "Tout",
|
|
13738
|
+
"menu": "Menu",
|
|
13739
|
+
"search for meetings": "Rechercher des réunions",
|
|
13740
|
+
"show meetings near...": "Afficher les réunions près de...",
|
|
13741
|
+
"filter meetings": "Filtrer les réunions",
|
|
13742
|
+
"visible meeting list": "Liste des réunions visibles",
|
|
13743
|
+
"enter a city or zip code": "Entrer une ville ou un code postal",
|
|
13744
|
+
"toggle fullscreen mode": "Basculer en mode plein écran",
|
|
13745
|
+
"close": "Fermer",
|
|
13746
|
+
"meeting page": "Page de la réunion",
|
|
13747
|
+
"meeting details": "Détails de la réunion"
|
|
13748
13748
|
},
|
|
13749
13749
|
"it-IT": {
|
|
13750
13750
|
"days_of_the_week" : ["", "Domenica", " Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"],
|
|
@@ -16415,6 +16415,10 @@ function Crouton(config) {
|
|
|
16415
16415
|
self.updateMeetingCount = function(showingNow=null) {
|
|
16416
16416
|
self = this;
|
|
16417
16417
|
let meetingCount = self.meetingData.length;
|
|
16418
|
+
if (self.meetingCountCallback) self.meetingCountCallback(meetingCount);
|
|
16419
|
+
if (self.groupCountCallback) self.groupCountCallback(
|
|
16420
|
+
arrayUnique(self.meetingData.map((m)=>m['worldid_mixed'] !== "" ? m['worldid_mixed'] :m['meeting_name'])).length
|
|
16421
|
+
);
|
|
16418
16422
|
addLive = function(id) {return id+", "+id+"-live"};
|
|
16419
16423
|
if (showingNow !== null) {
|
|
16420
16424
|
meetingCount = showingNow.length;
|
|
@@ -16560,6 +16564,14 @@ function Crouton(config) {
|
|
|
16560
16564
|
croutonMap.loadPopupMap("bmlt-handlebars-map", meetingDetailsData, self.handlebarMapOptions);
|
|
16561
16565
|
}
|
|
16562
16566
|
}
|
|
16567
|
+
self.meetingCountCallback = null;
|
|
16568
|
+
self.grouoCountCallback = null;
|
|
16569
|
+
Crouton.prototype.meetingCount = function(f) {
|
|
16570
|
+
self.meetingCountCallback = f;
|
|
16571
|
+
}
|
|
16572
|
+
Crouton.prototype.groupCount = function(f) {
|
|
16573
|
+
self.groupCountCallback = f;
|
|
16574
|
+
}
|
|
16563
16575
|
Crouton.prototype.filterNext24 = function(filterNow = true) {
|
|
16564
16576
|
if (!filterNow) {
|
|
16565
16577
|
jQuery("#filter-dropdown-next24").val('a-');
|
|
@@ -16636,6 +16648,10 @@ function Crouton(config) {
|
|
|
16636
16648
|
crouton_Handlebars.registerPartial("meetingLink", self.config['meeting_link_template']);
|
|
16637
16649
|
crouton_Handlebars.registerPartial("meetingModal", self.config['meeting_modal_template']);
|
|
16638
16650
|
|
|
16651
|
+
let queryStringChar = '?';
|
|
16652
|
+
if (self.config.meeting_details_href) {
|
|
16653
|
+
if (self.config.meeting_details_href.indexOf('?') >= 0) queryStringChar = '&';
|
|
16654
|
+
}
|
|
16639
16655
|
for (var m = 0; m < meetingData.length; m++) {
|
|
16640
16656
|
meetingData[m]['formatted_comments'] = meetingData[m]['comments'];
|
|
16641
16657
|
var duration = meetingData[m]['duration_time'].split(":");
|
|
@@ -16730,7 +16746,7 @@ function Crouton(config) {
|
|
|
16730
16746
|
if (meetingData[m]['venue_type'] === 2 && self.config.virtual_meeting_details_href ) {
|
|
16731
16747
|
meetingData[m]['meeting_details_url'] = self.config.virtual_meeting_details_href;
|
|
16732
16748
|
}
|
|
16733
|
-
meetingData[m]['meeting_details_url'] += ('
|
|
16749
|
+
meetingData[m]['meeting_details_url'] += queryStringChar + ('meeting-id=' + meetingData[m]['id_bigint']
|
|
16734
16750
|
+ '&language=' + self.config.language
|
|
16735
16751
|
+ '&time_format=' + encodeURIComponent(self.config.time_format)
|
|
16736
16752
|
+ (self.config.force_rootserver_in_querystring ? '&root_server=' + encodeURIComponent(self.config.root_server) : '')
|
|
@@ -16772,7 +16788,7 @@ function Crouton(config) {
|
|
|
16772
16788
|
}
|
|
16773
16789
|
return 'bmlt-map';
|
|
16774
16790
|
}
|
|
16775
|
-
if (
|
|
16791
|
+
if (typeof window.croutonMap === 'undefined') {
|
|
16776
16792
|
window.croutonMap = new MeetingMap(self.config);
|
|
16777
16793
|
if (self.config['map_search']) self.searchMap();
|
|
16778
16794
|
}
|