Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-diagrams

Package Overview
Dependencies
7
Maintainers
4
Versions
245
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 17.1.47 to 17.1.48

24

CHANGELOG.md

@@ -5,4 +5,28 @@ # Changelog

### Diagram
#### Bug Fixes
- #234537 - The BPMN shape style is now applied to the BPMN inner elements.
- #235977 -The issue "User handles drawn multiple times while dragging a node from the palette" has been resolved.
- #235742 -The issue with the oldValue of selectionChange is shown incorrect when mouse down on node has been resolved.
- #235794 - The `textEdit` event is now fired in Edge browser.
- #236322 - The module property in the package.json has been updated.
## 17.1.47 (2019-05-14)
### Diagram
#### Breaking Changes
- The `hyperLink` property in the Shape Annotation and Path annotation is renamed properly as `hyperlink`.
#### Bug Fixes
## 17.1.44 (2019-05-07)
### Diagram
#### Bug Fixes
- #234537 - Conditional sequence connector is now working properly when connected with BPMN Service shape.

@@ -9,0 +33,0 @@ - #234307 - Undo/redo is now working properly when modifying the annotation's font size at run time.

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 17.1.47
* version : 17.1.48
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved.

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

{
"name": "@syncfusion/ej2-diagrams",
"version": "17.1.47",
"version": "17.1.48",
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.",

@@ -11,5 +11,5 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-base": "~17.1.47",
"@syncfusion/ej2-base": "~17.1.48",
"@syncfusion/ej2-data": "~17.1.47",
"@syncfusion/ej2-navigations": "~17.1.47",
"@syncfusion/ej2-navigations": "~17.1.48",
"@syncfusion/ej2-inputs": "~17.1.47",

@@ -16,0 +16,0 @@ "@syncfusion/ej2-popups": "~17.1.47",

@@ -105,2 +105,4 @@ import { Node } from './../objects/node';

/** @private */
updateBPMNStyle(elementWrapper: DiagramElement, changedProp: string): void;
/** @private */
updateBPMNGateway(node: Node, changedProp: Node): void;

@@ -107,0 +109,0 @@ /** @private */

@@ -195,3 +195,2 @@ import { Property, Complex, Collection, ChildProperty, ComplexFactory, CollectionFactory } 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, Direction, LayoutOrientation, Status } from '../enum/enum';import { Rect } from '../primitives/rect';import { Size } from '../primitives/size';import { findAngle, findConnectorPoints, Bridge, getOuterBounds } from '../utility/connector';import { getAnnotationPosition, alignLabelOnSegments, updateConnector, setUMLActivityDefaults } from '../utility/diagram-util';import { findDistance, findPath, updatePathElement } 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 } 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';

* @default 'Straight'
* @aspType Syncfusion.EJ2.Diagrams.Segments
*/

@@ -299,3 +298,3 @@ type?: Segments;

* Defines the type of the Classifier Multiplicity
* @default ''
* @default true
* @IgnoreSingular

@@ -328,3 +327,3 @@ */

* Defines the type of the Classifier Multiplicity
* @default ''
* @default 'OneToOne'
* @IgnoreSingular

@@ -357,3 +356,3 @@ */

* Defines the type of the UMLConnector
* @default ''
* @default 'UmlClassifier'
* @IgnoreSingular

@@ -365,3 +364,3 @@ */

* Defines the association direction
* @default ''
* @default 'Aggregation'
* @IgnoreSingular

@@ -373,3 +372,3 @@ */

* Defines the association direction
* @default ''
* @default 'Directional'
* @IgnoreSingular

@@ -490,2 +489,3 @@ */

* @default 'Straight'
* @aspType Syncfusion.EJ2.Diagrams.Segments
*/

@@ -492,0 +492,0 @@ type?: Segments;

@@ -212,3 +212,2 @@ /// <reference path="node-base-model.d.ts" />

* @default 'Straight'
* @aspType Syncfusion.EJ2.Diagrams.Segments
*/

@@ -351,3 +350,3 @@ type: Segments;

* Defines the type of the Classifier Multiplicity
* @default ''
* @default true
* @IgnoreSingular

@@ -375,3 +374,3 @@ */

* Defines the type of the Classifier Multiplicity
* @default ''
* @default 'OneToOne'
* @IgnoreSingular

@@ -399,3 +398,3 @@ */

* Defines the type of the UMLConnector
* @default ''
* @default 'UmlClassifier'
* @IgnoreSingular

@@ -406,3 +405,3 @@ */

* Defines the association direction
* @default ''
* @default 'Aggregation'
* @IgnoreSingular

@@ -413,3 +412,3 @@ */

* Defines the association direction
* @default ''
* @default 'Directional'
* @IgnoreSingular

@@ -521,2 +520,3 @@ */

* @default 'Straight'
* @aspType Syncfusion.EJ2.Diagrams.Segments
*/

@@ -523,0 +523,0 @@ type: Segments;

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

__decorate([
Property('')
Property('OneToOne')
], ClassifierMultiplicity.prototype, "type", void 0);

@@ -407,0 +407,0 @@ __decorate([

@@ -190,2 +190,3 @@ import { MenuItemModel, MenuEventArgs } from '@syncfusion/ej2-navigations';

isGroup: boolean;
text: string;
}

@@ -192,0 +193,0 @@ /** @private */

@@ -372,3 +372,3 @@ import { Property, Complex, Collection, ChildProperty, ComplexFactory } from '@syncfusion/ej2-base';import { ShapeStyle, Margin, TextStyle, Shadow } from '../core/appearance';import { ShapeStyleModel, TextStyleModel, ShadowModel, } from '../core/appearance-model';import { Point } from '../primitives/point';import { Size } from '../primitives/size';import { PointModel } from '../primitives/point-model';import { Shapes, BasicShapes, FlowShapes, UmlActivityShapes, Scale, ImageAlignment, Status, ElementAction } from '../enum/enum';import { IElement } from './interface/IElement';import { Container } from '../core/containers/container';import { Canvas } from '../core/containers/canvas';import { getBasicShape } from './dictionary/basic-shapes';import { DiagramElement } from '../core/elements/diagram-element';import { PathElement } from '../core/elements/path-element';import { TextElement } from '../core/elements/text-element';import { ImageElement } from '../core/elements/image-element';import { DiagramNativeElement } from '../core/elements/native-element';import { Port, PointPort } from './port';import { PointPortModel } from './port-model';import { Annotation, ShapeAnnotation } from './annotation';import { ShapeAnnotationModel, HyperlinkModel } from './annotation-model';import { getPortShape, getIconShape } from './dictionary/common';import { getFlowShape } from './dictionary/flow-shapes';import { HorizontalAlignment, VerticalAlignment, BpmnShapes, BpmnEvents, BpmnTriggers, BpmnGateways, NodeConstraints } from '../enum/enum';import { BpmnDataObjects, BpmnTasks, BpmnSubProcessTypes, BpmnLoops } from '../enum/enum';import { BpmnBoundary, BpmnActivities, UmlScope } from '../enum/enum';import { MarginModel } from '../core/appearance-model';import { LayoutModel } from '../layout/layout-base-model';import { checkPortRestriction, setUMLActivityDefaults, getUMLActivityShapes, updatePortEdges } from './../utility/diagram-util';import { setSwimLaneDefaults } from './../utility/diagram-util';import { randomId, getFunction } from './../utility/base-util';import { NodeBase } from './node-base';import { canShadow } from './../utility/constraints-util';import { PortVisibility, Stretch } from '../enum/enum';import { IconShapeModel } from './icon-model';import { IconShape } from './icon';import { measurePath } from './../utility/dom-util';import { Rect } from '../primitives/rect';import { getPolygonPath } from './../utility/path-util';import { DiagramHtmlElement } from '../core/elements/html-element';import { StackPanel } from '../core/containers/stack-panel';import { GridPanel, RowDefinition, ColumnDefinition } from '../core/containers/grid';import { Orientation, ContainerTypes, ClassifierShape } from '../enum/enum';import { getULMClassifierShapes } from '../utility/uml-util';import { initSwimLane } from './../utility/swim-lane-util';import { AnnotationModel } from './annotation-model';

* * StoredData - Sets the type of the flow shape as StoredData
* @default ''
* @default 'Terminator'
*/

@@ -928,3 +928,3 @@ shape?: FlowShapes;

* Defines the type of node shape
* @default 'Bpmn'
* @default 'Basic'
*/

@@ -1248,3 +1248,3 @@ type?: Shapes;

*/
class?: UmlClassModel;
classShape?: UmlClassModel;

@@ -1255,3 +1255,3 @@ /**

*/
interface?: UmlInterfaceModel;
interfaceShape?: UmlInterfaceModel;

@@ -1262,3 +1262,3 @@ /**

*/
enumeration?: UmlEnumerationModel;
enumerationShape?: UmlEnumerationModel;

@@ -1265,0 +1265,0 @@ /**

@@ -394,3 +394,3 @@ /// <reference path="node-base-model.d.ts" />

* * StoredData - Sets the type of the flow shape as StoredData
* @default ''
* @default 'Terminator'
*/

@@ -945,3 +945,3 @@ shape: FlowShapes;

* Defines the type of node shape
* @default 'Bpmn'
* @default 'Basic'
*/

@@ -1270,3 +1270,3 @@ type: Shapes;

*/
class: UmlClassModel;
classShape: UmlClassModel;
/**

@@ -1276,3 +1276,3 @@ * Defines the text of the bpmn annotation collection

*/
interface: UmlInterfaceModel;
interfaceShape: UmlInterfaceModel;
/**

@@ -1282,3 +1282,3 @@ * Defines the text of the bpmn annotation collection

*/
enumeration: UmlEnumerationModel;
enumerationShape: UmlEnumerationModel;
/**

@@ -1285,0 +1285,0 @@ * Defines the type of classifier

@@ -814,9 +814,9 @@ var __extends = (this && this.__extends) || (function () {

Complex({}, UmlClass)
], UmlClassifierShape.prototype, "class", void 0);
], UmlClassifierShape.prototype, "classShape", void 0);
__decorate([
Complex({}, UmlInterface)
], UmlClassifierShape.prototype, "interface", void 0);
], UmlClassifierShape.prototype, "interfaceShape", void 0);
__decorate([
Complex({}, UmlEnumeration)
], UmlClassifierShape.prototype, "enumeration", void 0);
], UmlClassifierShape.prototype, "enumerationShape", void 0);
__decorate([

@@ -823,0 +823,0 @@ Property('Class')

@@ -12,9 +12,9 @@ import { NodeConstraints, AnnotationConstraints } from '../enum/enum';

if (node.shape.classifier === 'Class') {
classifier = node.shape.class;
classifier = node.shape.classShape;
}
else if (node.shape.classifier === 'Enumeration') {
classifier = node.shape.enumeration;
classifier = node.shape.enumerationShape;
}
else if (node.shape.classifier === 'Interface') {
classifier = node.shape.interface;
classifier = node.shape.interfaceShape;
}

@@ -21,0 +21,0 @@ var attributeText = '';

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc