@syncfusion/ej2-vue-diagrams 21.1.35 → 21.1.36

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 (50) hide show
  1. package/CHANGELOG.md +106 -0
  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 +7 -7
  5. package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-diagrams.es5.js +7 -7
  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 +10 -9
  10. package/src/diagram/diagram.component.js +5 -5
  11. package/src/overview/overview.component.js +1 -1
  12. package/src/symbol-palette/symbolpalette.component.js +1 -1
  13. package/styles/bootstrap-dark.css +2 -2
  14. package/styles/bootstrap.css +2 -2
  15. package/styles/bootstrap4.css +2 -2
  16. package/styles/bootstrap5-dark.css +2 -2
  17. package/styles/bootstrap5.css +2 -2
  18. package/styles/diagram/bootstrap-dark.css +2 -2
  19. package/styles/diagram/bootstrap.css +2 -2
  20. package/styles/diagram/bootstrap4.css +2 -2
  21. package/styles/diagram/bootstrap5-dark.css +2 -2
  22. package/styles/diagram/bootstrap5.css +2 -2
  23. package/styles/diagram/fabric-dark.css +2 -2
  24. package/styles/diagram/fabric.css +2 -2
  25. package/styles/diagram/fluent-dark.css +2 -2
  26. package/styles/diagram/fluent.css +2 -2
  27. package/styles/diagram/highcontrast-light.css +2 -2
  28. package/styles/diagram/highcontrast.css +2 -2
  29. package/styles/diagram/material-dark.css +2 -2
  30. package/styles/diagram/material.css +2 -2
  31. package/styles/diagram/material3-dark.css +431 -0
  32. package/styles/diagram/material3-dark.scss +2 -0
  33. package/styles/diagram/material3.css +487 -0
  34. package/styles/diagram/material3.scss +2 -0
  35. package/styles/diagram/tailwind-dark.css +2 -2
  36. package/styles/diagram/tailwind.css +2 -2
  37. package/styles/fabric-dark.css +2 -2
  38. package/styles/fabric.css +2 -2
  39. package/styles/fluent-dark.css +2 -2
  40. package/styles/fluent.css +2 -2
  41. package/styles/highcontrast-light.css +2 -2
  42. package/styles/highcontrast.css +2 -2
  43. package/styles/material-dark.css +2 -2
  44. package/styles/material.css +2 -2
  45. package/styles/material3-dark.css +431 -0
  46. package/styles/material3-dark.scss +2 -0
  47. package/styles/material3.css +487 -0
  48. package/styles/material3.scss +2 -0
  49. package/styles/tailwind-dark.css +2 -2
  50. package/styles/tailwind.css +2 -2
package/CHANGELOG.md CHANGED
@@ -6,9 +6,115 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
+ - `#I468711` - Now, opacity 0 get working for the image node.
10
+ - `#I182694` - Now, UML multiplicity type ManyToMany get working for annotation label.
11
+ - `#I467016` - Improved rendering performance for layouts with large number of nodes.
12
+ - `#I469741` - Fixed undo redo issue with group nodes.
13
+ - `#I471066` - Now, dragging group node from palette to diagram adds unselectable element when leaving the diagram has been fixed.
14
+ - `#I448032` - Fixed grid lines appearing black in Safari browser.
15
+ - `#I466480` - Improved performance while nudging large number of nodes.
16
+
17
+ ## 22.1.34 (2023-06-21)
18
+
19
+ ### Diagram
20
+
21
+ #### New Features
22
+
23
+ - `#F152758` - Added tooltip support for ports.
24
+ - `#I420267` - Added tooltip support for symbols in the symbol palette.
25
+ - `#I32153` - Provided vertical orientation for mind maps.
26
+ - `#I392082` - Added functionality to load diagrams from EJ1 to EJ2.
27
+ - `#I327078` - Provided support to customize the expand and collapse icons.
28
+
29
+ ## 21.2.9 (2023-06-06)
30
+
31
+ ### Diagram
32
+
33
+ #### Bug Fixes
34
+
35
+ - `#I463138` - Now, Scroll bar is updated properly without flickering while scrolling the diagram using touchpad.
36
+ - `#I464508` - The DOM Exception will no longer thrown while adding group node dynamically with multiple layers.
37
+
38
+ ## 21.2.8 (2023-05-30)
39
+
40
+ ### Diagram
41
+
42
+ #### Bug Fixes
43
+
44
+ - `#I461020` - The undefined Exception will No longer thrown while dragging Swimlane after performing undo/redo on swimlane child nodes.
45
+ - `#I462780` - Now, Nodes are updated properly while zoom out diagram in canvas mode.
46
+
47
+ ## 21.2.6 (2023-05-23)
48
+
49
+ ### Diagram
50
+
51
+ #### Bug Fixes
52
+
53
+ - `#I464229` - Now, Complex hierarchical tree layout is working fine while injecting line distribution.
54
+
55
+ ## 21.2.5 (2023-05-16)
56
+
57
+ ### Diagram
58
+
59
+ #### Bug Fixes
60
+
61
+ - `#I456104` - Now, swimlane child nodes are selectable after save and load.
62
+
63
+ ## 21.2.4 (2023-05-09)
64
+
65
+ ### Diagram
66
+
67
+ #### Bug Fixes
68
+
69
+ - `#I456288` - Now, scroller updated properly when we move nodes outside viewport.
70
+ - `#I458205` - Now, bezier connector annotation alignment is working properly.
71
+ - `#I456037` - Now, while hovering the port with single select and ZoomPan constraints drawing tool enabled.
72
+
73
+ ## 21.2.3 (2023-05-03)
74
+
75
+ ### Diagram
76
+
77
+ #### Bug Fixes
78
+
79
+ - `#I451762` - Now, the flip mode port is working for all nodes.
80
+ - `#I449574` - Now, the performance of the diagram is improved while rendering large number of nodes and connectors.
81
+ - `#I454253` - Now, fill color for bpmn transaction subprocess is applied properly.
82
+ - `#I455551` - Now, history change event does not get triggered while clicking swimlane header for second time.
83
+
84
+ ## 21.1.39 (2023-04-11)
85
+
86
+ ### Diagram
87
+
88
+ #### Bug Fixes
89
+
90
+ - `#I448343` - Now, position change event completed state is fired properly.
91
+ - `#I446954` - Now, the segment does not get dragged when there is no thumb in it.
92
+
93
+ ## 21.1.37 (2023-03-29)
94
+
95
+ ### Diagram
96
+
97
+ #### Bug Fixes
98
+
99
+ - `#I41762` - Now, Different point property for bezier connector is working properly.
100
+ - `#I41808` - Now, Text description for HTML node is rendered properly.
101
+ - `#I41908` - Now, Perfomance of dragging group nodes is improved.
102
+ - `#I41974` - Now, While hovering ports and dragging the multiselected items working properly.
103
+ - `#I443748` - Now, changing the styles dynamically, its working properly.
104
+ - `#I445506` - Now, you can resize the bezier control thumb when we increase the handleSize also.
105
+ - `#I444124` - Now, set the same id for the node and annotation in two different diagrams, the first diagram node annotation is visible properly.
106
+ - `#I447256` - Node renders properly on changing the shape dynamically.
107
+
108
+ ## 21.1.35 (2023-03-23)
109
+
110
+ ### Diagram
111
+
112
+ #### Bug Fixes
113
+
9
114
  - `#F180478` - Now, the performance of diagram while enabling virtualization is improved.
10
115
  - `#F180478` - Now, Overview is updated properly while enabling virtualization.
11
116
  - `#I422299` - Now, swimlane child nodes is selectable after save and load.
117
+ - `#I437322` - Now, drag the connector end thumb is working, while we increase handleSize value.
12
118
  - `#I436649` - Now, connector segment does not get split into multiple segment for top to bottom approach.
13
119
  - `#I440967` - Now, Free hand connector segment collection restored after save and load the diagram.
14
120
  - `#I441075` - Now, position change event does not get triggered while click on the swimlane header.
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-diagrams.umd.min.js
3
- * version : 21.1.35
3
+ * version : 21.1.36
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("@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})});
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{ej2Instance: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,t){return this.ej2Instances.loadDiagram(e,t)},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,s){return this.ej2Instances.nudge(e,t,n,s)},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{ej2Instance: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{ej2Instance: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