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

@evergis/react

Package Overview
Dependencies
Maintainers
4
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evergis/react - npm Package Compare versions

Comparing version 2.0.220 to 2.0.221

7

dist/symbols/Selected/SelectedPointSymbol.d.ts

@@ -1,4 +0,5 @@

import { PolyRender } from '@evergis/sgis/es/renders/Poly';
import { Coordinates } from '@evergis/sgis/es/baseTypes';
import { PointFeature } from '@evergis/sgis/es/features/PointFeature';
import { EditorPointSymbolParams, ShadowedPointSymbol } from '../Shadowed';
import { Arc } from '@evergis/sgis/es/renders/Arc';
declare type SelectedFeature = PointFeature & {

@@ -15,5 +16,5 @@ isSelected: boolean;

constructor(props: SelectedPointSymbolParams);
protected getShadow(position: [number, number], feature: SelectedFeature): PolyRender | void;
protected getPoint(position: [number, number], feature: SelectedFeature): PolyRender;
protected getShadow(position: [number, number], feature: SelectedFeature, mapCoordinates: Coordinates): Arc | void;
protected getPoint(position: [number, number], feature: SelectedFeature, mapCoordinates: Coordinates): Arc;
}
export {};
import { PolyRender } from '@evergis/sgis/es/renders/Poly';
import { Coordinates } from '@evergis/sgis/es/baseTypes';
import { Polygon } from '@evergis/sgis/es/features/Polygon';
import { EditorPolySymbolParams, ShadowedPolySymbol } from '../Shadowed/ShadowedPolySymbol';
import { EditorPolySymbolParams, ShadowedPolySymbol } from '../Shadowed';
declare type SelectedFeature = Polygon & {

@@ -18,5 +18,5 @@ isSelected: boolean;

constructor(props: SelectedPolySymbolParams);
protected getShadow(coordinates: Coordinates[][], feature: SelectedFeature): PolyRender | void;
protected getPolyRender(coordinates: Coordinates[][], feature: SelectedFeature): PolyRender;
protected getShadow(coordinates: Coordinates[][], feature: SelectedFeature, mapCoordinates: Coordinates[][]): PolyRender | void;
protected getPolyRender(coordinates: Coordinates[][], feature: SelectedFeature, mapCoordinates: Coordinates[][]): PolyRender;
}
export {};
import { PolyRender } from '@evergis/sgis/es/renders/Poly';
import { Coordinates } from '@evergis/sgis/es/baseTypes';
import { EditorPointSymbolParams } from './ShadowedPointSymbol';
export declare function createShadowRender(position: Coordinates, { strokeWidth, shadowColor, shadowSize, size, }: EditorPointSymbolParams): PolyRender;
export declare function getEditorPointRenderer(position: Coordinates, { strokeColor, strokeWidth, shadowColor, fillColor, shadowSize, size, }: EditorPointSymbolParams): PolyRender[];
export declare function createShadowRender(position: Coordinates, { strokeWidth, shadowColor, shadowSize, size, }: EditorPointSymbolParams, mapCoordinates: Coordinates[][]): PolyRender;
export declare function getEditorPointRenderer(position: Coordinates, { strokeColor, strokeWidth, shadowColor, fillColor, shadowSize, size, }: EditorPointSymbolParams, mapCoordinates: Coordinates[][]): PolyRender[];

@@ -6,7 +6,8 @@ import { PointSymbol, PointSymbolConstructorParams } from '@evergis/sgis/es/symbols/point/Point';

import { Coordinates } from '@evergis/sgis/es/baseTypes';
import { PolyRender } from '@evergis/sgis/es/renders/Poly';
import { Feature } from '@evergis/sgis';
import { Arc } from '@evergis/sgis/es/renders/Arc';
export declare type EditorPointSymbolParams = {
shadowColor: string;
shadowSize: number;
mapCoordinates?: Coordinates;
} & PointSymbolConstructorParams;

@@ -17,8 +18,7 @@ export declare class ShadowedPointSymbol extends PointSymbol {

constructor(options: EditorPointSymbolParams);
static getShadowArc(position: Coordinates, { strokeWidth, shadowColor, shadowSize, size, }: EditorPointSymbolParams): PolyRender;
static getPointArc(position: Coordinates, { strokeWidth, fillColor, strokeColor, size }: EditorPointSymbolParams): PolyRender;
static getArcs(position: Coordinates, params: EditorPointSymbolParams): PolyRender[];
static getShadowArc(position: Coordinates, { strokeWidth, shadowColor, shadowSize, size }: EditorPointSymbolParams, mapCoordinates: Coordinates): Arc;
static getPointArc(position: Coordinates, { strokeWidth, fillColor, strokeColor, size }: EditorPointSymbolParams, mapCoordinates: Coordinates): Arc;
renderFunction(feature: PointFeature, resolution: number, crs: Crs): Render[];
protected getShadow(position: Coordinates, _feature?: Feature): PolyRender | void;
protected getPoint(position: Coordinates, _feature?: Feature): PolyRender;
protected getShadow(position: Coordinates, _feature: Feature, mapCoordinates: Coordinates): Arc | void;
protected getPoint(position: Coordinates, _feature: Feature, mapCoordinates: Coordinates): Arc;
}

@@ -5,6 +5,11 @@ import { PolylineSymbol, PolylineSymbolConstructorParams } from '@evergis/sgis/es/symbols/PolylineSymbol';

import { Render } from '@evergis/sgis/es/renders/Render';
import { Poly } from '@evergis/sgis/es/features/Poly';
import { PolyRender } from '@evergis/sgis/es/renders/Poly';
import { Coordinates } from '@evergis/sgis/es/baseTypes';
import { Feature } from '@evergis/sgis';
import { ShadowedPointSymbol } from './ShadowedPointSymbol';
import { EditorPointSymbolParams, ShadowedPointSymbol } from './ShadowedPointSymbol';
import { Arc } from '@evergis/sgis/es/renders/Arc';
export declare const getSimplifiedPolygonCoordinates: (feature: Poly, crs: Crs, tolerance?: number) => import("@evergis/sgis/es/baseTypes").Contour[];
export declare function createShadowRender(position: Coordinates, { strokeWidth, shadowColor, shadowSize, size, mapCoordinates }: EditorPointSymbolParams): Arc;
export declare function createPointRender(position: Coordinates, { strokeColor, strokeWidth, fillColor, size, mapCoordinates }: EditorPointSymbolParams): Arc;
export declare type EditorPolySymbolParams = {

@@ -27,5 +32,5 @@ shadowColor: string;

renderFunction(feature: Polygon, resolution: number, crs: Crs): Render[];
protected getShadow(coordinates: Coordinates[][], _feature?: Feature): PolyRender | void;
protected getPolyRender(coordinates: Coordinates[][], _feature?: Feature): PolyRender;
protected getVertexRenders(coordinates: Coordinates[][]): PolyRender[] | void;
protected getShadow(coordinates: Coordinates[][], _feature: Feature, mapCoordinates: Coordinates[][]): PolyRender | void;
protected getPolyRender(coordinates: Coordinates[][], _feature: Feature, mapCoordinates: Coordinates[][]): PolyRender;
protected getVertexRenders(coordinates: Coordinates[][], mapCoordinates: Coordinates[][]): Arc[] | void;
}

@@ -32,0 +37,0 @@ export declare const measureLengthSymbol: ShadowedPolySymbol;

{
"version": "2.0.220",
"version": "2.0.221",
"license": "MIT",

@@ -46,3 +46,3 @@ "main": "dist/index.js",

"@babel/preset-env": "^7.16.11",
"@evergis/api": "^3.0.173",
"@evergis/api": "^3.0.174",
"@evergis/sgis": "0.5.0-alpha.65",

@@ -76,4 +76,4 @@ "@storybook/addon-actions": "^6.4.18",

"@evergis/color": "^1.0.0-alpha.1",
"@evergis/condition": "^1.2.87",
"@evergis/icons": "^1.0.114",
"@evergis/condition": "^1.2.88",
"@evergis/icons": "^1.0.115",
"@svgdotjs/svg.js": "^3.1.2",

@@ -84,3 +84,3 @@ "lodash": "^4.17.21",

},
"gitHead": "14ac8290c0466255e90e6a3831ffa057a4f78158"
"gitHead": "ed74ecfa63f482edaf9eb7217193b9418d02b859"
}

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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