Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular8-yandex-maps

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular8-yandex-maps - npm Package Compare versions

Comparing version 15.0.0 to 15.1.0

esm2020/index.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,3 +14,3 @@ import * as i1 from "./components/ya-clusterer/ya-clusterer.component";

/**
* Please use this method when you register the module at the root level
* Please use this method when you register the module at the root level.
* @param config

@@ -17,0 +17,0 @@ */

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,3 +45,3 @@ import * as i0 from "@angular/core";

*/
options: ymaps.IClustererOptions;
options?: ymaps.IClustererOptions;
/**

@@ -48,0 +48,0 @@ * Clusterer instance is added to a Map.

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

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

*/
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';
/**

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

*/
type: YaControlType;
type?: YaControlType;
/**
* Control parameters.
*/
parameters: any;
parameters?: any;
/**

@@ -42,0 +42,0 @@ * Control instance is added to a Map.

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,3 +39,3 @@ * Geo object options.

*/
options: ymaps.IGeoObjectOptions;
options?: ymaps.IGeoObjectOptions;
/**

@@ -42,0 +42,0 @@ * Geo object instance is added to a Map.

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,3 +51,3 @@ * 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;
/**

@@ -54,0 +54,0 @@ * Map instance is created.

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,3 +49,3 @@ * Multi-route options.

*/
options: ymaps.multiRouter.IMultiRouteOptions;
options?: ymaps.multiRouter.IMultiRouteOptions;
/**

@@ -52,0 +52,0 @@ * Multi-route instance is added to a Map.

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";

*/
options: ymaps.IObjectManagerOptions;
options?: ymaps.IObjectManagerOptions;
/**

@@ -37,0 +37,0 @@ * ObjectManager instance is added to a Map.

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,3 +40,3 @@ * Player options.

*/
options: ymaps.panorama.IPlayerOptions;
options?: ymaps.panorama.IPlayerOptions;
/**

@@ -43,0 +43,0 @@ * Panorama instance is created.

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,3 +42,3 @@ * Placemark options.

*/
options: ymaps.IPlacemarkOptions;
options?: ymaps.IPlacemarkOptions;
/**

@@ -45,0 +45,0 @@ * Placemark instance is added to a Map.

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 specify a configuration.
*

@@ -6,0 +6,0 @@ * ```ts

{
"name": "angular8-yandex-maps",
"version": "15.0.0",
"version": "15.1.0",
"description": "Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API",

@@ -27,6 +27,2 @@ "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",

@@ -33,0 +29,0 @@ "es2020": "fesm2020/angular8-yandex-maps.mjs",

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

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

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

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 too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc