New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@yandex/ymaps3-types

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yandex/ymaps3-types - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

imperative/YMapContainer/index.d.ts

3

imperative/index.d.ts

@@ -1,2 +0,2 @@

export { YMap, YMapProps, YMapCenterLocation, YMapZoomLocation, YMapBoundsLocation, YMapCenterZoomLocation, YMapLocationRequest } from "./YMap";
export { YMap, YMapProps, YMapCenterLocation, YMapZoomLocation, YMapBoundsLocation, YMapCenterZoomLocation, YMapLocationRequest, YMapCameraRequest } from "./YMap";
export { YMapCopyrightsPosition } from "./YMapCopyrights";

@@ -18,2 +18,3 @@ export { YMapEntity, YMapComplexEntity, YMapGroupEntity, YMapContext } from "./YMapEnities";

export { YMapCollection } from "./YMapCollection";
export { YMapContainer, YMapContainerProps, YMapContainerPropsImpl, ComputedYMapContainerProps } from "./YMapContainer";
export * from "./yandexMaps";

@@ -20,0 +21,0 @@ export * from "./search";

@@ -60,3 +60,3 @@ import type { DrawingStyle, GenericGeometry, LngLat, HideOutsideRule } from "../../common/types";

protected _onDetach(): void;
protected _onUpdate({ style, id, source, disableRoundCoordinates, hideOutsideViewport: newHideOutsideViewport }: Partial<YMapFeatureProps>): void;
protected _onUpdate({ id, source }: Partial<YMapFeatureProps>): void;
private __onDragStart;

@@ -63,0 +63,0 @@ private __onDragMove;

@@ -20,2 +20,14 @@ import type { IndoorPlan, PixelCoordinates } from "../../common/types";

export type DomEventHandlerObject = HandlerEntity<'feature', YMapFeature> | HandlerEntity<'marker', YMapMarker> | HandlerEntity<'hotspot', YMapHotspot> | undefined;
interface TileLayerState {
/** Number of tiles loaded from the server. */
tilesLoaded: number;
/** Number of tiles ready to be displayed. */
tilesReady: number;
/** Total number of tiles in the visible area. */
tilesTotal: number;
}
interface MapState {
getLayerState(layerId: string, type: string, effectiveMode?: 'raster' | 'vector'): Record<string, unknown> | undefined;
getLayerState(layerId: string, type: 'tile', effectiveMode?: 'raster' | 'vector'): TileLayerState | undefined;
}
export type DomEventHandler = (object: DomEventHandlerObject, event: DomEvent) => void;

@@ -37,2 +49,3 @@ type Location = Required<YMapLocation>;

export type MapEventResizeHandler = MapEventHandler<ResizeObject>;
export type MapEventReadyStateChangeHandler = MapEventHandler<MapState>;
export type IndoorPlansHandler = (object: {

@@ -70,2 +83,3 @@ type: IndoorPlanType;

onResize: MapEventResizeHandler;
onStateChanged: MapEventReadyStateChangeHandler;
};

@@ -106,2 +120,3 @@ export type BehaviorEvents = {

private _subscribeMapIndoorPlansEvent;
private _subscribeMapStateChanged;
private _subscribeActionEvent;

@@ -108,0 +123,0 @@ private _subscribe;

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

import type TReact from "react";
import type { Context } from "../Entities";
import { YMapGroupEntity } from "../YMapEnities";
import { overrideKeyReactify } from "../wrappers";
interface YMapReactContainerPropsImpl<TContext> {
onElement: (element?: Element) => void;
onContext: (context?: TContext) => void;
import { YMapContainer, YMapContainerProps, YMapContainerPropsImpl } from "../YMapContainer";
/** @deprecated Use YMapContainerPropsImpl instead */
type YMapReactContainerPropsImpl<TContext> = YMapContainerPropsImpl<TContext>;
/** @deprecated Use YMapContainerProps instead */
type YMapReactContainerProps<TContext> = YMapContainerProps<TContext>;
/** @deprecated Use YMapContainer instead */
declare class YMapReactContainer extends YMapContainer {
}
interface YMapReactContainerProps<TContext> {
tagName?: string;
className?: string;
style?: TReact.CSSProperties;
context?: Context<TContext>;
}
declare const defaultProps: {
tagName: string;
};
type DefaultProps = typeof defaultProps;
type ComputedYMapReactContainerProps<TContext> = YMapReactContainerProps<TContext> & YMapReactContainerPropsImpl<TContext>;
declare class YMapReactContainer extends YMapGroupEntity<ComputedYMapReactContainerProps<unknown>, DefaultProps> {
static defaultProps: {
tagName: string;
};
static [overrideKeyReactify]: import("../../reactify/reactify").CustomReactify<YMapReactContainer, TReact.FC<YMapReactContainerProps<unknown> & {
children?: TReact.ReactNode;
}>>;
element?: Element;
private _detachDom?;
private _disposeWatch?;
protected _onAttach(): void;
private _adjustContext;
protected _onDetach(): void;
protected _onUpdate(props: Partial<ComputedYMapReactContainerProps<unknown>>): void;
}
export { YMapReactContainer, YMapReactContainerProps, YMapReactContainerPropsImpl };
export { YMapReactContainer, YMapReactContainerPropsImpl, YMapReactContainerProps };
import { YMapGroupEntity } from "../../../imperative/YMapEnities";
import type { CustomVuefyOptions } from "../../vuefy";
/**

@@ -28,2 +29,3 @@ * YMapOpenMapsButton props

}>;
static [ymaps3.optionsKeyVuefy]: CustomVuefyOptions<YMapOpenMapsButton>;
private _control;

@@ -30,0 +32,0 @@ private _button;

import { YMapComplexEntity } from "../../../imperative/YMapEnities";
import type { CustomVuefyOptions } from "../../vuefy";
import { YMapFeatureEditorDefaultPoint } from "./YMapFeatureEditorDefaultPoint";
import { YMapFeatureEditorDefaultPreviewPoint } from "./YMapFeatureEditorDefaultPreviewPoint";
import type { YMapFeatureEditorProps } from "./interface";
import { YMapFeatureEditorDefaultPreviewPoint } from "./YMapFeatureEditorDefaultPreviewPoint";
import { YMapFeatureEditorDefaultPoint } from "./YMapFeatureEditorDefaultPoint";
declare const defaultProps: Readonly<{

@@ -27,2 +28,3 @@ isActive: true;

}>;
static [ymaps3.optionsKeyVuefy]: CustomVuefyOptions<YMapFeatureEditor>;
private _previewPoint;

@@ -29,0 +31,0 @@ private _draggingPoint;

import { YMapComplexEntity, YMapEntity } from "../../../imperative/YMapEnities";
import type { YMapHotspot } from "../../../imperative/YMapHotspot";
import type { CustomVuefyOptions } from "../../vuefy";
type YMapCursorProps = {

@@ -23,2 +24,3 @@ /** Layer to follow */

}>;
static [ymaps3.optionsKeyVuefy]: CustomVuefyOptions<YMapCursor>;
constructor(props: YMapCursorProps);

@@ -28,2 +30,2 @@ private _onMouseMove;

}
export { YMapCursorProps, YMapCursor };
export { YMapCursor, YMapCursorProps };
{
"name": "@yandex/ymaps3-types",
"version": "0.0.17",
"version": "0.0.18",
"description": "Types for ymaps3 maps library",

@@ -25,4 +25,5 @@ "main": "",

"@types/react": "*",
"@types/react-dom": "*"
"@types/react-dom": "*",
"@vue/runtime-core": "*"
}
}

@@ -55,4 +55,4 @@ import type { YMapEntity } from "../../..";

tickTimeout?: number | undefined;
method: IClusterMethod;
features: Feature[];
method: IClusterMethod;
onRender?: ((clusters: ClustererObject[]) => false | void) | undefined;

@@ -63,4 +63,4 @@ marker: (feature: Feature) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;

tickTimeout?: number | undefined;
method: IClusterMethod;
features: Feature[];
method: IClusterMethod;
onRender?: ((clusters: ClustererObject[]) => false | void) | undefined;

@@ -72,2 +72,4 @@ marker: (feature: Feature) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;

}>>;
static [ymaps3.overrideKeyVuefy]: import("../../../modules/vuefy").CustomVuefyFn<YMapClusterer>;
static [ymaps3.optionsKeyVuefy]: import("../../../modules/vuefy").CustomVuefyOptions<YMapClusterer>;
/** All created entities with cluster id*/

@@ -74,0 +76,0 @@ private _entitiesCache;

import type { EasingFunctionDescription, LngLat } from "../../../common/types";
import type { CustomVuefyOptions } from "../../../modules/vuefy";
/**

@@ -34,2 +35,3 @@ * YMapGeolocationControl props

}>;
static [ymaps3.optionsKeyVuefy]: CustomVuefyOptions<YMapGeolocationControl>;
private _control;

@@ -36,0 +38,0 @@ private _button;

import type { EasingFunctionDescription } from "../../../common/types";
import type { YMapControlCommonButton } from "../../../imperative/YMapControl";
import type { YMapListener } from "../../../imperative/YMapListener";
import type { CustomVuefyOptions } from "../../../modules/vuefy";
/**

@@ -33,2 +34,3 @@ * YMapZoomControl props

}>;
static [ymaps3.optionsKeyVuefy]: CustomVuefyOptions<YMapZoomControl>;
protected _zoomIn: YMapControlCommonButton;

@@ -35,0 +37,0 @@ protected _zoomOut: YMapControlCommonButton;

@@ -0,5 +1,6 @@

import type { YMapFeature, YMapHotspot, YMapMarker } from "../../../imperative";
import type { CustomVuefyFn, CustomVuefyOptions } from "../../../modules/vuefy";
import type { CustomReactify } from "../../../reactify/reactify";
import type TReact from "react";
import type { YMapFeature, YMapMarker, YMapHotspot } from "../../../imperative";
import type { CustomReactify } from "../../../reactify/reactify";
import { overrideKeyReactify } from "../../../imperative/wrappers";
import { optionsKeyVuefy, overrideKeyReactify, overrideKeyVuefy } from "../../../imperative/wrappers";
type YMapHintProps = {

@@ -43,2 +44,4 @@ hint: (object: YMapFeature | YMapMarker | YMapHotspot | undefined) => unknown;

static [overrideKeyReactify]: CustomReactify<YMapHint, TReact.FC<YMapHintProps>>;
static [overrideKeyVuefy]: CustomVuefyFn<YMapHint>;
static [optionsKeyVuefy]: CustomVuefyOptions<YMapHint>;
private _destroyDomContext;

@@ -45,0 +48,0 @@ private _detachDom;

@@ -83,2 +83,4 @@ import type { LngLat } from "../../../common/types";

}>>;
static [ymaps3.overrideKeyVuefy]: import("../../../modules/vuefy").CustomVuefyFn<YMapDefaultMarker>;
static [ymaps3.optionsKeyVuefy]: import("../../../modules/vuefy").CustomVuefyOptions<YMapDefaultMarker>;
private _marker;

@@ -85,0 +87,0 @@ private _container;

export * from "./YMap";
export * from "./YMapContainer";
export * from "./YMapControl";
export * from "./YMapControlButton";
export * from "./YMapMarker";
export * from "./YMapReactContainer";
export * from "./YMapControlButton";

@@ -5,3 +5,4 @@ import type TReact from "react";

type ReactProps<T> = TReact.PropsWithChildren<YMapReactContainerProps<T>>;
/** @deprecated Use YMapContainerReactifyOverride instead */
export declare const YMapReactContainerReactifyOverride: CustomReactify<YMapReactContainer, TReact.FC<ReactProps<unknown>>>;
export {};
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