@syncfusion/ej2-react-diagrams
Advanced tools
Comparing version 16.3.21 to 16.3.24
@@ -11,13 +11,13 @@ # Changelog | ||
- Data binding for Native and HTML nodes not working has been fixed. | ||
- Data binding for Native and HTML nodes is now working properly. | ||
- Issue with apply gradient for BPMN shapes has been fixed. | ||
- Issue with drop event argument has been fixed. | ||
- Image node issue in symbol palette has been fixed. | ||
- The image node is now rendered properly in the symbol palette. | ||
#### New Features | ||
- Annotation interaction support has been added. | ||
- Rendering group node on symbol palette has been added. | ||
- Annotation can be moved, rotated, and resized interactively. | ||
- Group node can be added into the symbol palette. | ||
- Poly line connector tool support has been added. | ||
- Text annotation interaction support has been added. | ||
- Text annotation can be associated with BPMN nodes interactively. | ||
@@ -24,0 +24,0 @@ ## 16.2.47 (2018-08-07) |
/*! | ||
* filename: ej2-react-diagrams.umd.min.js | ||
* version : 16.3.21 | ||
* version : 16.3.24 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -12,3 +12,3 @@ * Use of this code is subject to the terms of our license. | ||
* filename: ej2-react-diagrams.umd.min.js | ||
* version : 16.3.17 | ||
* version : 16.3.21 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -21,3 +21,3 @@ * Use of this code is subject to the terms of our license. | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-diagrams")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-diagrams"],e):e(t.ej={},t.ej2ReactBase,t.React,t.ej2Diagrams)}(this,function(t,e,n,o){"use strict";var r=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.moduleName="layer",e}(e.ComplexBase),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.propertyName="layers",e.moduleName="layers",e}(e.ComplexBase),u=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.moduleName="connector",e}(e.ComplexBase),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.propertyName="connectors",e.moduleName="connectors",e}(e.ComplexBase),s=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.moduleName="connectorAnnotation",e}(e.ComplexBase),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.propertyName="annotations",e.moduleName="connectorAnnotations",e}(e.ComplexBase),y=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.moduleName="node",e}(e.ComplexBase),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.propertyName="nodes",e.moduleName="nodes",e}(e.ComplexBase),d=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.moduleName="nodeAnnotation",e}(e.ComplexBase),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.propertyName="annotations",e.moduleName="nodeAnnotations",e}(e.ComplexBase),O=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.moduleName="port",e}(e.ComplexBase),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.propertyName="ports",e.moduleName="ports",e}(e.ComplexBase),b=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),P=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={layers:"layer",connectors:{connector:{connectorAnnotations:"connectorAnnotation"}},nodes:{node:{nodeAnnotations:"nodeAnnotation",ports:"port"}}},n.state=e,n}return b(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Diagram);e.applyMixins(P,[e.ComponentBase,n.PureComponent]);var A=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return A(e,t),e.moduleName="palette",e}(e.ComplexBase),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return A(e,t),e.propertyName="palettes",e.moduleName="palettes",e}(e.ComplexBase),x=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),D=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={palettes:"palette"},n.state=e,n}return x(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.SymbolPalette);e.applyMixins(D,[e.ComponentBase,n.PureComponent]);var B=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),g=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return B(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Overview);e.applyMixins(g,[e.ComponentBase,n.PureComponent]),t.Inject=e.Inject,t.LayerDirective=i,t.LayersDirective=c,t.ConnectorDirective=p,t.ConnectorsDirective=a,t.ConnectorAnnotationDirective=l,t.ConnectorAnnotationsDirective=f,t.NodeDirective=h,t.NodesDirective=_,t.NodeAnnotationDirective=m,t.NodeAnnotationsDirective=v,t.PortDirective=C,t.PortsDirective=j,t.DiagramComponent=P,t.PaletteDirective=N,t.PalettesDirective=w,t.SymbolPaletteComponent=D,t.OverviewComponent=g,Object.keys(o).forEach(function(e){t[e]=o[e]}),Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-diagrams")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-diagrams"],e):e(t.ej={},t.ej2ReactBase,t.React,t.ej2Diagrams)}(this,function(t,e,n,o){"use strict";var r=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.moduleName="layer",e}(e.ComplexBase),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.propertyName="layers",e.moduleName="layers",e}(e.ComplexBase),u=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.moduleName="connector",e}(e.ComplexBase),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.propertyName="connectors",e.moduleName="connectors",e}(e.ComplexBase),s=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.moduleName="connectorAnnotation",e}(e.ComplexBase),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.propertyName="annotations",e.moduleName="connectorAnnotations",e}(e.ComplexBase),y=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.moduleName="node",e}(e.ComplexBase),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.propertyName="nodes",e.moduleName="nodes",e}(e.ComplexBase),d=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.moduleName="nodeAnnotation",e}(e.ComplexBase),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.propertyName="annotations",e.moduleName="nodeAnnotations",e}(e.ComplexBase),O=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.moduleName="port",e}(e.ComplexBase),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.propertyName="ports",e.moduleName="ports",e}(e.ComplexBase),b=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),P=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={layers:"layer",connectors:{connector:{connectorAnnotations:"connectorAnnotation"}},nodes:{node:{nodeAnnotations:"nodeAnnotation",ports:"port"}}},n}return b(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Diagram);e.applyMixins(P,[e.ComponentBase,n.PureComponent]);var A=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return A(e,t),e.moduleName="palette",e}(e.ComplexBase),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return A(e,t),e.propertyName="palettes",e.moduleName="palettes",e}(e.ComplexBase),x=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),D=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={palettes:"palette"},n}return x(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.SymbolPalette);e.applyMixins(D,[e.ComponentBase,n.PureComponent]);var B=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),g=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n}return B(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Overview);e.applyMixins(g,[e.ComponentBase,n.PureComponent]),t.Inject=e.Inject,t.LayerDirective=i,t.LayersDirective=c,t.ConnectorDirective=p,t.ConnectorsDirective=a,t.ConnectorAnnotationDirective=l,t.ConnectorAnnotationsDirective=f,t.NodeDirective=h,t.NodesDirective=_,t.NodeAnnotationDirective=m,t.NodeAnnotationsDirective=v,t.PortDirective=C,t.PortsDirective=j,t.DiagramComponent=P,t.PaletteDirective=N,t.PalettesDirective=w,t.SymbolPaletteComponent=D,t.OverviewComponent=g,Object.keys(o).forEach(function(e){t[e]=o[e]}),Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-react-diagrams.umd.min.js.map |
@@ -146,3 +146,2 @@ import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base'; | ||
this.directivekeys = { 'layers': 'layer', 'connectors': { 'connector': { 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } }; | ||
this.state = props; | ||
} | ||
@@ -192,3 +191,2 @@ render() { | ||
this.directivekeys = { 'palettes': 'palette' }; | ||
this.state = props; | ||
} | ||
@@ -218,3 +216,2 @@ render() { | ||
this.checkInjectedModules = false; | ||
this.state = props; | ||
} | ||
@@ -221,0 +218,0 @@ render() { |
{ | ||
"name": "@syncfusion/ej2-react-diagrams", | ||
"version": "16.3.21", | ||
"version": "16.3.24", | ||
"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. for React", | ||
@@ -25,5 +25,5 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.3.21", | ||
"@syncfusion/ej2-react-base": "~16.3.21", | ||
"@syncfusion/ej2-diagrams": "16.3.21" | ||
"@syncfusion/ej2-base": "~16.3.24", | ||
"@syncfusion/ej2-react-base": "~16.3.24", | ||
"@syncfusion/ej2-diagrams": "16.3.24" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
@@ -27,3 +27,2 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.directivekeys = { 'layers': 'layer', 'connectors': { 'connector': { 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } }; | ||
_this.state = props; | ||
return _this; | ||
@@ -30,0 +29,0 @@ } |
@@ -26,3 +26,2 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.checkInjectedModules = false; | ||
_this.state = props; | ||
return _this; | ||
@@ -29,0 +28,0 @@ } |
@@ -27,3 +27,2 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.directivekeys = { 'palettes': 'palette' }; | ||
_this.state = props; | ||
return _this; | ||
@@ -30,0 +29,0 @@ } |
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
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
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
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
5562753
25936
1
+ Added@syncfusion/ej2-diagrams@16.3.24(transitive)
- Removed@syncfusion/ej2-diagrams@16.3.21(transitive)