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

@equinor/videx-map

Package Overview
Dependencies
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/videx-map - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

21

dist/utils/wellbores/Config.d.ts
import { WellboreEventData } from "./data";
import { HighlightEvent } from "./data/WellboreEventData";
import { EventHandler } from "../../EventHandler";
/** Resize config for [Multiplier] * [Base] ^ -(zoom - [zoomReference]). */
export interface ResizeConfig {
/** Base of resizing function. Size does not change when base is 2. (Default: 1.75) */
base: number;
/** Multiplier for adding additional size. (Default: 1) */
multiplier: number;
/** Reference for calculating origin size. (Default: 12) */
zoomReference: number;
}
/** Interface for wellbore config. */

@@ -16,9 +25,11 @@ export interface Config {

zoomOrigin: number;
/** Grid size to control resolution of spacial indexing */
/** Grid size to control resolution of spacial indexing. */
gridSize: number;
/** Function to be called when a wellbore is selected */
/** Resize configurations of roots. */
rootResize: ResizeConfig;
/** Function to be called when a wellbore is selected. */
onWellboreClick?: (wellbore: WellboreEventData) => void;
/** Function to be called when wellbores are highlighted */
/** Function to be called when wellbores are highlighted. */
onHighlightOn?: (event: HighlightEvent) => void;
/** Function to be called when highlight is removed */
/** Function to be called when highlight is removed. */
onHighlightOff?: () => void;

@@ -56,2 +67,4 @@ }

gridSize?: number;
/** Resize configurations of roots. */
rootResize?: ResizeConfig;
/** Function to be called when a wellbore is selected */

@@ -58,0 +71,0 @@ onWellboreClick?: (selected: WellboreEventData) => void;

import * as PIXI from 'pixi.js';
import { Color } from './Colors';
import { ResizeConfig } from './Config';
declare type vec3 = [number, number, number];

@@ -34,2 +35,12 @@ /** Uniforms used by the shader. */

export declare function getCircleShader(): PIXI.Shader;
export declare class RootShader {
static resizeConfig: ResizeConfig;
static setResize(resizeConfig: ResizeConfig): void;
/** Build root shader with assigned variables. */
static buildShader(): void;
private static buildVertexShader;
private static buildFragmentShader;
static vertexShader: string;
static fragmentShader: string;
}
export {};

2

package.json
{
"name": "@equinor/videx-map",
"version": "1.4.3",
"version": "1.4.4",
"description": "Component for Pixi-overlay in Leaflet.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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

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

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