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

@lunit/insight-viewer

Package Overview
Dependencies
Maintainers
8
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lunit/insight-viewer - npm Package Compare versions

Comparing version 6.1.2 to 6.2.0

3

components/EditPointer/index.d.ts

@@ -10,6 +10,5 @@ /// <reference types="react" />

isHighlightMode?: boolean;
isDrawing?: boolean;
setEditMode: (editMode: EditMode) => void;
}
export declare function EditPointer({ cx, cy, editMode, isSelectedMode, isHighlightMode, setEditMode, isDrawing, cursorStatus, }: EditPointerProps): JSX.Element;
export declare function EditPointer({ cx, cy, editMode, isSelectedMode, isHighlightMode, setEditMode, cursorStatus, }: EditPointerProps): JSX.Element;
export {};

@@ -16,4 +16,5 @@ import { Annotation, AnnotationBase } from '../../types';

removeAllAnnotation: () => void;
resetAnnotation: () => void;
}
export declare function useAnnotation({ nextId, initialAnnotation }?: UseAnnotationParams): AnnotationDrawingState;
export {};
import type { UseAnnotationPointsHandlerParams, UseAnnotationPointsHandlerReturnType } from './types';
export default function useAnnotationPointsHandler({ mode, isEditing, lineHead, svgElement, annotations, selectedAnnotation, addAnnotation, onSelectAnnotation, hoveredAnnotation, }: UseAnnotationPointsHandlerParams): UseAnnotationPointsHandlerReturnType;
export default function useAnnotationPointsHandler({ mode, isDrawing, isEditing, lineHead, svgElement, annotations, selectedAnnotation, addAnnotation, onSelectAnnotation, hoveredAnnotation, }: UseAnnotationPointsHandlerParams): UseAnnotationPointsHandlerReturnType;

@@ -5,2 +5,3 @@ /// <reference types="react" />

export interface UseAnnotationPointsHandlerParams {
isDrawing: boolean;
isEditing: boolean;

@@ -7,0 +8,0 @@ mode: AnnotationMode;

import type { UseMeasurementPointsHandlerParams, UseMeasurementPointsHandlerReturnType } from './types';
export default function useMeasurementPointsHandler({ mode, isEditing, svgElement, measurements, selectedMeasurement, hoveredMeasurement, addMeasurement, onSelectMeasurement, }: UseMeasurementPointsHandlerParams): UseMeasurementPointsHandlerReturnType;
export default function useMeasurementPointsHandler({ mode, isDrawing, isEditing, svgElement, measurements, selectedMeasurement, hoveredMeasurement, addMeasurement, onSelectMeasurement, }: UseMeasurementPointsHandlerParams): UseMeasurementPointsHandlerReturnType;

@@ -5,2 +5,3 @@ import type { RefObject } from 'react';

export interface UseMeasurementPointsHandlerParams {
isDrawing: boolean;
isEditing: boolean;

@@ -7,0 +8,0 @@ mode: MeasurementMode;

{
"name": "@lunit/insight-viewer",
"version": "6.1.2",
"version": "6.2.0",
"description": "cornerstone 라이브러리를 기반으로 Dicom Image를 다루기 위한 여러 Component들을 제공한다.",

@@ -5,0 +5,0 @@ "peerDependencies": {

@@ -6,2 +6,3 @@ import { SVGProps } from 'react';

annotations: Annotation[];
isDrawing?: boolean;
isEditing?: boolean;

@@ -8,0 +9,0 @@ /**

/// <reference types="react" />
import { AnnotationDrawerProps } from './AnnotationDrawer.types';
export declare function AnnotationDrawer({ style, width, height, isEditing, showAnnotationLabel, annotations, selectedAnnotation, hoveredAnnotation, onSelectAnnotation, className, lineHead, mode, onAdd, }: AnnotationDrawerProps): JSX.Element;
export declare function AnnotationDrawer({ style, width, height, isDrawing, isEditing, showAnnotationLabel, annotations, selectedAnnotation, hoveredAnnotation, onSelectAnnotation, className, lineHead, mode, onAdd, }: AnnotationDrawerProps): JSX.Element;
/// <reference types="react" />
import type { MeasurementDrawerProps } from './MeasurementDrawer.types';
export declare function MeasurementDrawer({ style, width, height, isEditing, measurements, selectedMeasurement, hoveredMeasurement, className, mode, onAdd, onSelectMeasurement, }: MeasurementDrawerProps): JSX.Element | null;
export declare function MeasurementDrawer({ style, width, height, isDrawing, isEditing, measurements, selectedMeasurement, hoveredMeasurement, className, mode, onAdd, onSelectMeasurement, }: MeasurementDrawerProps): JSX.Element | null;

@@ -6,2 +6,3 @@ import { SVGProps } from 'react';

measurements: Measurement[];
isDrawing?: boolean;
isEditing?: boolean;

@@ -8,0 +9,0 @@ /** When drawing is complete and a new annotation occurs */

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