You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

@unovis/ts

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unovis/ts - npm Package Compare versions

Comparing version

to
1.0.1-beta.3

@@ -33,6 +33,6 @@ import { D3BrushEvent } from 'd3-brush';

export declare class BrushConfig<Datum> extends XYComponentConfig<Datum> implements BrushConfigInterface<Datum> {
onBrush: (s: [number, number], e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushStart: (s: [number, number], e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushMove: (s: [number, number], e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushEnd: (s: [number, number], e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrush: (s: [number, number] | undefined, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushStart: (s: [number, number] | undefined, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushMove: (s: [number, number] | undefined, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushEnd: (s: [number, number] | undefined, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
handleWidth: number;

@@ -39,0 +39,0 @@ selection: any;

@@ -36,6 +36,6 @@ import { D3BrushEvent } from 'd3-brush';

export declare class FreeBrushConfig<Datum> extends XYComponentConfig<Datum> implements FreeBrushConfigInterface<Datum> {
onBrush: (s: FreeBrushSelection, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushStart: (s: FreeBrushSelection, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushMove: (s: FreeBrushSelection, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushEnd: (s: FreeBrushSelection, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrush: (s: FreeBrushSelection | undefined, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushStart: (s: FreeBrushSelection | undefined, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushMove: (s: FreeBrushSelection | undefined, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
onBrushEnd: (s: FreeBrushSelection | undefined, e: D3BrushEvent<Datum>, userDriven: boolean) => void;
handleWidth: number;

@@ -42,0 +42,0 @@ selection: FreeBrushSelection;

import { LatLng } from 'leaflet';
import Supercluster, { ClusterProperties } from 'supercluster';
import { GeoJsonProperties } from 'geojson';
export declare enum LeafletMapRenderer {

@@ -32,7 +33,7 @@ Raster = "raster",

};
export declare type LeafletMapClusterDatum<D> = Partial<D> & ClusterProperties & {
export declare type LeafletMapClusterDatum<D extends GeoJsonProperties> = Partial<D> & ClusterProperties & {
clusterIndex?: Supercluster<D>;
clusterPoints?: D[];
};
export declare type LeafletMapPointDatum<D> = D & PointExpandedClusterProperties<D> & {
export declare type LeafletMapPointDatum<D extends GeoJsonProperties> = D & PointExpandedClusterProperties<D> & {
id: string | number;

@@ -39,0 +40,0 @@ shape: LeafletMapPointShape;

@@ -8,3 +8,3 @@ import { ComponentConfigInterface, ComponentConfig } from "../../core/component/config";

/** Node / Link id accessor function. Used for mapping of data updates to corresponding SVG objects. Default: `(d, i) => d.id ?? i.toString()` */
id?: (d: SankeyInputNode | SankeyInputLink, i?: number, ...any: any[]) => string;
id?: (d: SankeyInputNode | SankeyInputLink, i: number, ...any: any[]) => string;
/** Coefficient to scale the height of the diagram when the amount of links is low: `C * links.length`, clamped to `[height / 2, height]`. Default: `1/16` */

@@ -11,0 +11,0 @@ heightNormalizationCoeff?: number;

@@ -80,3 +80,3 @@ import { GeoProjection } from 'd3-geo';

linkCursor: any;
linkId: (d: LinkDatum, i: number) => string;
linkId: (d: LinkDatum, i: number | undefined) => string;
linkSource: (d: LinkDatum) => (number | string | PointDatum);

@@ -83,0 +83,0 @@ linkTarget: (d: LinkDatum) => (number | string | PointDatum);

@@ -10,3 +10,3 @@ import { ContinuousScale } from "../../types/scale";

/** Accessor function for getting the unique data record id. Used for more persistent data updates. Default: `(d, i) => d.id ?? i` */
id?: ((d: Datum, i?: number, ...any: any[]) => string);
id?: ((d: Datum, i: number, ...any: any[]) => string);
/** Component color accessor function. Default: `d => d.color` */

@@ -13,0 +13,0 @@ color?: ColorAccessor<Datum> | ColorAccessor<Datum[]>;

{
"name": "@unovis/ts",
"description": "Modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript",
"version": "1.0.1-beta.2",
"version": "1.0.1-beta.3",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

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