@syncfusion/ej2-vue-diagrams 20.2.40 → 20.2.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,24 @@
6
6
 
7
7
  #### Bug fixes
8
8
 
9
+ - `#I396868` - Now bezier connector rendered properly while drag and drop from palette.
10
+ - `#I397678` - Now, the connector is dropped properly inside the swimlane.
11
+ - `#I397852` - Now, layers undefined exception will no longer thrown while save and load.
12
+
13
+ ## 20.2.44 (2022-08-16)
14
+
15
+ ### Diagram
16
+
17
+ #### Bug fixes
18
+
19
+ - `#I395331` - The undefined exception will no longer thrown while draw a SVG node.
20
+
21
+ ## 20.2.40 (2022-07-26)
22
+
23
+ ### Diagram
24
+
25
+ #### Bug fixes
26
+
9
27
  - `#I388692` - Now connectors are properly connected to the node after save and load.
10
28
  - `#I384554` - Now scroll settings offset are updated properly dynamically.
11
29
 
@@ -1,38 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-diagrams.umd.min.js
3
- * version : 20.2.40
3
+ * version : 20.2.45
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- /*!
11
- * filename: ej2-vue-diagrams.umd.min.js
12
- * version : 20.1.47
13
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
- * Use of this code is subject to the terms of our license.
15
- * A copy of the current license can be obtained at any time by e-mailing
16
- * licensing@syncfusion.com. Any infringement will be prosecuted under
17
- * applicable laws.
18
- */
19
- /*!
20
- * filename: ej2-vue-diagrams.umd.min.js
21
- * version : 19.4.38
22
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
23
- * Use of this code is subject to the terms of our license.
24
- * A copy of the current license can be obtained at any time by e-mailing
25
- * licensing@syncfusion.com. Any infringement will be prosecuted under
26
- * applicable laws.
27
- */
28
- /*!
29
- * filename: ej2-vue-diagrams.umd.min.js
30
- * version : 19.1.63
31
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
32
- * Use of this code is subject to the terms of our license.
33
- * A copy of the current license can be obtained at any time by e-mailing
34
- * licensing@syncfusion.com. Any infringement will be prosecuted under
35
- * applicable laws.
36
- */
37
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-diagrams"),require("vue"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-diagrams","vue","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Diagrams,e.Vue,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){},t=s([o.EJComponentDecorator({})],t)}(n),i={name:"e-layers",install:function(e){e.component(i.name,c)}},a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){},t=s([o.EJComponentDecorator({})],t)}(n),u={name:"e-layer",install:function(e){e.component(u.name,a)}},p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){},t=f([o.EJComponentDecorator({})],t)}(n),d={name:"e-cursormaps",install:function(e){e.component(d.name,l)}},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){},t=f([o.EJComponentDecorator({})],t)}(n),h={name:"e-cursormap",install:function(e){e.component(h.name,y)}},m=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),j=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){},t=j([o.EJComponentDecorator({})],t)}(n),I={name:"e-connector-fixeduserhandles",install:function(e){e.component(I.name,g)}},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){},t=j([o.EJComponentDecorator({})],t)}(n),v={name:"e-connector-fixeduserhandle",install:function(e){e.component(v.name,P)}},b=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.prototype.render=function(){},t=O([o.EJComponentDecorator({})],t)}(n),C={name:"e-connector-annotations",install:function(e){e.component(C.name,_)}},D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.prototype.render=function(){},t=O([o.EJComponentDecorator({})],t)}(n),w={name:"e-connector-annotation",install:function(e){e.component(w.name,D)}},E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),L=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.render=function(){},t=L([o.EJComponentDecorator({})],t)}(n),x={name:"e-connectors",install:function(e){e.component(x.name,R)}},S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.render=function(){},t=L([o.EJComponentDecorator({})],t)}(n),A={name:"e-connector",install:function(e){e.component(A.name,S)}},T=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),M=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.render=function(){},t=M([o.EJComponentDecorator({})],t)}(n),U={name:"e-node-fixeduserhandles",install:function(e){e.component(U.name,H)}},N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.render=function(){},t=M([o.EJComponentDecorator({})],t)}(n),J={name:"e-node-fixeduserhandle",install:function(e){e.component(J.name,N)}},k=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),F=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.render=function(){},t=F([o.EJComponentDecorator({})],t)}(n),z={name:"e-node-annotations",install:function(e){e.component(z.name,B)}},G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.render=function(){},t=F([o.EJComponentDecorator({})],t)}(n),V={name:"e-node-annotation",install:function(e){e.component(V.name,G)}},$=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),K=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype.render=function(){},t=K([o.EJComponentDecorator({})],t)}(n),W={name:"e-node-ports",install:function(e){e.component(W.name,q)}},Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype.render=function(){},t=K([o.EJComponentDecorator({})],t)}(n),X={name:"e-node-port",install:function(e){e.component(X.name,Q)}},Y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Z=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Y(t,e),t.prototype.render=function(){},t=Z([o.EJComponentDecorator({})],t)}(n),te={name:"e-nodes",install:function(e){e.component(te.name,ee)}},ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Y(t,e),t.prototype.render=function(){},t=Z([o.EJComponentDecorator({})],t)}(n),oe={name:"e-node",install:function(e){e.component(oe.name,ne)}},re=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),se=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},ce=["addInfo","annotationTemplate","backgroundColor","bridgeDirection","commandManager","connectorDefaults","connectors","constraints","contextMenuSettings","customCursor","dataSourceSettings","diagramSettings","drawingObject","enablePersistence","enableRtl","getConnectorDefaults","getCustomCursor","getCustomProperty","getCustomTool","getDescription","getNodeDefaults","height","historyManager","layers","layout","locale","mode","nodeDefaults","nodeTemplate","nodes","pageSettings","rulerSettings","scrollSettings","selectedItems","serializationSettings","setNodeTemplate","snapSettings","tool","tooltip","updateSelection","userHandleTemplate","width","animationComplete","click","collectionChange","commandExecute","connectionChange","contextMenuBeforeItemRender","contextMenuClick","contextMenuOpen","created","dataLoaded","doubleClick","dragEnter","dragLeave","dragOver","drop","expandStateChange","fixedUserHandleClick","historyChange","historyStateChange","keyDown","keyUp","mouseEnter","mouseLeave","mouseOver","onImageLoad","onUserHandleMouseDown","onUserHandleMouseEnter","onUserHandleMouseLeave","onUserHandleMouseUp","positionChange","propertyChange","rotateChange","scrollChange","segmentCollectionChange","selectionChange","sizeChange","sourcePointChange","targetPointChange","textEdit"],ie=[],ae=function(e){function n(){var n=e.call(this)||this;return n.propKeys=ce,n.models=ie,n.hasChildDirective=!0,n.hasInjectedModules=!0,n.tagMapper={"e-layers":"e-layer","e-cursormaps":"e-cursormap","e-connectors":{"e-connector":{"e-connector-fixeduserhandles":"e-connector-fixeduserhandle","e-connector-annotations":"e-connector-annotation"}},"e-nodes":{"e-node":{"e-node-fixeduserhandles":"e-node-fixeduserhandle","e-node-annotations":"e-node-annotation","e-node-ports":"e-node-port"}}},n.tagNameMapper={"e-cursormaps":"e-customCursor","e-connector-fixeduserhandles":"e-fixedUserHandles","e-connector-annotations":"e-annotations","e-node-fixeduserhandles":"e-fixedUserHandles","e-node-annotations":"e-annotations","e-node-ports":"e-ports"},n.ej2Instances=new t.Diagram({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return re(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.add=function(e,t){return this.ej2Instances.add(e,t)},n.prototype.addChildToGroup=function(e,t){return this.ej2Instances.addChildToGroup(e,t)},n.prototype.addConnector=function(e){return this.ej2Instances.addConnector(e)},n.prototype.addConnectorLabels=function(e,t){return this.ej2Instances.addConnectorLabels(e,t)},n.prototype.addConstraints=function(e,t){return this.ej2Instances.addConstraints(e,t)},n.prototype.addCustomHistoryEntry=function(e){return this.ej2Instances.addCustomHistoryEntry(e)},n.prototype.addHistoryEntry=function(e){return this.ej2Instances.addHistoryEntry(e)},n.prototype.addLabels=function(e,t){return this.ej2Instances.addLabels(e,t)},n.prototype.addLanes=function(e,t,n){return this.ej2Instances.addLanes(e,t,n)},n.prototype.addLayer=function(e,t){return this.ej2Instances.addLayer(e,t)},n.prototype.addNode=function(e,t){return this.ej2Instances.addNode(e,t)},n.prototype.addNodeLabels=function(e,t){return this.ej2Instances.addNodeLabels(e,t)},n.prototype.addNodeToLane=function(e,t,n){return this.ej2Instances.addNodeToLane(e,t,n)},n.prototype.addPhases=function(e,t){return this.ej2Instances.addPhases(e,t)},n.prototype.addPorts=function(e,t){return this.ej2Instances.addPorts(e,t)},n.prototype.addProcess=function(e,t){return this.ej2Instances.addProcess(e,t)},n.prototype.addTextAnnotation=function(e,t){return this.ej2Instances.addTextAnnotation(e,t)},n.prototype.align=function(e,t,n){return this.ej2Instances.align(e,t,n)},n.prototype.bringIntoView=function(e){return this.ej2Instances.bringIntoView(e)},n.prototype.bringLayerForward=function(e){return this.ej2Instances.bringLayerForward(e)},n.prototype.bringToCenter=function(e){return this.ej2Instances.bringToCenter(e)},n.prototype.bringToFront=function(){return this.ej2Instances.bringToFront()},n.prototype.clear=function(){return this.ej2Instances.clear()},n.prototype.clearHistory=function(){return this.ej2Instances.clearHistory()},n.prototype.clearSelection=function(){return this.ej2Instances.clearSelection()},n.prototype.cloneLayer=function(e){return this.ej2Instances.cloneLayer(e)},n.prototype.copy=function(){return this.ej2Instances.copy()},n.prototype.cut=function(){return this.ej2Instances.cut()},n.prototype.distribute=function(e,t){return this.ej2Instances.distribute(e,t)},n.prototype.doLayout=function(){return this.ej2Instances.doLayout()},n.prototype.drag=function(e,t,n){return this.ej2Instances.drag(e,t,n)},n.prototype.dragSourceEnd=function(e,t,n){return this.ej2Instances.dragSourceEnd(e,t,n)},n.prototype.dragTargetEnd=function(e,t,n){return this.ej2Instances.dragTargetEnd(e,t,n)},n.prototype.endGroupAction=function(){return this.ej2Instances.endGroupAction()},n.prototype.exportDiagram=function(e){return this.ej2Instances.exportDiagram(e)},n.prototype.exportImage=function(e,t){return this.ej2Instances.exportImage(e,t)},n.prototype.findElementUnderMouse=function(e,t,n){return this.ej2Instances.findElementUnderMouse(e,t,n)},n.prototype.findObjectUnderMouse=function(e,t,n){return this.ej2Instances.findObjectUnderMouse(e,t,n)},n.prototype.findObjectsUnderMouse=function(e,t){return this.ej2Instances.findObjectsUnderMouse(e,t)},n.prototype.findTargetObjectUnderMouse=function(e,t,n,o,r){return this.ej2Instances.findTargetObjectUnderMouse(e,t,n,o,r)},n.prototype.fitToPage=function(e){return this.ej2Instances.fitToPage(e)},n.prototype.getActiveLayer=function(){return this.ej2Instances.getActiveLayer()},n.prototype.getConnectorObject=function(e){return this.ej2Instances.getConnectorObject(e)},n.prototype.getCursor=function(e,t){return this.ej2Instances.getCursor(e,t)},n.prototype.getDiagramBounds=function(){return this.ej2Instances.getDiagramBounds()},n.prototype.getDiagramContent=function(e){return this.ej2Instances.getDiagramContent(e)},n.prototype.getEdges=function(e){return this.ej2Instances.getEdges(e)},n.prototype.getHistoryStack=function(e){return this.ej2Instances.getHistoryStack(e)},n.prototype.getNodeObject=function(e){return this.ej2Instances.getNodeObject(e)},n.prototype.getObject=function(e){return this.ej2Instances.getObject(e)},n.prototype.getParentId=function(e){return this.ej2Instances.getParentId(e)},n.prototype.getTool=function(e){return this.ej2Instances.getTool(e)},n.prototype.group=function(){return this.ej2Instances.group()},n.prototype.hideTooltip=function(e){return this.ej2Instances.hideTooltip(e)},n.prototype.insertData=function(e){return this.ej2Instances.insertData(e)},n.prototype.loadDiagram=function(e){return this.ej2Instances.loadDiagram(e)},n.prototype.moveForward=function(){return this.ej2Instances.moveForward()},n.prototype.moveObjects=function(e,t){return this.ej2Instances.moveObjects(e,t)},n.prototype.moveObjectsUp=function(e,t){return this.ej2Instances.moveObjectsUp(e,t)},n.prototype.nudge=function(e,t,n){return this.ej2Instances.nudge(e,t,n)},n.prototype.pan=function(e,t,n){return this.ej2Instances.pan(e,t,n)},n.prototype.paste=function(e){return this.ej2Instances.paste(e)},n.prototype.print=function(e){return this.ej2Instances.print(e)},n.prototype.printImage=function(e,t){return this.ej2Instances.printImage(e,t)},n.prototype.redo=function(){return this.ej2Instances.redo()},n.prototype.remove=function(e){return this.ej2Instances.remove(e)},n.prototype.removeConstraints=function(e,t){return this.ej2Instances.removeConstraints(e,t)},n.prototype.removeData=function(e){return this.ej2Instances.removeData(e)},n.prototype.removeLabels=function(e,t){return this.ej2Instances.removeLabels(e,t)},n.prototype.removeLane=function(e,t){return this.ej2Instances.removeLane(e,t)},n.prototype.removeLayer=function(e){return this.ej2Instances.removeLayer(e)},n.prototype.removePhase=function(e,t){return this.ej2Instances.removePhase(e,t)},n.prototype.removePorts=function(e,t){return this.ej2Instances.removePorts(e,t)},n.prototype.removeProcess=function(e){return this.ej2Instances.removeProcess(e)},n.prototype.reset=function(){return this.ej2Instances.reset()},n.prototype.resetSegments=function(){return this.ej2Instances.resetSegments()},n.prototype.rotate=function(e,t,n){return this.ej2Instances.rotate(e,t,n)},n.prototype.sameSize=function(e,t){return this.ej2Instances.sameSize(e,t)},n.prototype.saveDiagram=function(){return this.ej2Instances.saveDiagram()},n.prototype.scale=function(e,t,n,o){return this.ej2Instances.scale(e,t,n,o)},n.prototype.select=function(e,t){return this.ej2Instances.select(e,t)},n.prototype.selectAll=function(){return this.ej2Instances.selectAll()},n.prototype.sendBackward=function(){return this.ej2Instances.sendBackward()},n.prototype.sendLayerBackward=function(e){return this.ej2Instances.sendLayerBackward(e)},n.prototype.sendToBack=function(){return this.ej2Instances.sendToBack()},n.prototype.setActiveLayer=function(e){return this.ej2Instances.setActiveLayer(e)},n.prototype.setStackLimit=function(e){return this.ej2Instances.setStackLimit(e)},n.prototype.showTooltip=function(e){return this.ej2Instances.showTooltip(e)},n.prototype.startGroupAction=function(){return this.ej2Instances.startGroupAction()},n.prototype.startTextEdit=function(e,t){return this.ej2Instances.startTextEdit(e,t)},n.prototype.unGroup=function(){return this.ej2Instances.unGroup()},n.prototype.unSelect=function(e){return this.ej2Instances.unSelect(e)},n.prototype.undo=function(){return this.ej2Instances.undo()},n.prototype.updateData=function(e){return this.ej2Instances.updateData(e)},n.prototype.updateViewPort=function(){return this.ej2Instances.updateViewPort()},n.prototype.zoom=function(e,t){return this.ej2Instances.zoom(e,t)},n.prototype.zoomTo=function(e){return this.ej2Instances.zoomTo(e)},n=se([o.EJComponentDecorator({props:ce})],n)}(o.ComponentBase),ue={name:"ejs-diagram",install:function(e){e.component(ue.name,ae),e.component(u.name,a),e.component(i.name,c),e.component(h.name,y),e.component(d.name,l),e.component(A.name,S),e.component(x.name,R),e.component(v.name,P),e.component(I.name,g),e.component(w.name,D),e.component(C.name,_),e.component(oe.name,ne),e.component(te.name,ee),e.component(J.name,N),e.component(U.name,H),e.component(V.name,G),e.component(z.name,B),e.component(X.name,Q),e.component(W.name,q)}},pe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),fe=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return pe(t,e),t.prototype.render=function(){},t=fe([o.EJComponentDecorator({})],t)}(n),de={name:"e-palettes",install:function(e){e.component(de.name,le)}},ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return pe(t,e),t.prototype.render=function(){},t=fe([o.EJComponentDecorator({})],t)}(n),he={name:"e-palette",install:function(e){e.component(he.name,ye)}},me=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),je=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},ge=["accessKey","allowDrag","connectorDefaults","enableAnimation","enablePersistence","enableRtl","enableSearch","expandMode","filterSymbols","getConnectorDefaults","getNodeDefaults","getSymbolInfo","getSymbolTemplate","height","ignoreSymbolsOnSearch","locale","nodeDefaults","palettes","symbolDragSize","symbolHeight","symbolInfo","symbolMargin","symbolPreview","symbolWidth","width","paletteExpanding","paletteSelectionChange"],Ie=[],Pe=function(e){function n(){var n=e.call(this)||this;return n.propKeys=ge,n.models=Ie,n.hasChildDirective=!0,n.hasInjectedModules=!0,n.tagMapper={"e-palettes":"e-palette"},n.tagNameMapper={},n.ej2Instances=new t.SymbolPalette({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return me(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addPaletteItem=function(e,t,n){return this.ej2Instances.addPaletteItem(e,t,n)},n.prototype.addPalettes=function(e){return this.ej2Instances.addPalettes(e)},n.prototype.removePaletteItem=function(e,t){return this.ej2Instances.removePaletteItem(e,t)},n.prototype.removePalettes=function(e){return this.ej2Instances.removePalettes(e)},n=je([o.EJComponentDecorator({props:ge})],n)}(o.ComponentBase),ve={name:"ejs-symbolpalette",install:function(e){e.component(ve.name,Pe),e.component(he.name,ye),e.component(de.name,le)}},be=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Oe=function(e,t,n,o){var r,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(s<3?r(c):s>3?r(t,n,c):r(t,n))||c);return s>3&&c&&Object.defineProperty(t,n,c),c},_e=["enablePersistence","enableRtl","height","locale","sourceID","width","created"],Ce=[],De=function(e){function n(){var n=e.call(this)||this;return n.propKeys=_e,n.models=Ce,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Overview({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return be(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.updateHtmlLayer=function(e){return this.ej2Instances.updateHtmlLayer(e)},n=Oe([o.EJComponentDecorator({props:_e})],n)}(o.ComponentBase),we={name:"ejs-overview",install:function(e){e.component(we.name,De)}};e.LayersDirective=c,e.LayerDirective=a,e.LayersPlugin=i,e.LayerPlugin=u,e.CustomCursorsDirective=l,e.CustomCursorDirective=y,e.CustomCursorsPlugin=d,e.CustomCursorPlugin=h,e.ConnectorFixedUserHandlesDirective=g,e.ConnectorFixedUserHandleDirective=P,e.ConnectorFixedUserHandlesPlugin=I,e.ConnectorFixedUserHandlePlugin=v,e.ConnectorAnnotationsDirective=_,e.ConnectorAnnotationDirective=D,e.ConnectorAnnotationsPlugin=C,e.ConnectorAnnotationPlugin=w,e.ConnectorsDirective=R,e.ConnectorDirective=S,e.ConnectorsPlugin=x,e.ConnectorPlugin=A,e.NodeFixedUserHandlesDirective=H,e.NodeFixedUserHandleDirective=N,e.NodeFixedUserHandlesPlugin=U,e.NodeFixedUserHandlePlugin=J,e.NodeAnnotationsDirective=B,e.NodeAnnotationDirective=G,e.NodeAnnotationsPlugin=z,e.NodeAnnotationPlugin=V,e.PortsDirective=q,e.PortDirective=Q,e.PortsPlugin=W,e.PortPlugin=X,e.NodesDirective=ee,e.NodeDirective=ne,e.NodesPlugin=te,e.NodePlugin=oe,e.DiagramComponent=ae,e.DiagramPlugin=ue,e.PalettesDirective=le,e.PaletteDirective=ye,e.PalettesPlugin=de,e.PalettePlugin=he,e.SymbolPaletteComponent=Pe,e.SymbolPalettePlugin=ve,e.OverviewComponent=De,e.OverviewPlugin=we,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-diagrams"),require("vue"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-diagrams","vue","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Diagrams,e.Vue,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o,r){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),a={name:"e-layers",install:function(e){e.component(a.name,c)}},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),p={name:"e-layer",install:function(e){e.component(p.name,u)}},l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){},t=f([o.EJComponentDecorator({})],t)}(n),y={name:"e-cursormaps",install:function(e){e.component(y.name,d)}},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){},t=f([o.EJComponentDecorator({})],t)}(n),m={name:"e-cursormap",install:function(e){e.component(m.name,h)}},j=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),g=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){},t=g([o.EJComponentDecorator({})],t)}(n),I={name:"e-connector-fixeduserhandles",install:function(e){e.component(I.name,v)}},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){},t=g([o.EJComponentDecorator({})],t)}(n),b={name:"e-connector-fixeduserhandle",install:function(e){e.component(b.name,P)}},_=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.render=function(){},t=O([o.EJComponentDecorator({})],t)}(n),D={name:"e-connector-annotations",install:function(e){e.component(D.name,C)}},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.render=function(){},t=O([o.EJComponentDecorator({})],t)}(n),L={name:"e-connector-annotation",install:function(e){e.component(L.name,w)}},T=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),E=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.render=function(){},t=E([o.EJComponentDecorator({})],t)}(n),x={name:"e-connectors",install:function(e){e.component(x.name,R)}},S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.render=function(){},t=E([o.EJComponentDecorator({})],t)}(n),M={name:"e-connector",install:function(e){e.component(M.name,S)}},A=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),H=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},U=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.render=function(){},t=H([o.EJComponentDecorator({})],t)}(n),N={name:"e-node-fixeduserhandles",install:function(e){e.component(N.name,U)}},k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.render=function(){},t=H([o.EJComponentDecorator({})],t)}(n),J={name:"e-node-fixeduserhandle",install:function(e){e.component(J.name,k)}},B=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),F=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return B(t,e),t.prototype.render=function(){},t=F([o.EJComponentDecorator({})],t)}(n),$={name:"e-node-annotations",install:function(e){e.component($.name,z)}},V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return B(t,e),t.prototype.render=function(){},t=F([o.EJComponentDecorator({})],t)}(n),G={name:"e-node-annotation",install:function(e){e.component(G.name,V)}},q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),K=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return q(t,e),t.prototype.render=function(){},t=K([o.EJComponentDecorator({})],t)}(n),Q={name:"e-node-ports",install:function(e){e.component(Q.name,W)}},X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return q(t,e),t.prototype.render=function(){},t=K([o.EJComponentDecorator({})],t)}(n),Y={name:"e-node-port",install:function(e){e.component(Y.name,X)}},Z=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ee=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},te=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Z(t,e),t.prototype.render=function(){},t=ee([o.EJComponentDecorator({})],t)}(n),ne={name:"e-nodes",install:function(e){e.component(ne.name,te)}},oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Z(t,e),t.prototype.render=function(){},t=ee([o.EJComponentDecorator({})],t)}(n),re={name:"e-node",install:function(e){e.component(re.name,oe)}},se=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ie=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},ce=["isLazyUpdate","plugins","addInfo","annotationTemplate","backgroundColor","bridgeDirection","commandManager","connectorDefaults","connectors","constraints","contextMenuSettings","customCursor","dataSourceSettings","diagramSettings","drawingObject","enableConnectorSplit","enablePersistence","enableRtl","getConnectorDefaults","getCustomCursor","getCustomProperty","getCustomTool","getDescription","getNodeDefaults","height","historyManager","layers","layout","locale","mode","nodeDefaults","nodeTemplate","nodes","pageSettings","rulerSettings","scrollSettings","segmentThumbShape","selectedItems","serializationSettings","setNodeTemplate","snapSettings","tool","tooltip","updateSelection","userHandleTemplate","width","animationComplete","click","collectionChange","commandExecute","connectionChange","contextMenuBeforeItemRender","contextMenuClick","contextMenuOpen","created","dataLoaded","doubleClick","dragEnter","dragLeave","dragOver","drop","expandStateChange","fixedUserHandleClick","historyChange","historyStateChange","keyDown","keyUp","mouseEnter","mouseLeave","mouseOver","onImageLoad","onUserHandleMouseDown","onUserHandleMouseEnter","onUserHandleMouseLeave","onUserHandleMouseUp","positionChange","propertyChange","rotateChange","scrollChange","segmentCollectionChange","selectionChange","sizeChange","sourcePointChange","targetPointChange","textEdit"],ae=[],ue=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=ce,n.models=ae,n.hasChildDirective=!0,n.hasInjectedModules=!0,n.tagMapper={"e-layers":"e-layer","e-cursormaps":"e-cursormap","e-connectors":{"e-connector":{"e-connector-fixeduserhandles":"e-connector-fixeduserhandle","e-connector-annotations":"e-connector-annotation"}},"e-nodes":{"e-node":{"e-node-fixeduserhandles":"e-node-fixeduserhandle","e-node-annotations":"e-node-annotation","e-node-ports":"e-node-port"}}},n.tagNameMapper={"e-cursormaps":"e-customCursor","e-connector-fixeduserhandles":"e-fixedUserHandles","e-connector-annotations":"e-annotations","e-node-fixeduserhandles":"e-fixedUserHandles","e-node-annotations":"e-annotations","e-node-ports":"e-ports"},n.ej2Instances=new t.Diagram({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return se(n,e),n.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],s=this.templateCollection[o];if(s&&s.length){for(var i=0,c=s;i<c.length;i++){var a=c[i];r.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[o]}}},n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.custom=function(){this.updated()},n.prototype.add=function(e,t){return this.ej2Instances.add(e,t)},n.prototype.addChildToGroup=function(e,t){return this.ej2Instances.addChildToGroup(e,t)},n.prototype.addConnector=function(e){return this.ej2Instances.addConnector(e)},n.prototype.addConnectorLabels=function(e,t){return this.ej2Instances.addConnectorLabels(e,t)},n.prototype.addConstraints=function(e,t){return this.ej2Instances.addConstraints(e,t)},n.prototype.addCustomHistoryEntry=function(e){return this.ej2Instances.addCustomHistoryEntry(e)},n.prototype.addHistoryEntry=function(e){return this.ej2Instances.addHistoryEntry(e)},n.prototype.addLabels=function(e,t){return this.ej2Instances.addLabels(e,t)},n.prototype.addLanes=function(e,t,n){return this.ej2Instances.addLanes(e,t,n)},n.prototype.addLayer=function(e,t){return this.ej2Instances.addLayer(e,t)},n.prototype.addNode=function(e,t){return this.ej2Instances.addNode(e,t)},n.prototype.addNodeLabels=function(e,t){return this.ej2Instances.addNodeLabels(e,t)},n.prototype.addNodeToLane=function(e,t,n){return this.ej2Instances.addNodeToLane(e,t,n)},n.prototype.addPhases=function(e,t){return this.ej2Instances.addPhases(e,t)},n.prototype.addPorts=function(e,t){return this.ej2Instances.addPorts(e,t)},n.prototype.addProcess=function(e,t){return this.ej2Instances.addProcess(e,t)},n.prototype.addTextAnnotation=function(e,t){return this.ej2Instances.addTextAnnotation(e,t)},n.prototype.align=function(e,t,n){return this.ej2Instances.align(e,t,n)},n.prototype.bringIntoView=function(e){return this.ej2Instances.bringIntoView(e)},n.prototype.bringLayerForward=function(e){return this.ej2Instances.bringLayerForward(e)},n.prototype.bringToCenter=function(e){return this.ej2Instances.bringToCenter(e)},n.prototype.bringToFront=function(){return this.ej2Instances.bringToFront()},n.prototype.clear=function(){return this.ej2Instances.clear()},n.prototype.clearHistory=function(){return this.ej2Instances.clearHistory()},n.prototype.clearSelection=function(){return this.ej2Instances.clearSelection()},n.prototype.cloneLayer=function(e){return this.ej2Instances.cloneLayer(e)},n.prototype.copy=function(){return this.ej2Instances.copy()},n.prototype.cut=function(){return this.ej2Instances.cut()},n.prototype.distribute=function(e,t){return this.ej2Instances.distribute(e,t)},n.prototype.doLayout=function(){return this.ej2Instances.doLayout()},n.prototype.drag=function(e,t,n){return this.ej2Instances.drag(e,t,n)},n.prototype.dragSourceEnd=function(e,t,n){return this.ej2Instances.dragSourceEnd(e,t,n)},n.prototype.dragTargetEnd=function(e,t,n){return this.ej2Instances.dragTargetEnd(e,t,n)},n.prototype.endGroupAction=function(){return this.ej2Instances.endGroupAction()},n.prototype.exportDiagram=function(e){return this.ej2Instances.exportDiagram(e)},n.prototype.exportImage=function(e,t){return this.ej2Instances.exportImage(e,t)},n.prototype.findElementUnderMouse=function(e,t,n){return this.ej2Instances.findElementUnderMouse(e,t,n)},n.prototype.findObjectUnderMouse=function(e,t,n){return this.ej2Instances.findObjectUnderMouse(e,t,n)},n.prototype.findObjectsUnderMouse=function(e,t){return this.ej2Instances.findObjectsUnderMouse(e,t)},n.prototype.findTargetObjectUnderMouse=function(e,t,n,o,r){return this.ej2Instances.findTargetObjectUnderMouse(e,t,n,o,r)},n.prototype.fitToPage=function(e){return this.ej2Instances.fitToPage(e)},n.prototype.getActiveLayer=function(){return this.ej2Instances.getActiveLayer()},n.prototype.getConnectorObject=function(e){return this.ej2Instances.getConnectorObject(e)},n.prototype.getCursor=function(e,t){return this.ej2Instances.getCursor(e,t)},n.prototype.getDiagramBounds=function(){return this.ej2Instances.getDiagramBounds()},n.prototype.getDiagramContent=function(e){return this.ej2Instances.getDiagramContent(e)},n.prototype.getEdges=function(e){return this.ej2Instances.getEdges(e)},n.prototype.getHistoryStack=function(e){return this.ej2Instances.getHistoryStack(e)},n.prototype.getNodeObject=function(e){return this.ej2Instances.getNodeObject(e)},n.prototype.getObject=function(e){return this.ej2Instances.getObject(e)},n.prototype.getParentId=function(e){return this.ej2Instances.getParentId(e)},n.prototype.getTool=function(e){return this.ej2Instances.getTool(e)},n.prototype.group=function(){return this.ej2Instances.group()},n.prototype.hideTooltip=function(e){return this.ej2Instances.hideTooltip(e)},n.prototype.insertData=function(e){return this.ej2Instances.insertData(e)},n.prototype.loadDiagram=function(e){return this.ej2Instances.loadDiagram(e)},n.prototype.moveForward=function(){return this.ej2Instances.moveForward()},n.prototype.moveObjects=function(e,t){return this.ej2Instances.moveObjects(e,t)},n.prototype.moveObjectsUp=function(e,t){return this.ej2Instances.moveObjectsUp(e,t)},n.prototype.nudge=function(e,t,n){return this.ej2Instances.nudge(e,t,n)},n.prototype.pan=function(e,t,n,o){return this.ej2Instances.pan(e,t,n,o)},n.prototype.paste=function(e){return this.ej2Instances.paste(e)},n.prototype.print=function(e){return this.ej2Instances.print(e)},n.prototype.printImage=function(e,t){return this.ej2Instances.printImage(e,t)},n.prototype.redo=function(){return this.ej2Instances.redo()},n.prototype.remove=function(e){return this.ej2Instances.remove(e)},n.prototype.removeConstraints=function(e,t){return this.ej2Instances.removeConstraints(e,t)},n.prototype.removeData=function(e){return this.ej2Instances.removeData(e)},n.prototype.removeLabels=function(e,t){return this.ej2Instances.removeLabels(e,t)},n.prototype.removeLane=function(e,t){return this.ej2Instances.removeLane(e,t)},n.prototype.removeLayer=function(e){return this.ej2Instances.removeLayer(e)},n.prototype.removePhase=function(e,t){return this.ej2Instances.removePhase(e,t)},n.prototype.removePorts=function(e,t){return this.ej2Instances.removePorts(e,t)},n.prototype.removeProcess=function(e){return this.ej2Instances.removeProcess(e)},n.prototype.reset=function(){return this.ej2Instances.reset()},n.prototype.resetSegments=function(){return this.ej2Instances.resetSegments()},n.prototype.rotate=function(e,t,n){return this.ej2Instances.rotate(e,t,n)},n.prototype.sameSize=function(e,t){return this.ej2Instances.sameSize(e,t)},n.prototype.saveDiagram=function(){return this.ej2Instances.saveDiagram()},n.prototype.scale=function(e,t,n,o){return this.ej2Instances.scale(e,t,n,o)},n.prototype.select=function(e,t,n){return this.ej2Instances.select(e,t,n)},n.prototype.selectAll=function(){return this.ej2Instances.selectAll()},n.prototype.sendBackward=function(){return this.ej2Instances.sendBackward()},n.prototype.sendLayerBackward=function(e){return this.ej2Instances.sendLayerBackward(e)},n.prototype.sendToBack=function(){return this.ej2Instances.sendToBack()},n.prototype.setActiveLayer=function(e){return this.ej2Instances.setActiveLayer(e)},n.prototype.setStackLimit=function(e){return this.ej2Instances.setStackLimit(e)},n.prototype.showTooltip=function(e){return this.ej2Instances.showTooltip(e)},n.prototype.startGroupAction=function(){return this.ej2Instances.startGroupAction()},n.prototype.startTextEdit=function(e,t){return this.ej2Instances.startTextEdit(e,t)},n.prototype.unGroup=function(){return this.ej2Instances.unGroup()},n.prototype.unSelect=function(e){return this.ej2Instances.unSelect(e)},n.prototype.undo=function(){return this.ej2Instances.undo()},n.prototype.updateData=function(e){return this.ej2Instances.updateData(e)},n.prototype.updateViewPort=function(){return this.ej2Instances.updateViewPort()},n.prototype.zoom=function(e,t){return this.ej2Instances.zoom(e,t)},n.prototype.zoomTo=function(e){return this.ej2Instances.zoomTo(e)},n=ie([o.EJComponentDecorator({props:ce})],n)}(o.ComponentBase),pe={name:"ejs-diagram",install:function(e){e.component(pe.name,ue),e.component(p.name,u),e.component(a.name,c),e.component(m.name,h),e.component(y.name,d),e.component(M.name,S),e.component(x.name,R),e.component(b.name,P),e.component(I.name,v),e.component(L.name,w),e.component(D.name,C),e.component(re.name,oe),e.component(ne.name,te),e.component(J.name,k),e.component(N.name,U),e.component(G.name,V),e.component($.name,z),e.component(Y.name,X),e.component(Q.name,W)}},le=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),fe=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},de=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return le(t,e),t.prototype.render=function(){},t=fe([o.EJComponentDecorator({})],t)}(n),ye={name:"e-palettes",install:function(e){e.component(ye.name,de)}},he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return le(t,e),t.prototype.render=function(){},t=fe([o.EJComponentDecorator({})],t)}(n),me={name:"e-palette",install:function(e){e.component(me.name,he)}},je=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ge=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},ve=["isLazyUpdate","plugins","accessKey","allowDrag","connectorDefaults","enableAnimation","enablePersistence","enableRtl","enableSearch","expandMode","filterSymbols","getConnectorDefaults","getNodeDefaults","getSymbolInfo","getSymbolTemplate","height","ignoreSymbolsOnSearch","locale","nodeDefaults","palettes","symbolDragSize","symbolHeight","symbolInfo","symbolMargin","symbolPreview","symbolWidth","width","paletteExpanding","paletteSelectionChange"],Ie=[],Pe=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=ve,n.models=Ie,n.hasChildDirective=!0,n.hasInjectedModules=!0,n.tagMapper={"e-palettes":"e-palette"},n.tagNameMapper={},n.ej2Instances=new t.SymbolPalette({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return je(n,e),n.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],s=this.templateCollection[o];if(s&&s.length){for(var i=0,c=s;i<c.length;i++){var a=c[i];r.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[o]}}},n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.custom=function(){this.updated()},n.prototype.addPaletteItem=function(e,t,n){return this.ej2Instances.addPaletteItem(e,t,n)},n.prototype.addPalettes=function(e){return this.ej2Instances.addPalettes(e)},n.prototype.defaultLocale=function(){return this.ej2Instances.defaultLocale()},n.prototype.removePaletteItem=function(e,t){return this.ej2Instances.removePaletteItem(e,t)},n.prototype.removePalettes=function(e){return this.ej2Instances.removePalettes(e)},n=ge([o.EJComponentDecorator({props:ve})],n)}(o.ComponentBase),be={name:"ejs-symbolpalette",install:function(e){e.component(be.name,Pe),e.component(me.name,he),e.component(ye.name,de)}},_e=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Oe=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},Ce=["isLazyUpdate","plugins","enablePersistence","enableRtl","height","locale","sourceID","width","created"],De=[],we=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=Ce,n.models=De,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Overview({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return _e(n,e),n.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],s=this.templateCollection[o];if(s&&s.length){for(var i=0,c=s;i<c.length;i++){var a=c[i];r.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[o]}}},n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.custom=function(){this.updated()},n.prototype.updateHtmlLayer=function(e){return this.ej2Instances.updateHtmlLayer(e)},n=Oe([o.EJComponentDecorator({props:Ce})],n)}(o.ComponentBase),Le={name:"ejs-overview",install:function(e){e.component(Le.name,we)}};e.LayersDirective=c,e.LayerDirective=u,e.LayersPlugin=a,e.LayerPlugin=p,e.CustomCursorsDirective=d,e.CustomCursorDirective=h,e.CustomCursorsPlugin=y,e.CustomCursorPlugin=m,e.ConnectorFixedUserHandlesDirective=v,e.ConnectorFixedUserHandleDirective=P,e.ConnectorFixedUserHandlesPlugin=I,e.ConnectorFixedUserHandlePlugin=b,e.ConnectorAnnotationsDirective=C,e.ConnectorAnnotationDirective=w,e.ConnectorAnnotationsPlugin=D,e.ConnectorAnnotationPlugin=L,e.ConnectorsDirective=R,e.ConnectorDirective=S,e.ConnectorsPlugin=x,e.ConnectorPlugin=M,e.NodeFixedUserHandlesDirective=U,e.NodeFixedUserHandleDirective=k,e.NodeFixedUserHandlesPlugin=N,e.NodeFixedUserHandlePlugin=J,e.NodeAnnotationsDirective=z,e.NodeAnnotationDirective=V,e.NodeAnnotationsPlugin=$,e.NodeAnnotationPlugin=G,e.PortsDirective=W,e.PortDirective=X,e.PortsPlugin=Q,e.PortPlugin=Y,e.NodesDirective=te,e.NodeDirective=oe,e.NodesPlugin=ne,e.NodePlugin=re,e.DiagramComponent=ue,e.DiagramPlugin=pe,e.PalettesDirective=de,e.PaletteDirective=he,e.PalettesPlugin=ye,e.PalettePlugin=me,e.SymbolPaletteComponent=Pe,e.SymbolPalettePlugin=be,e.OverviewComponent=we,e.OverviewPlugin=Le,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
38
11
  //# sourceMappingURL=ej2-vue-diagrams.umd.min.js.map