Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-diagrams

Package Overview
Dependencies
Maintainers
3
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-diagrams - npm Package Compare versions

Comparing version 22.1.38 to 22.2.5

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 22.1.38
* version : 22.2.5
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"_from": "@syncfusion/ej2-diagrams@*",
"_id": "@syncfusion/ej2-diagrams@22.1.36",
"_id": "@syncfusion/ej2-diagrams@22.1.38",
"_inBundle": false,
"_integrity": "sha512-vX8r8/fSOV19yK/nQ3Q9pb6kO0rqelvnDs4ze5NiYOPSiuwPNlUvYFb8HAXPskPMMKIHqiCn0BUn64o7l+i+wg==",
"_integrity": "sha512-AlCqcrM37ePmi7l1KZwO81If9jsT6Tmod6B3JLf4Ak/Ns1//1OJdkdt2vVtfx3KQlSrNQv/23lpHcF3cMsYM8g==",
"_location": "/@syncfusion/ej2-diagrams",

@@ -26,4 +26,4 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-22.1.36.tgz",
"_shasum": "59bbaa48bb44199310dcd2795a406a7829843819",
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-22.1.38.tgz",
"_shasum": "f1c1e0b3006a33a6b036fc50f336a5e8054ca01f",
"_spec": "@syncfusion/ej2-diagrams@*",

@@ -39,9 +39,9 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",

"dependencies": {
"@syncfusion/ej2-base": "~22.1.38",
"@syncfusion/ej2-buttons": "~22.1.38",
"@syncfusion/ej2-data": "~22.1.38",
"@syncfusion/ej2-inputs": "~22.1.38",
"@syncfusion/ej2-lists": "~22.1.34",
"@syncfusion/ej2-navigations": "~22.1.38",
"@syncfusion/ej2-popups": "~22.1.38"
"@syncfusion/ej2-base": "~22.2.5",
"@syncfusion/ej2-buttons": "~22.2.5",
"@syncfusion/ej2-data": "~22.2.5",
"@syncfusion/ej2-inputs": "~22.2.5",
"@syncfusion/ej2-lists": "~22.2.5",
"@syncfusion/ej2-navigations": "~22.2.5",
"@syncfusion/ej2-popups": "~22.2.5"
},

@@ -78,4 +78,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "22.1.38",
"version": "22.2.5",
"sideEffects": true
}

@@ -73,3 +73,3 @@ import { DiagramElement } from './diagram-element';

*/
content: string | HTMLElement;
content: string | HTMLElement | Function;
/**

@@ -76,0 +76,0 @@ * defines geometry of the html element

@@ -232,2 +232,4 @@ import { PointModel } from '../primitives/point-model';

canCancel: boolean;
/** @private */
rotateStart: boolean;
constructor(commandHandler: CommandHandler);

@@ -270,2 +272,4 @@ /**

initialOffset: PointModel;
/** @private */
resizeStart: boolean;
/** @private */

@@ -272,0 +276,0 @@ initialBounds: Rect;

@@ -66,3 +66,3 @@ import { Property, Complex, ChildProperty } from '@syncfusion/ej2-base';import { TextStyle, Margin } from '../core/appearance';import { Point } from '../primitives/point';import { TextStyleModel, MarginModel } from '../core/appearance-model';import { PointModel } from '../primitives/point-model';import { HorizontalAlignment, VerticalAlignment, AnnotationAlignment, AnnotationTypes, TextDecoration, AnnotationType, LinkTarget } from '../enum/enum';import { AnnotationConstraints } from '../enum/enum';import { randomId } from '../utility/base-util';

*/
template?: string | HTMLElement;
template?: string | HTMLElement | Function;

@@ -69,0 +69,0 @@ /**

@@ -61,3 +61,3 @@ import { ChildProperty } from '@syncfusion/ej2-base';

*/
template: string | HTMLElement;
template: string | HTMLElement | Function;
/**

@@ -64,0 +64,0 @@ * Defines the type of annotation template

@@ -1,2 +0,2 @@

import { Property, Complex, Collection, ChildProperty, ComplexFactory, CollectionFactory, isBlazor } from '@syncfusion/ej2-base';import { ShapeStyle, StrokeStyle } from '../core/appearance';import { StrokeStyleModel, ShapeStyleModel } from '../core/appearance-model';import { Point } from '../primitives/point';import { TextElement } from '../core/elements/text-element';import { PointModel } from '../primitives/point-model';import { Segments, DecoratorShapes, Transform, ConnectorConstraints, ControlPointsVisibility, BezierSegmentEditOrientation, Orientation } from '../enum/enum';import { Direction, LayoutOrientation, Status, PortConstraints, BezierSmoothness } from '../enum/enum';import { Rect } from '../primitives/rect';import { Size } from '../primitives/size';import { getAnnotationPosition, alignLabelOnSegments, updateConnector } from '../utility/diagram-util';import { setUMLActivityDefaults, initfixedUserHandlesSymbol } from '../utility/diagram-util';import { findDistance, findPath, updatePathElement, setConnectorDefaults } from '../utility/diagram-util';import { randomId, getFunction } from './../utility/base-util';import { flipConnector } from './../utility/diagram-util';import { PathElement } from '../core/elements/path-element';import { PathAnnotation } from './annotation';import { Canvas } from '../core/containers/canvas';import { getDecoratorShape } from './dictionary/common';import { IElement } from './interface/IElement';import { Container } from '../core/containers/container';import { DiagramElement } from '../core/elements/diagram-element';import { HorizontalAlignment, VerticalAlignment, AssociationFlow, ClassifierShape, Multiplicity, DiagramAction } from '../enum/enum';import { ConnectionShapes, UmlActivityFlows, BpmnFlows, BpmnMessageFlows, BpmnSequenceFlows, BpmnAssociationFlows } from '../enum/enum';import { SegmentInfo, Alignment } from '../rendering/canvas-interface';import { PathAnnotationModel } from './annotation-model';import { NodeBase } from './node-base';import { DiagramTooltipModel } from './tooltip-model';import { DiagramTooltip } from './tooltip';import { Matrix, identityMatrix, rotateMatrix, scaleMatrix, transformPointsByMatrix, transformPointByMatrix } from '../primitives/matrix';import { DiagramHtmlElement } from '../core/elements/html-element';import { getTemplateContent } from '../utility/dom-util';import { SymbolSizeModel } from './preview-model';import { SymbolSize } from './preview';import { ConnectorFixedUserHandle } from './fixed-user-handle';import { ConnectorFixedUserHandleModel } from './fixed-user-handle-model';import { ResizeTool } from '../interaction/tool';
import { Property, Complex, Collection, ChildProperty, ComplexFactory, CollectionFactory, isBlazor, compile as baseTemplateCompiler } from '@syncfusion/ej2-base';import { ShapeStyle, StrokeStyle } from '../core/appearance';import { StrokeStyleModel, ShapeStyleModel } from '../core/appearance-model';import { Point } from '../primitives/point';import { TextElement } from '../core/elements/text-element';import { PointModel } from '../primitives/point-model';import { Segments, DecoratorShapes, Transform, ConnectorConstraints, ControlPointsVisibility, BezierSegmentEditOrientation, Orientation } from '../enum/enum';import { Direction, LayoutOrientation, Status, PortConstraints, BezierSmoothness } from '../enum/enum';import { Rect } from '../primitives/rect';import { Size } from '../primitives/size';import { getAnnotationPosition, alignLabelOnSegments, updateConnector } from '../utility/diagram-util';import { setUMLActivityDefaults, initfixedUserHandlesSymbol } from '../utility/diagram-util';import { findDistance, findPath, updatePathElement, setConnectorDefaults } from '../utility/diagram-util';import { randomId, getFunction } from './../utility/base-util';import { flipConnector } from './../utility/diagram-util';import { PathElement } from '../core/elements/path-element';import { PathAnnotation } from './annotation';import { Canvas } from '../core/containers/canvas';import { getDecoratorShape } from './dictionary/common';import { IElement } from './interface/IElement';import { Container } from '../core/containers/container';import { DiagramElement } from '../core/elements/diagram-element';import { HorizontalAlignment, VerticalAlignment, AssociationFlow, ClassifierShape, Multiplicity, DiagramAction } from '../enum/enum';import { ConnectionShapes, UmlActivityFlows, BpmnFlows, BpmnMessageFlows, BpmnSequenceFlows, BpmnAssociationFlows } from '../enum/enum';import { SegmentInfo, Alignment, IReactDiagram } from '../rendering/canvas-interface';import { PathAnnotationModel } from './annotation-model';import { NodeBase } from './node-base';import { DiagramTooltipModel } from './tooltip-model';import { DiagramTooltip } from './tooltip';import { Matrix, identityMatrix, rotateMatrix, scaleMatrix, transformPointsByMatrix, transformPointByMatrix } from '../primitives/matrix';import { DiagramHtmlElement } from '../core/elements/html-element';import { getTemplateContent } from '../utility/dom-util';import { SymbolSizeModel } from './preview-model';import { SymbolSize } from './preview';import { ConnectorFixedUserHandle } from './fixed-user-handle';import { ConnectorFixedUserHandleModel } from './fixed-user-handle-model';import { ResizeTool } from '../interaction/tool';
import {NodeBaseModel} from "./node-base-model";

@@ -3,0 +3,0 @@

@@ -140,2 +140,3 @@ var __extends = (this && this.__extends) || (function () {

tooltipObject.content = tooltip.content;
//Task 834121: Content-Security-Policy support for diagram
if (typeof tooltip.content === 'string') {

@@ -142,0 +143,0 @@ var contentTemp = function () {

@@ -155,1 +155,5 @@ import { ShadowModel, GradientModel } from '../core/appearance-model';

}
/** @private */
export interface IReactDiagram {
isReact?: boolean;
}

@@ -388,4 +388,4 @@ import { PointModel } from '../primitives/point-model';

*/
export declare function getTemplateContent(annotationcontent: DiagramHtmlElement, annotation: Annotation, annotationTemplate?: string | Function): DiagramHtmlElement;
export declare function getTemplateContent(annotationcontent: DiagramHtmlElement, annotation: Annotation, annotationTemplate?: string | Function, diagram?: Object): DiagramHtmlElement;
/** @private */
export declare function createUserHandleTemplates(userHandleTemplate: string | Function, template: HTMLCollection, selectedItems: SelectorModel, diagramID: string): void;

@@ -967,3 +967,3 @@ import { Rect } from '../primitives/rect';

var diagram = diagramElement[instance][0];
if (typeof element.content === 'string' && (!element.isTemplate || isBlazor())) {
if ((typeof element.content === 'string' || typeof element.content === 'function') && (!element.isTemplate || isBlazor())) {
var template = document.getElementById(element.content);

@@ -1168,4 +1168,5 @@ if (template) {

// eslint-disable-next-line @typescript-eslint/ban-types
annotationcontent, annotation, annotationTemplate) {
if (annotationTemplate && !annotation.template) {
annotationcontent, annotation, annotationTemplate, diagram) {
if ((annotationTemplate && !annotation.template) ||
(annotation.template && typeof annotation.template === 'function' && diagram.isReact)) {
annotationcontent.isTemplate = true;

@@ -1172,0 +1173,0 @@ annotationcontent.template = annotationcontent.content = getContent(annotationcontent, true, annotation);

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

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

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 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

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

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