Socket
Socket
Sign inDemoInstall

angular8-yandex-maps

Package Overview
Dependencies
5
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 15.0.0 to 16.0.0

esm2022/angular8-yandex-maps.mjs

21

index.d.ts

@@ -1,5 +0,16 @@

/**
* Generated bundle index. Do not edit.
*/
/// <amd-module name="angular8-yandex-maps" />
export * from './public-api';
import './lib/typings/yandex-maps';
export * from './lib/angular-yandex-maps.module';
export * from './lib/components/ya-clusterer/ya-clusterer.component';
export * from './lib/components/ya-control/ya-control.directive';
export * from './lib/components/ya-geoobject/ya-geoobject.directive';
export * from './lib/components/ya-map/ya-map.component';
export * from './lib/components/ya-multiroute/ya-multiroute.directive';
export * from './lib/components/ya-object-manager/ya-object-manager.directive';
export * from './lib/components/ya-panorama/ya-panorama.directive';
export * from './lib/components/ya-placemark/ya-placemark.directive';
export * from './lib/services/ya-api-loader/ya-api-loader.service';
export * from './lib/services/ya-geocoder/ya-geocoder.service';
export * from './lib/interfaces/ya-config';
export * from './lib/interfaces/ya-event';
export * from './lib/interfaces/ya-ready-event';
export * from './lib/tokens/ya-config';
import { ModuleWithProviders } from '@angular/core';
import { YaConfig } from './models/ya-config';
import { YaConfig } from './interfaces/ya-config';
import * as i0 from "@angular/core";

@@ -14,4 +14,5 @@ import * as i1 from "./components/ya-clusterer/ya-clusterer.component";

/**
* Please use this method when you register the module at the root level
* @param config
* Please use this method when registering the module at the root level.
* If used in a lazy-loaded module, YaApiLoaderService will not take the provided configuration.
* @param config configuration for YaApiLoaderService
*/

@@ -18,0 +19,0 @@ static forRoot(config: YaConfig): ModuleWithProviders<AngularYandexMapsModule>;

import { AfterContentInit, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { Observable } from 'rxjs';
import { YaEvent } from '../../models/ya-event';
import { YaReadyEvent } from '../../models/ya-ready-event';
import { YaEvent } from '../../interfaces/ya-event';
import { YaReadyEvent } from '../../interfaces/ya-ready-event';
import { YaMapComponent } from '../ya-map/ya-map.component';

@@ -45,5 +45,5 @@ import * as i0 from "@angular/core";

*/
options: ymaps.IClustererOptions;
options?: ymaps.IClustererOptions;
/**
* Clusterer instance is added to a Map.
* Clusterer instance is added to a Map. This event runs outside an Angular zone.
*/

@@ -88,3 +88,4 @@ ready: EventEmitter<YaReadyEvent<ymaps.Clusterer>>;

private createClusterer;
private watchForContentChanges;
private watchForPlacemarkChanges;
private watchForGeoObjectChanges;
/**

@@ -100,3 +101,3 @@ * Determines what should be added/removed in current set to equal new set

static ɵfac: i0.ɵɵFactoryDeclaration<YaClustererComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<YaClustererComponent, "ya-clusterer", never, { "options": "options"; }, { "ready": "ready"; "hintclose": "hintclose"; "hintopen": "hintopen"; "mapchange": "mapchange"; "optionschange": "optionschange"; "parentchange": "parentchange"; }, ["placemarks", "geoObjects"], ["*"], false, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<YaClustererComponent, "ya-clusterer", never, { "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "hintclose": "hintclose"; "hintopen": "hintopen"; "mapchange": "mapchange"; "optionschange": "optionschange"; "parentchange": "parentchange"; }, ["placemarks", "geoObjects"], ["*"], false, never>;
}

@@ -1,9 +0,9 @@

import { EventEmitter, NgZone, OnChanges, OnDestroy, OnInit } from '@angular/core';
import { YaReadyEvent } from '../../models/ya-ready-event';
import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
import { YaReadyEvent } from '../../interfaces/ya-ready-event';
import { YaMapComponent } from '../ya-map/ya-map.component';
import * as i0 from "@angular/core";
/**
* Control types.
* Types for `YaControlDirective[type]` input.
*/
export declare type YaControlType = 'Button' | 'FullscreenControl' | 'GeolocationControl' | 'ListBox' | 'ListBoxItem' | 'RouteButton' | 'RouteEditor' | 'RoutePanel' | 'RulerControl' | 'SearchControl' | 'TrafficControl' | 'TypeSelector' | 'ZoomControl';
export type YaControlType = 'Button' | 'FullscreenControl' | 'GeolocationControl' | 'ListBox' | 'ListBoxItem' | 'RouteButton' | 'RouteEditor' | 'RoutePanel' | 'RulerControl' | 'SearchControl' | 'TrafficControl' | 'TypeSelector' | 'ZoomControl';
/**

@@ -27,3 +27,2 @@ * The `ya-control` component wraps `ymaps.control[YaControlType]` classes from the Yandex.Maps API.

export declare class YaControlDirective implements OnInit, OnChanges, OnDestroy {
private readonly ngZone;
private readonly yaMapComponent;

@@ -35,12 +34,12 @@ private readonly destroy$;

*/
type: YaControlType;
type?: YaControlType;
/**
* Control parameters.
*/
parameters: any;
parameters?: any;
/**
* Control instance is added to a Map.
* Control instance is added to a Map. This event runs outside an Angular zone.
*/
ready: EventEmitter<YaReadyEvent<any>>;
constructor(ngZone: NgZone, yaMapComponent: YaMapComponent);
constructor(yaMapComponent: YaMapComponent);
ngOnChanges(): void;

@@ -50,3 +49,3 @@ ngOnInit(): void;

static ɵfac: i0.ɵɵFactoryDeclaration<YaControlDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaControlDirective, "ya-control", never, { "type": "type"; "parameters": "parameters"; }, { "ready": "ready"; }, never, never, false, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaControlDirective, "ya-control", never, { "type": { "alias": "type"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; }, { "ready": "ready"; }, never, never, false, never>;
}
import { EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { Observable } from 'rxjs';
import { YaEvent } from '../../models/ya-event';
import { YaReadyEvent } from '../../models/ya-ready-event';
import { YaEvent } from '../../interfaces/ya-event';
import { YaReadyEvent } from '../../interfaces/ya-ready-event';
import { YaMapComponent } from '../ya-map/ya-map.component';

@@ -33,3 +33,3 @@ import * as i0 from "@angular/core";

*/
feature: ymaps.IGeoObjectFeature;
feature?: ymaps.IGeoObjectFeature;
/**

@@ -39,5 +39,5 @@ * Geo object options.

*/
options: ymaps.IGeoObjectOptions;
options?: ymaps.IGeoObjectOptions;
/**
* Geo object instance is added to a Map.
* Geo object instance is added to a Map. This event runs outside an Angular zone.
*/

@@ -204,3 +204,3 @@ ready: EventEmitter<YaReadyEvent<ymaps.GeoObject>>;

static ɵfac: i0.ɵɵFactoryDeclaration<YaGeoObjectDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaGeoObjectDirective, "ya-geoobject", never, { "feature": "feature"; "options": "options"; }, { "ready": "ready"; "balloonclose": "balloonclose"; "balloonopen": "balloonopen"; "beforedrag": "beforedrag"; "beforedragstart": "beforedragstart"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "yadrag": "yadrag"; "yadragend": "yadragend"; "yadragstart": "yadragstart"; "editorstatechange": "editorstatechange"; "geometrychange": "geometrychange"; "hintclose": "hintclose"; "hintopen": "hintopen"; "mapchange": "mapchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "overlaychange": "overlaychange"; "parentchange": "parentchange"; "propertieschange": "propertieschange"; "yawheel": "yawheel"; }, never, never, false, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaGeoObjectDirective, "ya-geoobject", never, { "feature": { "alias": "feature"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "balloonclose": "balloonclose"; "balloonopen": "balloonopen"; "beforedrag": "beforedrag"; "beforedragstart": "beforedragstart"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "yadrag": "yadrag"; "yadragend": "yadragend"; "yadragstart": "yadragstart"; "editorstatechange": "editorstatechange"; "geometrychange": "geometrychange"; "hintclose": "hintclose"; "hintopen": "hintopen"; "mapchange": "mapchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "overlaychange": "overlaychange"; "parentchange": "parentchange"; "propertieschange": "propertieschange"; "yawheel": "yawheel"; }, never, never, false, never>;
}
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { BehaviorSubject, Observable } from 'rxjs';
import { YaEvent } from '../../models/ya-event';
import { YaReadyEvent } from '../../models/ya-ready-event';
import { YaEvent } from '../../interfaces/ya-event';
import { YaReadyEvent } from '../../interfaces/ya-ready-event';
import { YaApiLoaderService } from '../../services/ya-api-loader/ya-api-loader.service';

@@ -45,3 +45,3 @@ import * as i0 from "@angular/core";

*/
state: ymaps.IMapState;
state?: ymaps.IMapState;
/**

@@ -51,5 +51,5 @@ * Map options. The map options can be used to make settings for the map itself, as well as for objects that are added to it.

*/
options: ymaps.IMapOptions;
options?: ymaps.IMapOptions;
/**
* Map instance is created.
* Map instance is created. This event runs outside an Angular zone.
*/

@@ -216,3 +216,3 @@ ready: EventEmitter<YaReadyEvent<ymaps.Map>>;

static ɵfac: i0.ɵɵFactoryDeclaration<YaMapComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<YaMapComponent, "ya-map", never, { "center": "center"; "zoom": "zoom"; "state": "state"; "options": "options"; }, { "ready": "ready"; "actionbegin": "actionbegin"; "actionbreak": "actionbreak"; "actionend": "actionend"; "actiontick": "actiontick"; "actiontickcomplete": "actiontickcomplete"; "balloonclose": "balloonclose"; "balloonopen": "balloonopen"; "boundschange": "boundschange"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "destroy": "destroy"; "hintclose": "hintclose"; "hintopen": "hintopen"; "marginchange": "marginchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "sizechange": "sizechange"; "typechange": "typechange"; "yawheel": "yawheel"; }, never, never, false, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<YaMapComponent, "ya-map", never, { "center": { "alias": "center"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "state": { "alias": "state"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "actionbegin": "actionbegin"; "actionbreak": "actionbreak"; "actionend": "actionend"; "actiontick": "actiontick"; "actiontickcomplete": "actiontickcomplete"; "balloonclose": "balloonclose"; "balloonopen": "balloonopen"; "boundschange": "boundschange"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "destroy": "destroy"; "hintclose": "hintclose"; "hintopen": "hintopen"; "marginchange": "marginchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "sizechange": "sizechange"; "typechange": "typechange"; "yawheel": "yawheel"; }, never, never, false, never>;
}
import { EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { Observable } from 'rxjs';
import { YaEvent } from '../../models/ya-event';
import { YaReadyEvent } from '../../models/ya-ready-event';
import { YaEvent } from '../../interfaces/ya-event';
import { YaReadyEvent } from '../../interfaces/ya-ready-event';
import { YaMapComponent } from '../ya-map/ya-map.component';

@@ -10,3 +10,3 @@ import * as i0 from "@angular/core";

*/
declare type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
/**

@@ -43,3 +43,3 @@ * The `ya-multiroute` component wraps `ymaps.multiRouter.MultiRoute` class from the Yandex.Maps API.

*/
model: ymaps.multiRouter.MultiRouteModel | Optional<ymaps.IMultiRouteModelJson, 'referencePoints'>;
model?: ymaps.multiRouter.MultiRouteModel | Optional<ymaps.IMultiRouteModelJson, 'referencePoints'>;
/**

@@ -49,5 +49,5 @@ * Multi-route options.

*/
options: ymaps.multiRouter.IMultiRouteOptions;
options?: ymaps.multiRouter.IMultiRouteOptions;
/**
* Multi-route instance is added to a Map.
* Multi-route instance is added to a Map. This event runs outside an Angular zone.
*/

@@ -203,4 +203,4 @@ ready: EventEmitter<YaReadyEvent<ymaps.multiRouter.MultiRoute>>;

static ɵfac: i0.ɵɵFactoryDeclaration<YaMultirouteDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaMultirouteDirective, "ya-multiroute", never, { "referencePoints": "referencePoints"; "model": "model"; "options": "options"; }, { "ready": "ready"; "activeroutechange": "activeroutechange"; "balloonclose": "balloonclose"; "balloonopen": "balloonopen"; "boundsautoapply": "boundsautoapply"; "boundschange": "boundschange"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "geometrychange": "geometrychange"; "mapchange": "mapchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "overlaychange": "overlaychange"; "parentchange": "parentchange"; "pixelboundschange": "pixelboundschange"; "propertieschange": "propertieschange"; "update": "update"; "yawheel": "yawheel"; }, never, never, false, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaMultirouteDirective, "ya-multiroute", never, { "referencePoints": { "alias": "referencePoints"; "required": false; }; "model": { "alias": "model"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "activeroutechange": "activeroutechange"; "balloonclose": "balloonclose"; "balloonopen": "balloonopen"; "boundsautoapply": "boundsautoapply"; "boundschange": "boundschange"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "geometrychange": "geometrychange"; "mapchange": "mapchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "overlaychange": "overlaychange"; "parentchange": "parentchange"; "pixelboundschange": "pixelboundschange"; "propertieschange": "propertieschange"; "update": "update"; "yawheel": "yawheel"; }, never, never, false, never>;
}
export {};
import { EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { Observable } from 'rxjs';
import { YaEvent } from '../../models/ya-event';
import { YaReadyEvent } from '../../models/ya-ready-event';
import { YaEvent } from '../../interfaces/ya-event';
import { YaReadyEvent } from '../../interfaces/ya-ready-event';
import { YaMapComponent } from '../ya-map/ya-map.component';

@@ -34,5 +34,5 @@ import * as i0 from "@angular/core";

*/
options: ymaps.IObjectManagerOptions;
options?: ymaps.IObjectManagerOptions;
/**
* ObjectManager instance is added to a Map.
* ObjectManager instance is added to a Map. This event runs outside an Angular zone.
*/

@@ -143,3 +143,3 @@ ready: EventEmitter<YaReadyEvent<ymaps.ObjectManager>>;

static ɵfac: i0.ɵɵFactoryDeclaration<YaObjectManagerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaObjectManagerDirective, "ya-object-manager", never, { "options": "options"; }, { "ready": "ready"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "geometrychange": "geometrychange"; "mapchange": "mapchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "overlaychange": "overlaychange"; "parentchange": "parentchange"; "propertieschange": "propertieschange"; "yawheel": "yawheel"; }, never, never, false, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaObjectManagerDirective, "ya-object-manager", never, { "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "geometrychange": "geometrychange"; "mapchange": "mapchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "overlaychange": "overlaychange"; "parentchange": "parentchange"; "propertieschange": "propertieschange"; "yawheel": "yawheel"; }, never, never, false, never>;
}
import { EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { Observable } from 'rxjs';
import { YaEvent } from '../../models/ya-event';
import { YaReadyEvent } from '../../models/ya-ready-event';
import { YaEvent } from '../../interfaces/ya-event';
import { YaReadyEvent } from '../../interfaces/ya-ready-event';
import { YaMapComponent } from '../ya-map/ya-map.component';

@@ -34,3 +34,3 @@ import * as i0 from "@angular/core";

*/
layer: ymaps.panorama.Layer;
layer?: ymaps.panorama.Layer;
/**

@@ -40,5 +40,5 @@ * Player options.

*/
options: ymaps.panorama.IPlayerOptions;
options?: ymaps.panorama.IPlayerOptions;
/**
* Panorama instance is created.
* Panorama instance is created. This event runs outside an Angular zone.
*/

@@ -120,3 +120,3 @@ ready: EventEmitter<YaReadyEvent<ymaps.panorama.Player>>;

static ɵfac: i0.ɵɵFactoryDeclaration<YaPanoramaDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaPanoramaDirective, "ya-panorama", never, { "point": "point"; "layer": "layer"; "options": "options"; }, { "ready": "ready"; "destroy": "destroy"; "directionchange": "directionchange"; "yaerror": "yaerror"; "fullscreenenter": "fullscreenenter"; "fullscreenexit": "fullscreenexit"; "markercollapse": "markercollapse"; "markerexpand": "markerexpand"; "markermouseenter": "markermouseenter"; "markermouseleave": "markermouseleave"; "panoramachange": "panoramachange"; "spanchange": "spanchange"; }, never, never, false, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaPanoramaDirective, "ya-panorama", never, { "point": { "alias": "point"; "required": false; }; "layer": { "alias": "layer"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "destroy": "destroy"; "directionchange": "directionchange"; "yaerror": "yaerror"; "fullscreenenter": "fullscreenenter"; "fullscreenexit": "fullscreenexit"; "markercollapse": "markercollapse"; "markerexpand": "markerexpand"; "markermouseenter": "markermouseenter"; "markermouseleave": "markermouseleave"; "panoramachange": "panoramachange"; "spanchange": "spanchange"; }, never, never, false, never>;
}
import { EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { Observable } from 'rxjs';
import { YaEvent } from '../../models/ya-event';
import { YaReadyEvent } from '../../models/ya-ready-event';
import { YaEvent } from '../../interfaces/ya-event';
import { YaReadyEvent } from '../../interfaces/ya-ready-event';
import { YaMapComponent } from '../ya-map/ya-map.component';

@@ -36,3 +36,3 @@ import * as i0 from "@angular/core";

*/
properties: ymaps.IPlacemarkProperties | ymaps.IDataManager;
properties?: ymaps.IPlacemarkProperties | ymaps.IDataManager;
/**

@@ -42,5 +42,5 @@ * Placemark options.

*/
options: ymaps.IPlacemarkOptions;
options?: ymaps.IPlacemarkOptions;
/**
* Placemark instance is added to a Map.
* Placemark instance is added to a Map. This event runs outside an Angular zone.
*/

@@ -201,3 +201,3 @@ ready: EventEmitter<YaReadyEvent<ymaps.Placemark>>;

static ɵfac: i0.ɵɵFactoryDeclaration<YaPlacemarkDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaPlacemarkDirective, "ya-placemark", never, { "geometry": "geometry"; "properties": "properties"; "options": "options"; }, { "ready": "ready"; "balloonclose": "balloonclose"; "balloonopen": "balloonopen"; "beforedrag": "beforedrag"; "beforedragstart": "beforedragstart"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "yadrag": "yadrag"; "yadragend": "yadragend"; "yadragstart": "yadragstart"; "editorstatechange": "editorstatechange"; "geometrychange": "geometrychange"; "hintclose": "hintclose"; "hintopen": "hintopen"; "mapchange": "mapchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "overlaychange": "overlaychange"; "parentchange": "parentchange"; "propertieschange": "propertieschange"; "yawheel": "yawheel"; }, never, never, false, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<YaPlacemarkDirective, "ya-placemark", never, { "geometry": { "alias": "geometry"; "required": false; }; "properties": { "alias": "properties"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "ready": "ready"; "balloonclose": "balloonclose"; "balloonopen": "balloonopen"; "beforedrag": "beforedrag"; "beforedragstart": "beforedragstart"; "yaclick": "yaclick"; "yacontextmenu": "yacontextmenu"; "yadblclick": "yadblclick"; "yadrag": "yadrag"; "yadragend": "yadragend"; "yadragstart": "yadragstart"; "editorstatechange": "editorstatechange"; "geometrychange": "geometrychange"; "hintclose": "hintclose"; "hintopen": "hintopen"; "mapchange": "mapchange"; "yamousedown": "yamousedown"; "yamouseenter": "yamouseenter"; "yamouseleave": "yamouseleave"; "yamousemove": "yamousemove"; "yamouseup": "yamouseup"; "multitouchend": "multitouchend"; "multitouchmove": "multitouchmove"; "multitouchstart": "multitouchstart"; "optionschange": "optionschange"; "overlaychange": "overlaychange"; "parentchange": "parentchange"; "propertieschange": "propertieschange"; "yawheel": "yawheel"; }, never, never, false, never>;
}
import { Observable } from 'rxjs';
import { YaConfig } from '../../models/ya-config';
import { YaConfig } from '../../interfaces/ya-config';
import * as i0 from "@angular/core";

@@ -25,3 +25,3 @@ /**

private readonly config;
private script;
private script?;
constructor(config: YaConfig | null, document: Document, platformId: object);

@@ -32,5 +32,6 @@ /**

load(): Observable<typeof ymaps>;
private createScript;
/**
* Returns script source by config.
* @param config config with parameters that will be added in source
* Returns a script source from a config.
* @param config parameters to add to a source
* @example

@@ -42,4 +43,4 @@ * // returns 'https://api-maps.yandex.ru/2.1/?apikey=658f67a2-fd77-42e9-b99e-2bd48c4ccad4&lang=en_US'

/**
* Converts a config into a query string parameters.
* @param config object for converting
* Converts a config into query string parameters.
* @param config object to convert
* @example

@@ -46,0 +47,0 @@ * // returns "lang=ru_RU&apikey=XXX"

@@ -28,4 +28,5 @@ import { NgZone } from '@angular/core';

* Processes geocoding requests.
* @param request The address for which coordinates need to be obtained (forward geocoding), or the coordinates for which the address needs to be determined (reverse geocoding).
* @param options Options.
* @param request the address for which coordinates need to be obtained (forward geocoding),
* or the coordinates for which the address needs to be determined (reverse geocoding).
* @param options geocode options.
*/

@@ -32,0 +33,0 @@ geocode(request: string | number[], options?: ymaps.IGeocodeOptions): Observable<object>;

import { InjectionToken } from '@angular/core';
import { YaConfig } from '../models/ya-config';
import { YaConfig } from '../interfaces/ya-config';
/**
* Injection token to specify configuration.
* An injection token to provide a configuration.
*
* Use this token only if you want to implement some special logic.
* Otherwise, use an `AngularYandexMapsModule.forRoot()` method in a root module.
*
* Please note that `YaApiLoaderService` is provided at the root level,
* so it won't take your configuration unless this token is provided in the root module.
*
* If you want to provide the configuration in the module other than the root module,
* you should provide `YaApiLoaderService`. However, keep in mind that `YaApiLoaderService` is not designed for such purposes,
* so it can lead to unexpected issues such as script duplications.
*
* ```ts
* NgModule({
* \@NgModule({
* imports: [AngularYandexMapsModule],
* providers: [
* YaApiLoaderService,
* {

@@ -18,5 +30,5 @@ * provide: YA_CONFIG,

* })
* export class AppModule {}
* export class HomeModule {}
* ```
*/
export declare const YA_CONFIG: InjectionToken<YaConfig>;
{
"name": "angular8-yandex-maps",
"version": "15.0.0",
"version": "16.0.0",
"description": "Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API",

@@ -27,11 +27,3 @@ "repository": {

"homepage": "https://github.com/ddubrava/angular8-yandex-maps#readme",
"peerDependencies": {
"@angular/common": ">=9.0.0",
"@angular/core": ">=9.0.0"
},
"module": "fesm2015/angular8-yandex-maps.mjs",
"es2020": "fesm2020/angular8-yandex-maps.mjs",
"esm2020": "esm2020/angular8-yandex-maps.mjs",
"fesm2020": "fesm2020/angular8-yandex-maps.mjs",
"fesm2015": "fesm2015/angular8-yandex-maps.mjs",
"module": "fesm2022/angular8-yandex-maps.mjs",
"typings": "index.d.ts",

@@ -44,7 +36,5 @@ "exports": {

"types": "./index.d.ts",
"esm2020": "./esm2020/angular8-yandex-maps.mjs",
"es2020": "./fesm2020/angular8-yandex-maps.mjs",
"es2015": "./fesm2015/angular8-yandex-maps.mjs",
"node": "./fesm2015/angular8-yandex-maps.mjs",
"default": "./fesm2020/angular8-yandex-maps.mjs"
"esm2022": "./esm2022/angular8-yandex-maps.mjs",
"esm": "./esm2022/angular8-yandex-maps.mjs",
"default": "./fesm2022/angular8-yandex-maps.mjs"
}

@@ -55,3 +45,8 @@ },

"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/core": "16.0.0",
"rxjs": "7.8.1",
"@angular/common": "16.0.0"
}
}
}

@@ -34,2 +34,4 @@ <h1 align="center">Angular8-yandex-maps</h1>

| ---------------------- | --------------- |
| v16 | v16.x |
| v15 | v15.x |
| v14 | v14.x |

@@ -36,0 +38,0 @@ | v9, v10, v11, v12, v13 | v13.x |

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc