angular8-yandex-maps
Advanced tools
Comparing version 16.0.2 to 16.1.0
import { ModuleWithProviders } from '@angular/core'; | ||
import { Observable } from 'rxjs'; | ||
import { YaConfig } from './interfaces/ya-config'; | ||
@@ -18,3 +19,3 @@ import * as i0 from "@angular/core"; | ||
*/ | ||
static forRoot(config: YaConfig): ModuleWithProviders<AngularYandexMapsModule>; | ||
static forRoot(config: YaConfig | Observable<YaConfig>): ModuleWithProviders<AngularYandexMapsModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<AngularYandexMapsModule, never>; | ||
@@ -21,0 +22,0 @@ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularYandexMapsModule, [typeof i1.YaClustererComponent, typeof i2.YaControlDirective, typeof i3.YaGeoObjectDirective, typeof i4.YaMapComponent, typeof i5.YaMultirouteDirective, typeof i6.YaObjectManagerDirective, typeof i7.YaPanoramaDirective, typeof i8.YaPlacemarkDirective], never, [typeof i1.YaClustererComponent, typeof i2.YaControlDirective, typeof i3.YaGeoObjectDirective, typeof i4.YaMapComponent, typeof i5.YaMultirouteDirective, typeof i6.YaObjectManagerDirective, typeof i7.YaPanoramaDirective, typeof i8.YaPlacemarkDirective]>; |
@@ -7,2 +7,6 @@ import { Observable } from 'rxjs'; | ||
* | ||
* The service supports dynamic configuration changes by subscribing on a YaConfig observable. | ||
* It stores global API objects in a local cache, and updates them in runtime if necessary. | ||
* That's why do not provide this service, it will break the synchronizations between the local cache and HTML scripts. | ||
* | ||
* @example | ||
@@ -25,5 +29,6 @@ * ```ts | ||
private readonly isBrowser; | ||
private readonly config; | ||
private script?; | ||
constructor(config: YaConfig | null, document: Document, platformId: object); | ||
private readonly defaultConfig; | ||
private readonly config$; | ||
private readonly cache; | ||
constructor(config: YaConfig | Observable<YaConfig>, document: Document, platformId: object); | ||
/** | ||
@@ -50,4 +55,4 @@ * Loads Yandex.Maps API. | ||
private convertConfigIntoQueryParams; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<YaApiLoaderService, [{ optional: true; }, null, null]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<YaApiLoaderService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<YaApiLoaderService>; | ||
} |
{ | ||
"name": "angular8-yandex-maps", | ||
"version": "16.0.2", | ||
"version": "16.1.0", | ||
"description": "Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -0,0 +0,0 @@ <h1 align="center">Angular8-yandex-maps</h1> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1213602
45
10034