@jsplumb/community
Advanced tools
Comparing version 4.0.0-RC40 to 4.0.0-RC41
{ | ||
"name": "@jsplumb/community", | ||
"version": "4.0.0-RC40", | ||
"version": "4.0.0-RC41", | ||
"description": "Visual connectivity for webapps. This package contains `community-core` and `browser-ui`, and is equivalent to the way that previous versions of the Community edition were packaged. Note that this package is effectively deprecated, and will not always be available. Try importing `@jsplumb/browser-ui` instead.", | ||
@@ -5,0 +5,0 @@ "main": "js/jsplumb.community.cjs.js", |
@@ -6,3 +6,3 @@ import { jsPlumbDefaults, jsPlumbHelperFunctions, Dictionary, Offset, PointArray, Size, jsPlumbElement, TypeDescriptor, JsPlumbInstance, AbstractConnector, Endpoint, Overlay, RedrawResult, PaintStyle, OverlayCapableComponent, Segment, LabelOverlay, Connection, Component, DeleteConnectionOptions } from '@jsplumb/community-core'; | ||
import { CollicatOptions, Collicat, Drag } from './collicat'; | ||
import { jsPlumbList, jsPlumbListManager, jsPlumbListOptions } from "./lists"; | ||
import { JsPlumbList, JsPlumbListManager, JsPlumbListOptions } from "./lists"; | ||
export interface UIComponent { | ||
@@ -103,3 +103,3 @@ canvas: HTMLElement; | ||
eventManager: EventManager; | ||
listManager: jsPlumbListManager; | ||
listManager: JsPlumbListManager; | ||
draggingClass: string; | ||
@@ -193,3 +193,3 @@ elementDraggingClass: string; | ||
*/ | ||
addList(el: Element, options?: jsPlumbListOptions): jsPlumbList; | ||
addList(el: Element, options?: JsPlumbListOptions): JsPlumbList; | ||
/** | ||
@@ -196,0 +196,0 @@ * Removes a managed list from the instance |
@@ -9,3 +9,3 @@ import { BrowserJsPlumbInstance, jsPlumbDOMElement } from "./browser-jsplumb-instance"; | ||
} | ||
export interface jsPlumbListOptions { | ||
export interface JsPlumbListOptions { | ||
anchor?: AnchorSpec; | ||
@@ -22,7 +22,7 @@ deriveAnchor?: (edge: SupportedEdge, index: number, ep: Endpoint, conn: Connection) => Anchor; | ||
*/ | ||
export declare class jsPlumbListManager { | ||
export declare class JsPlumbListManager { | ||
private instance; | ||
options: ListManagerOptions; | ||
count: number; | ||
lists: Dictionary<jsPlumbList>; | ||
lists: Dictionary<JsPlumbList>; | ||
constructor(instance: BrowserJsPlumbInstance, params?: ListManagerOptions); | ||
@@ -34,3 +34,3 @@ /** | ||
*/ | ||
addList(el: Element, options?: jsPlumbListOptions): jsPlumbList; | ||
addList(el: Element, options?: JsPlumbListOptions): JsPlumbList; | ||
/** | ||
@@ -41,3 +41,3 @@ * Destroy any scrollable list associated with the given element. | ||
removeList(el: Element): void; | ||
private findParentList; | ||
findParentList(el: jsPlumbDOMElement): JsPlumbList; | ||
} | ||
@@ -49,3 +49,3 @@ /** | ||
*/ | ||
export declare class jsPlumbList { | ||
export declare class JsPlumbList { | ||
private instance; | ||
@@ -55,5 +55,5 @@ private el; | ||
_scrollHandler: Function; | ||
private readonly domElement; | ||
readonly domElement: jsPlumbDOMElement; | ||
private readonly elId; | ||
constructor(instance: BrowserJsPlumbInstance, el: Element, options: jsPlumbListOptions, id: string); | ||
constructor(instance: BrowserJsPlumbInstance, el: Element, options: JsPlumbListOptions, id: string); | ||
/** | ||
@@ -60,0 +60,0 @@ * Derive an anchor to use for the current situation. In contrast to the way we derive an endpoint, here we use `anchor` from the options, if present, as |
@@ -28,3 +28,2 @@ export declare function cls(...className: Array<string>): string; | ||
export declare const ATTRIBUTE_TARGET = "jtk-target"; | ||
export declare const BEFORE_DETACH = "beforeDetach"; | ||
export declare const CHECK_CONDITION = "checkCondition"; | ||
@@ -87,2 +86,4 @@ export declare const CHECK_DROP_ALLOWED = "checkDropAllowed"; | ||
export declare const IS_GROUP_KEY = "_isJsPlumbGroup"; | ||
export declare const INTERCEPT_BEFORE_DROP = "beforeDrop"; | ||
export declare const INTERCEPT_BEFORE_DETACH = "beforeDetach"; | ||
export declare const JTK_ID = "jtk-id"; | ||
@@ -89,0 +90,0 @@ export declare const PROPERTY_POSITION = "position"; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1679024
46933
0