@bizdoc/core 3.12.1 → 3.13.0

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.
@@ -10,7 +10,7 @@ import { MatInput, MatInputModule } from '@angular/material/input';
10
10
  import { HubConnectionState, HubConnectionBuilder } from '@microsoft/signalr';
11
11
  import { trigger, transition, style, animate, state, query, stagger, animateChild, keyframes } from '@angular/animations';
12
12
  import dayjs from 'dayjs';
13
- import { Loader } from '@googlemaps/js-api-loader';
13
+ import { setOptions, importLibrary } from '@googlemaps/js-api-loader';
14
14
  import * as firebase from 'firebase/app';
15
15
  import { getMessaging, deleteToken, getToken } from 'firebase/messaging';
16
16
  import * as i1 from '@angular/common/http';
@@ -1427,14 +1427,14 @@ class SessionService {
1427
1427
  });
1428
1428
  }
1429
1429
  _loadGoogleMaps() {
1430
- const apiKey = this._config.maps.apiKey;
1431
- const loader = new Loader({
1432
- apiKey,
1430
+ const key = this._config.maps.apiKey;
1431
+ setOptions({
1432
+ key,
1433
1433
  libraries: ['places'],
1434
1434
  language: this.language,
1435
- version: 'weekly',
1435
+ v: 'weekly',
1436
1436
  });
1437
- const maps = loader.importLibrary('maps');
1437
+ const maps = importLibrary('maps');
1438
1438
  return maps;
1439
1439
  }
1440
1440
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: SessionService, deps: [{ token: BIZDOC_CONFIG }, { token: i1.HttpClient }, { token: i2.CookieService }, { token: HubService }, { token: i7.MatIconRegistry }, { token: i2$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Injectable }); }
@@ -31773,10 +31773,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImpor
31773
31773
  }] });
31774
31774
  registerComponents(CORE_COMPONENTS);
31775
31775
  registerComponents(CONTROLS_COMPONENTS$1);
31776
- /* Syncfusion 30.x */
31777
- //registerLicense('Ngo9BigBOggjHTQxAR8/V1JEaF5cXmRCf1FpRmJGdld5fUVHYVZUTXxaS00DNHVRdkdmWXhecXRdRmdYWUVyW0FWYEk=');
31778
31776
  /* Syncfusion 31.x */
31779
- registerLicense('Ngo9BigBOggjHTQxAR8/V1JFaF5cXGRCf1FpRmJGdld5fUVHYVZUTXxaS00DNHVRdkdmWXZed3RSRmNZUkx/WENWYEg=');
31777
+ registerLicense('Ngo9BigBOggjHTQxAR8/V1JFaF5cXGRCf1FpRmJGdld5fUVHYVZUTXxaS00DNHVRdkdmWH9ceXVXQ2RfWEF0WUdWYEg=');
31780
31778
  function materialFormatsProvider(formats) {
31781
31779
  const { date, time } = formats || {};
31782
31780
  return {