@syncfusion/ej2-react-diagrams
Advanced tools
Comparing version 17.1.43 to 17.1.44
@@ -5,2 +5,8 @@ # Changelog | ||
- #234537 - Conditional sequence connector is now working properly when connected with BPMN Service shape. | ||
- #234307 - Undo/redo is now working properly when modifying the annotation's font size at run time. | ||
- #234106 - When the node having different size and executing the layout, nodes are now arranged properly. | ||
## 17.1.43 (2019-04-30) | ||
### Diagram | ||
@@ -7,0 +13,0 @@ |
/*! | ||
* filename: ej2-react-diagrams.umd.min.js | ||
* version : 17.1.43 | ||
* version : 17.1.44 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -10,3 +10,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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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})}); | ||
!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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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=function(e,n){return(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])})(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.checkTemplate=!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.Diagram);e.applyMixins(P,[e.ComponentBase,n.PureComponent]);var A=function(){var t=function(e,n){return(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])})(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=function(e,n){return(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])})(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.checkTemplate=!1,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=function(e,n){return(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])})(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.checkTemplate=!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,2 +146,3 @@ import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base'; | ||
this.directivekeys = { 'layers': 'layer', 'connectors': { 'connector': { 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } }; | ||
this.checkTemplate = false; | ||
} | ||
@@ -191,2 +192,3 @@ render() { | ||
this.directivekeys = { 'palettes': 'palette' }; | ||
this.checkTemplate = false; | ||
} | ||
@@ -216,2 +218,3 @@ render() { | ||
this.checkInjectedModules = false; | ||
this.checkTemplate = false; | ||
} | ||
@@ -218,0 +221,0 @@ render() { |
{ | ||
"name": "@syncfusion/ej2-react-diagrams", | ||
"version": "17.1.43", | ||
"version": "17.1.44", | ||
"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", | ||
@@ -26,4 +26,4 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-base": "~17.1.43", | ||
"@syncfusion/ej2-react-base": "~17.1.42", | ||
"@syncfusion/ej2-diagrams": "17.1.43" | ||
"@syncfusion/ej2-react-base": "~17.1.44", | ||
"@syncfusion/ej2-diagrams": "17.1.44" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": {}, |
@@ -21,2 +21,3 @@ import * as React from 'react'; | ||
}; | ||
private checkTemplate; | ||
props: Readonly<{ | ||
@@ -23,0 +24,0 @@ children?: React.ReactNode | React.ReactNode[]; |
@@ -30,2 +30,3 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.directivekeys = { 'layers': 'layer', 'connectors': { 'connector': { 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } }; | ||
_this.checkTemplate = false; | ||
return _this; | ||
@@ -32,0 +33,0 @@ } |
@@ -18,2 +18,3 @@ import * as React from 'react'; | ||
private checkInjectedModules; | ||
private checkTemplate; | ||
props: Readonly<{ | ||
@@ -20,0 +21,0 @@ children?: React.ReactNode | React.ReactNode[]; |
@@ -29,2 +29,3 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.checkInjectedModules = false; | ||
_this.checkTemplate = false; | ||
return _this; | ||
@@ -31,0 +32,0 @@ } |
@@ -21,2 +21,3 @@ import * as React from 'react'; | ||
}; | ||
private checkTemplate; | ||
props: Readonly<{ | ||
@@ -23,0 +24,0 @@ children?: React.ReactNode | React.ReactNode[]; |
@@ -30,2 +30,3 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.directivekeys = { 'palettes': 'palette' }; | ||
_this.checkTemplate = false; | ||
return _this; | ||
@@ -32,0 +33,0 @@ } |
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 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
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
399189
8511
+ Added@syncfusion/ej2-diagrams@17.1.44(transitive)
- Removed@syncfusion/ej2-diagrams@17.1.43(transitive)