@syncfusion/ej2-vue-diagrams 20.4.54 → 21.1.35

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.
Files changed (65) hide show
  1. package/CHANGELOG.md +12 -13
  2. package/dist/ej2-vue-diagrams.umd.min.js +2 -2
  3. package/dist/ej2-vue-diagrams.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-diagrams.es2015.js +750 -1145
  5. package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-diagrams.es5.js +830 -1360
  7. package/dist/es6/ej2-vue-diagrams.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-diagrams.min.js +2 -2
  9. package/package.json +9 -9
  10. package/src/diagram/connector-annotation.directive.d.ts +2 -12
  11. package/src/diagram/connector-annotation.directive.js +22 -71
  12. package/src/diagram/connector-fixeduserhandle.directive.d.ts +2 -12
  13. package/src/diagram/connector-fixeduserhandle.directive.js +22 -71
  14. package/src/diagram/connectors.directive.d.ts +2 -12
  15. package/src/diagram/connectors.directive.js +22 -71
  16. package/src/diagram/customcursor.directive.d.ts +2 -12
  17. package/src/diagram/customcursor.directive.js +22 -71
  18. package/src/diagram/diagram.component.d.ts +3 -120
  19. package/src/diagram/diagram.component.js +378 -407
  20. package/src/diagram/layers.directive.d.ts +2 -12
  21. package/src/diagram/layers.directive.js +22 -71
  22. package/src/diagram/node-annotation.directive.d.ts +2 -12
  23. package/src/diagram/node-annotation.directive.js +22 -71
  24. package/src/diagram/node-fixeduserhandle.directive.d.ts +2 -12
  25. package/src/diagram/node-fixeduserhandle.directive.js +22 -71
  26. package/src/diagram/nodes.directive.d.ts +2 -12
  27. package/src/diagram/nodes.directive.js +22 -71
  28. package/src/diagram/ports.directive.d.ts +2 -12
  29. package/src/diagram/ports.directive.js +22 -71
  30. package/src/overview/overview.component.d.ts +3 -23
  31. package/src/overview/overview.component.js +86 -115
  32. package/src/symbol-palette/palettes.directive.d.ts +2 -12
  33. package/src/symbol-palette/palettes.directive.js +22 -71
  34. package/src/symbol-palette/symbolpalette.component.d.ts +3 -26
  35. package/src/symbol-palette/symbolpalette.component.js +95 -124
  36. package/styles/bootstrap-dark.css +22 -11
  37. package/styles/bootstrap.css +22 -11
  38. package/styles/bootstrap4.css +22 -11
  39. package/styles/bootstrap5-dark.css +24 -13
  40. package/styles/bootstrap5.css +24 -13
  41. package/styles/diagram/bootstrap-dark.css +22 -11
  42. package/styles/diagram/bootstrap.css +22 -11
  43. package/styles/diagram/bootstrap4.css +22 -11
  44. package/styles/diagram/bootstrap5-dark.css +24 -13
  45. package/styles/diagram/bootstrap5.css +24 -13
  46. package/styles/diagram/fabric-dark.css +22 -11
  47. package/styles/diagram/fabric.css +22 -11
  48. package/styles/diagram/fluent-dark.css +24 -13
  49. package/styles/diagram/fluent.css +24 -13
  50. package/styles/diagram/highcontrast-light.css +22 -11
  51. package/styles/diagram/highcontrast.css +22 -11
  52. package/styles/diagram/material-dark.css +22 -11
  53. package/styles/diagram/material.css +22 -11
  54. package/styles/diagram/tailwind-dark.css +23 -12
  55. package/styles/diagram/tailwind.css +23 -12
  56. package/styles/fabric-dark.css +22 -11
  57. package/styles/fabric.css +22 -11
  58. package/styles/fluent-dark.css +24 -13
  59. package/styles/fluent.css +24 -13
  60. package/styles/highcontrast-light.css +22 -11
  61. package/styles/highcontrast.css +22 -11
  62. package/styles/material-dark.css +22 -11
  63. package/styles/material.css +22 -11
  64. package/styles/tailwind-dark.css +23 -12
  65. package/styles/tailwind.css +23 -12
package/CHANGELOG.md CHANGED
@@ -2,18 +2,6 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## 20.4.53 (2023-03-07)
6
-
7
- ### Diagram
8
-
9
- #### Bug Fixes
10
-
11
- - `#I422049` - Now, calling doLayout after injecting line routing module working fine.
12
- - `#F180577` - Now, Send to back command is working when there is single node in layer.
13
- - `#I436649` - Now, connector segment does not get split into multiple segment for top to bottom approach.
14
-
15
- ## 20.4.52 (2023-02-28)
16
-
17
5
  ### Diagram
18
6
 
19
7
  #### Bug Fixes
@@ -21,7 +9,9 @@
21
9
  - `#F180478` - Now, the performance of diagram while enabling virtualization is improved.
22
10
  - `#F180478` - Now, Overview is updated properly while enabling virtualization.
23
11
  - `#I422299` - Now, swimlane child nodes is selectable after save and load.
24
- - `#I437322` - Now, drag the connector end thumb is working, while we increase handleSize value.
12
+ - `#I436649` - Now, connector segment does not get split into multiple segment for top to bottom approach.
13
+ - `#I440967` - Now, Free hand connector segment collection restored after save and load the diagram.
14
+ - `#I441075` - Now, position change event does not get triggered while click on the swimlane header.
25
15
 
26
16
  ## 20.4.50 (2023-02-14)
27
17
 
@@ -57,6 +47,15 @@
57
47
 
58
48
  ### Diagram
59
49
 
50
+ #### Bug Fixes
51
+
52
+ - `#I421800` - Now, bezier connector rendered properly while save and load the diagram.
53
+ - `#I417240` - Now, dropping bpmn text annotation node inside the swimlane is working properly.
54
+
55
+ ## 20.4.38 (2022-12-22)
56
+
57
+ ### Diagram
58
+
60
59
  #### New Feature
61
60
 
62
61
  - `#I409589` - Support to override the mouseWheel event has been added.
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-diagrams.umd.min.js
3
- * version : 20.4.54
3
+ * version : 21.1.35
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
- !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),A={name:"e-connector",install:function(e){e.component(A.name,S)}},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)}}(),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 M(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 M(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","mouseWheel","onImageLoad","onUserHandleMouseDown","onUserHandleMouseEnter","onUserHandleMouseLeave","onUserHandleMouseUp","positionChange","propertyChange","rotateChange","scrollChange","segmentCollectionChange","selectionChange","sizeChange","sourcePointChange","targetPointChange","textEdit","elementDraw"],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,t){return this.ej2Instances.addHistoryEntry(e,t)},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.getDiagramAction=function(e){return this.ej2Instances.getDiagramAction(e)},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(A.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.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=A,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})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-diagrams"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-diagrams","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Diagrams,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,s){"use strict";var o=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-layers"}}}),i={name:"e-layers",install:function(e){e.component(i.name,o)}},r=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-layer"}}}),a={name:"e-layer",install:function(e){e.component(a.name,r)}},c=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-cursormaps"}}}),u={name:"e-cursormaps",install:function(e){e.component(u.name,c)}},d=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-cursormap"}}}),l={name:"e-cursormap",install:function(e){e.component(l.name,d)}},m=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-connector-fixeduserhandles"}}}),h={name:"e-connector-fixeduserhandles",install:function(e){e.component(h.name,m)}},f=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-connector-fixeduserhandle"}}}),p={name:"e-connector-fixeduserhandle",install:function(e){e.component(p.name,f)}},g=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-connector-annotations"}}}),j={name:"e-connector-annotations",install:function(e){e.component(j.name,g)}},v=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-connector-annotation"}}}),I={name:"e-connector-annotation",install:function(e){e.component(I.name,v)}},C=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-connectors"}}}),y={name:"e-connectors",install:function(e){e.component(y.name,C)}},x=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-connector"}}}),P={name:"e-connector",install:function(e){e.component(P.name,x)}},D=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-node-fixeduserhandles"}}}),b={name:"e-node-fixeduserhandles",install:function(e){e.component(b.name,D)}},E=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-node-fixeduserhandle"}}}),T={name:"e-node-fixeduserhandle",install:function(e){e.component(T.name,E)}},$=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-node-annotations"}}}),L={name:"e-node-annotations",install:function(e){e.component(L.name,$)}},O=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-node-annotation"}}}),U={name:"e-node-annotation",install:function(e){e.component(U.name,O)}},S=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-node-ports"}}}),M={name:"e-node-ports",install:function(e){e.component(M.name,S)}},N=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-node-port"}}}),_={name:"e-node-port",install:function(e){e.component(_.name,N)}},w=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-nodes"}}}),H={name:"e-nodes",install:function(e){e.component(H.name,w)}},k=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-node"}}}),A={name:"e-node",install:function(e){e.component(A.name,k)}},V=["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","mouseWheel","onImageLoad","onUserHandleMouseDown","onUserHandleMouseEnter","onUserHandleMouseLeave","onUserHandleMouseUp","positionChange","propertyChange","rotateChange","scrollChange","segmentChange","segmentCollectionChange","selectionChange","sizeChange","sourcePointChange","targetPointChange","textEdit","elementDraw"],B=[],F=n.getProps({props:V}),z=F[0],G=F[1],K=Object.keys(G);K.push("modelchanged","update:modelValue");for(var R=0,q=B;R<q.length;R++){var W=q[R];K.push("update:"+W)}var J=n.vueDefineComponent({name:"DiagramComponent",mixins:[n.ComponentBase],props:z,watch:G,emits:K,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Diagram({}),propKeys:V,models:B,hasChildDirective:!0,hasInjectedModules:!0,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"}}},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"},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{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],i=this.templateCollection[o];if(i&&i.length){for(var r=0,a=i;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),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(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},add:function(e,t){return this.ej2Instances.add(e,t)},addChildToGroup:function(e,t){return this.ej2Instances.addChildToGroup(e,t)},addConnector:function(e){return this.ej2Instances.addConnector(e)},addConnectorLabels:function(e,t){return this.ej2Instances.addConnectorLabels(e,t)},addConstraints:function(e,t){return this.ej2Instances.addConstraints(e,t)},addCustomHistoryEntry:function(e){return this.ej2Instances.addCustomHistoryEntry(e)},addHistoryEntry:function(e,t){return this.ej2Instances.addHistoryEntry(e,t)},addLabels:function(e,t){return this.ej2Instances.addLabels(e,t)},addLanes:function(e,t,n){return this.ej2Instances.addLanes(e,t,n)},addLayer:function(e,t){return this.ej2Instances.addLayer(e,t)},addNode:function(e,t){return this.ej2Instances.addNode(e,t)},addNodeLabels:function(e,t){return this.ej2Instances.addNodeLabels(e,t)},addNodeToLane:function(e,t,n){return this.ej2Instances.addNodeToLane(e,t,n)},addPhases:function(e,t){return this.ej2Instances.addPhases(e,t)},addPorts:function(e,t){return this.ej2Instances.addPorts(e,t)},addProcess:function(e,t){return this.ej2Instances.addProcess(e,t)},addTextAnnotation:function(e,t){return this.ej2Instances.addTextAnnotation(e,t)},align:function(e,t,n){return this.ej2Instances.align(e,t,n)},bringIntoView:function(e){return this.ej2Instances.bringIntoView(e)},bringLayerForward:function(e){return this.ej2Instances.bringLayerForward(e)},bringToCenter:function(e){return this.ej2Instances.bringToCenter(e)},bringToFront:function(){return this.ej2Instances.bringToFront()},clear:function(){return this.ej2Instances.clear()},clearHistory:function(){return this.ej2Instances.clearHistory()},clearSelection:function(){return this.ej2Instances.clearSelection()},cloneLayer:function(e){return this.ej2Instances.cloneLayer(e)},copy:function(){return this.ej2Instances.copy()},cut:function(){return this.ej2Instances.cut()},distribute:function(e,t){return this.ej2Instances.distribute(e,t)},doLayout:function(){return this.ej2Instances.doLayout()},drag:function(e,t,n){return this.ej2Instances.drag(e,t,n)},dragSourceEnd:function(e,t,n){return this.ej2Instances.dragSourceEnd(e,t,n)},dragTargetEnd:function(e,t,n){return this.ej2Instances.dragTargetEnd(e,t,n)},endGroupAction:function(){return this.ej2Instances.endGroupAction()},exportDiagram:function(e){return this.ej2Instances.exportDiagram(e)},exportImage:function(e,t){return this.ej2Instances.exportImage(e,t)},findElementUnderMouse:function(e,t,n){return this.ej2Instances.findElementUnderMouse(e,t,n)},findObjectUnderMouse:function(e,t,n){return this.ej2Instances.findObjectUnderMouse(e,t,n)},findObjectsUnderMouse:function(e,t){return this.ej2Instances.findObjectsUnderMouse(e,t)},findTargetObjectUnderMouse:function(e,t,n,s,o){return this.ej2Instances.findTargetObjectUnderMouse(e,t,n,s,o)},fitToPage:function(e){return this.ej2Instances.fitToPage(e)},getActiveLayer:function(){return this.ej2Instances.getActiveLayer()},getConnectorObject:function(e){return this.ej2Instances.getConnectorObject(e)},getCursor:function(e,t){return this.ej2Instances.getCursor(e,t)},getDiagramAction:function(e){return this.ej2Instances.getDiagramAction(e)},getDiagramBounds:function(){return this.ej2Instances.getDiagramBounds()},getDiagramContent:function(e){return this.ej2Instances.getDiagramContent(e)},getEdges:function(e){return this.ej2Instances.getEdges(e)},getHistoryStack:function(e){return this.ej2Instances.getHistoryStack(e)},getNodeObject:function(e){return this.ej2Instances.getNodeObject(e)},getObject:function(e){return this.ej2Instances.getObject(e)},getParentId:function(e){return this.ej2Instances.getParentId(e)},getTool:function(e){return this.ej2Instances.getTool(e)},group:function(){return this.ej2Instances.group()},hideTooltip:function(e){return this.ej2Instances.hideTooltip(e)},insertData:function(e){return this.ej2Instances.insertData(e)},loadDiagram:function(e){return this.ej2Instances.loadDiagram(e)},moveForward:function(){return this.ej2Instances.moveForward()},moveObjects:function(e,t){return this.ej2Instances.moveObjects(e,t)},moveObjectsUp:function(e,t){return this.ej2Instances.moveObjectsUp(e,t)},nudge:function(e,t,n){return this.ej2Instances.nudge(e,t,n)},pan:function(e,t,n,s){return this.ej2Instances.pan(e,t,n,s)},paste:function(e){return this.ej2Instances.paste(e)},print:function(e){return this.ej2Instances.print(e)},printImage:function(e,t){return this.ej2Instances.printImage(e,t)},redo:function(){return this.ej2Instances.redo()},remove:function(e){return this.ej2Instances.remove(e)},removeConstraints:function(e,t){return this.ej2Instances.removeConstraints(e,t)},removeData:function(e){return this.ej2Instances.removeData(e)},removeLabels:function(e,t){return this.ej2Instances.removeLabels(e,t)},removeLane:function(e,t){return this.ej2Instances.removeLane(e,t)},removeLayer:function(e){return this.ej2Instances.removeLayer(e)},removePhase:function(e,t){return this.ej2Instances.removePhase(e,t)},removePorts:function(e,t){return this.ej2Instances.removePorts(e,t)},removeProcess:function(e){return this.ej2Instances.removeProcess(e)},reset:function(){return this.ej2Instances.reset()},resetSegments:function(){return this.ej2Instances.resetSegments()},rotate:function(e,t,n){return this.ej2Instances.rotate(e,t,n)},sameSize:function(e,t){return this.ej2Instances.sameSize(e,t)},saveDiagram:function(){return this.ej2Instances.saveDiagram()},scale:function(e,t,n,s){return this.ej2Instances.scale(e,t,n,s)},select:function(e,t,n){return this.ej2Instances.select(e,t,n)},selectAll:function(){return this.ej2Instances.selectAll()},sendBackward:function(){return this.ej2Instances.sendBackward()},sendLayerBackward:function(e){return this.ej2Instances.sendLayerBackward(e)},sendToBack:function(){return this.ej2Instances.sendToBack()},setActiveLayer:function(e){return this.ej2Instances.setActiveLayer(e)},setStackLimit:function(e){return this.ej2Instances.setStackLimit(e)},showTooltip:function(e){return this.ej2Instances.showTooltip(e)},startGroupAction:function(){return this.ej2Instances.startGroupAction()},startTextEdit:function(e,t){return this.ej2Instances.startTextEdit(e,t)},unGroup:function(){return this.ej2Instances.unGroup()},unSelect:function(e){return this.ej2Instances.unSelect(e)},undo:function(){return this.ej2Instances.undo()},updateData:function(e){return this.ej2Instances.updateData(e)},updateViewPort:function(){return this.ej2Instances.updateViewPort()},zoom:function(e,t){return this.ej2Instances.zoom(e,t)},zoomTo:function(e){return this.ej2Instances.zoomTo(e)}}}),Q={name:"ejs-diagram",install:function(e){e.component(Q.name,J),e.component(a.name,r),e.component(i.name,o),e.component(l.name,d),e.component(u.name,c),e.component(P.name,x),e.component(y.name,C),e.component(p.name,f),e.component(h.name,m),e.component(I.name,v),e.component(j.name,g),e.component(A.name,k),e.component(H.name,w),e.component(T.name,E),e.component(b.name,D),e.component(U.name,O),e.component(L.name,$),e.component(_.name,N),e.component(M.name,S)}},X=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-palettes"}}}),Y={name:"e-palettes",install:function(e){e.component(Y.name,X)}},Z=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-palette"}}}),ee={name:"e-palette",install:function(e){e.component(ee.name,Z)}},te=["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"],ne=[],se=n.getProps({props:te}),oe=se[0],ie=se[1],re=Object.keys(ie);re.push("modelchanged","update:modelValue");for(var ae=0,ce=ne;ae<ce.length;ae++){var ue=ce[ae];re.push("update:"+ue)}var de=n.vueDefineComponent({name:"SymbolPaletteComponent",mixins:[n.ComponentBase],props:oe,watch:ie,emits:re,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.SymbolPalette({}),propKeys:te,models:ne,hasChildDirective:!0,hasInjectedModules:!0,tagMapper:{"e-palettes":"e-palette"},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{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],i=this.templateCollection[o];if(i&&i.length){for(var r=0,a=i;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),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(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},addPaletteItem:function(e,t,n){return this.ej2Instances.addPaletteItem(e,t,n)},addPalettes:function(e){return this.ej2Instances.addPalettes(e)},removePaletteItem:function(e,t){return this.ej2Instances.removePaletteItem(e,t)},removePalettes:function(e){return this.ej2Instances.removePalettes(e)}}}),le={name:"ejs-symbolpalette",install:function(e){e.component(le.name,de),e.component(ee.name,Z),e.component(Y.name,X)}},me=["isLazyUpdate","plugins","enablePersistence","enableRtl","height","locale","sourceID","width","created"],he=[],fe=n.getProps({props:me}),pe=fe[0],ge=fe[1],je=Object.keys(ge);je.push("modelchanged","update:modelValue");for(var ve=0,Ie=he;ve<Ie.length;ve++){var Ce=Ie[ve];je.push("update:"+Ce)}var ye=n.vueDefineComponent({name:"OverviewComponent",mixins:[n.ComponentBase],props:pe,watch:ge,emits:je,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Overview({}),propKeys:me,models:he,hasChildDirective:!0,hasInjectedModules:!1,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{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],i=this.templateCollection[o];if(i&&i.length){for(var r=0,a=i;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),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(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},updateHtmlLayer:function(e){return this.ej2Instances.updateHtmlLayer(e)}}}),xe={name:"ejs-overview",install:function(e){e.component(xe.name,ye)}};e.LayersDirective=o,e.LayerDirective=r,e.LayersPlugin=i,e.LayerPlugin=a,e.CustomCursorsDirective=c,e.CustomCursorDirective=d,e.CustomCursorsPlugin=u,e.CustomCursorPlugin=l,e.ConnectorFixedUserHandlesDirective=m,e.ConnectorFixedUserHandleDirective=f,e.ConnectorFixedUserHandlesPlugin=h,e.ConnectorFixedUserHandlePlugin=p,e.ConnectorAnnotationsDirective=g,e.ConnectorAnnotationDirective=v,e.ConnectorAnnotationsPlugin=j,e.ConnectorAnnotationPlugin=I,e.ConnectorsDirective=C,e.ConnectorDirective=x,e.ConnectorsPlugin=y,e.ConnectorPlugin=P,e.NodeFixedUserHandlesDirective=D,e.NodeFixedUserHandleDirective=E,e.NodeFixedUserHandlesPlugin=b,e.NodeFixedUserHandlePlugin=T,e.NodeAnnotationsDirective=$,e.NodeAnnotationDirective=O,e.NodeAnnotationsPlugin=L,e.NodeAnnotationPlugin=U,e.PortsDirective=S,e.PortDirective=N,e.PortsPlugin=M,e.PortPlugin=_,e.NodesDirective=w,e.NodeDirective=k,e.NodesPlugin=H,e.NodePlugin=A,e.DiagramComponent=J,e.DiagramPlugin=Q,e.PalettesDirective=X,e.PaletteDirective=Z,e.PalettesPlugin=Y,e.PalettePlugin=ee,e.SymbolPaletteComponent=de,e.SymbolPalettePlugin=le,e.OverviewComponent=ye,e.OverviewPlugin=xe,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-vue-diagrams.umd.min.js.map