@syncfusion/ej2-vue-diagrams 20.3.60 → 20.4.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@
4
4
 
5
5
  ### Diagram
6
6
 
7
+ #### New Feature
8
+
9
+ - `#I409589` - Support to override the mouseWheel event has been added.
10
+
11
+ #### Bug Fixes
12
+
13
+ - `I421148` - Now, connector segment does not get split into multiple segment while hover on node.
14
+ - `#I420202` - The issue on annotation interaction has been resolved.
15
+
16
+ ## 20.3.60 (2022-12-06)
17
+
18
+ ### Diagram
19
+
7
20
  #### Bug Fixes
8
21
 
9
22
  - `#FB38642` - Now, the arg cancel property for sourcePoint and targetPoint change is working properly.
package/README.md CHANGED
@@ -1,75 +1,215 @@
1
- # ej2-vue-diagrams
1
+ # Vue Diagram Control
2
2
 
3
- The diagram component visually represents information. It is also used to create diagrams like flow charts, organizational charts, mind maps, and BPMN either through code or a visual interface.
3
+ The [Vue Diagram](https://www.syncfusion.com/react-components/react-diagram?utm_source=npm&utm_medium=listing&utm_campaign=react-diagram-npm) component is used for visualizing, creating, and editing interactive diagrams. It supports creating flowcharts, organizational charts, mind maps, floor plans, UML diagrams, and BPMN charts either through code or a visual interface.
4
4
 
5
- ![Diagram](https://ej2.syncfusion.com/products/images/diagram/read-me.gif)
5
+ <p align="center">
6
+ <a href="https://ej2.syncfusion.com/vue/documentation/diagram/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=vue-diagram-npm">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-diagram-npm#/bootstrap5/diagram/default-functionality">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/vue-components/vue-diagram?utm_source=npm&utm_medium=listing&utm_campaign=vue-diagram-npm">Learn more</a>
9
+ </p>
6
10
 
7
- > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
11
+ <p align="center">
12
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/vue/vue-diagram.png" alt="Vue Diagram Control"/>
13
+ </p>
8
14
 
9
- > A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
15
+ <p align="center">
16
+ Trusted by the world's leading companies
17
+ <a href="https://www.syncfusion.com">
18
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
19
+ </a>
20
+ </p>
10
21
 
11
22
  ## Setup
12
23
 
13
- To install Diagram and its dependent packages, use the following command
24
+ ### Create an Vue Application
14
25
 
15
- ```sh
16
- npm install @syncfusion/ej2-vue-diagrams
26
+ You can use [`Vue CLI`](https://github.com/vuejs/vue-cli) to setup your Vue 2 applications.To install Vue CLI use the following commands.
27
+
28
+ ```bash
29
+ npm install -g @vue/cli
30
+ vue create quickstart
31
+ cd quickstart
32
+ npm run serve
17
33
  ```
34
+ Initiating a new project prompts us to choose the type of project to be used for the current application. Select the option `Default ([Vue 2] babel, eslint)` from the menu.
18
35
 
19
- ## Resources
36
+ ### Adding Syncfusion Diagram package
20
37
 
21
- * [Getting Started](https://ej2.syncfusion.com/vue/documentation/diagram/getting-started.html)
22
- * [View Online Demos](https://ej2.syncfusion.com/vue/demos/#/material/diagram/defaultfunctionality.html)
23
- * [Product Page](https://www.syncfusion.com/vue-ui-components/diagram)
38
+ All Syncfusion Vue packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install Vue diagram package, use the following command.
24
39
 
25
- ## Supported Frameworks
40
+ ```bash
41
+ npm install @syncfusion/ej2-vue-diagrams --save
42
+ ```
26
43
 
27
- Diagram component is also offered in following list of frameworks.
44
+ ### Registering Diagram Component
45
+
46
+ You can register the Diagram component in your application by using the **Vue.use()**. Refer to the code example given below.
47
+
48
+ ```typescript
49
+ import { DiagramPlugin } from '@syncfusion/ej2-vue-diagrams';
50
+
51
+ Vue.use(DiagramPlugin);
52
+ ```
53
+
54
+ > Registering **DiagramPlugin** in vue, will register the diagram component along with its required child directives globally.
55
+
56
+ ### Adding CSS references for Diagram
57
+
58
+ Add CSS references needed for Diagram in **style** section of the **App.vue** file from **../node_modules/@syncfusion** package folder.
28
59
 
29
- 1. [Angular](https://github.com/syncfusion/ej2-angular-ui-components?utm_source=npm&utm_campaign=diagram)
30
- 2. [React](https://github.com/syncfusion/ej2-react-ui-components?utm_source=npm&utm_campaign=diagram)
31
- 3. [VueJS](https://github.com/syncfusion/ej2-vue-ui-components?utm_source=npm&utm_campaign=diagram)
32
- 4. [ASP.NET Core](https://aspdotnetcore.syncfusion.com/Diagram/FlowChart#/material)
33
- 5. [ASP.NET MVC](https://aspnetmvc.syncfusion.com/Diagram/DefaultFunctionalities#/material)
34
- 6. [JavaScript (ES5)](https://www.syncfusion.com/javascript-ui-controls/diagram)
60
+ ```html
61
+ <style>
62
+ @import "../node_modules/@syncfusion/ej2-diagrams/styles/material.css";
63
+ @import "../node_modules/@syncfusion/ej2-vue-diagrams/styles/material.css";
64
+ @import "../node_modules/@syncfusion/ej2-base/styles/material.css";
65
+ @import "../node_modules/@syncfusion/ej2-popups/styles/material.css";
66
+ @import "../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css";
67
+ @import "../node_modules/@syncfusion/ej2-navigations/styles/material.css";
68
+ </style>
69
+ ```
70
+
71
+ ## Add Diagram Component
72
+
73
+ Add the Vue Diagram by using **ejs-diagram** selector in **template** section of the **App.vue** file.
74
+
75
+ ```html
76
+ <template>
77
+ <div id="app">
78
+ <ejs-diagram id="diagram" :width='width' :height='height' :nodes='nodes' :connectors='connectors'></ejs-diagram>
79
+ </div>
80
+ </template>
81
+ <script>
82
+ import Vue from "vue";
83
+ import { DiagramPlugin } from "@syncfusion/ej2-vue-diagrams";
84
+
85
+ Vue.use(DiagramPlugin);
86
+
87
+ //Initializes the nodes for the diagram
88
+ let nodes: NodeModel[] = [
89
+ {
90
+ id: "begin",
91
+ height: 60,
92
+ offsetX: 300,
93
+ offsetY: 80,
94
+ shape: { type: "Flow", shape: "Terminator" },
95
+ annotations: [
96
+ {
97
+ content: "Begin"
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ id: "process",
103
+ height: 60,
104
+ offsetX: 300,
105
+ offsetY: 160,
106
+ shape: { type: "Flow", shape: "Decision" },
107
+ annotations: [
108
+ {
109
+ content: "Process"
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ id: "end",
115
+ height: 60,
116
+ offsetX: 300,
117
+ offsetY: 240,
118
+ shape: { type: "Flow", shape: "Process" },
119
+ annotations: [
120
+ {
121
+ content: "End"
122
+ }
123
+ ]
124
+ },
125
+ ];
126
+ //Initializes the connector for the diagram
127
+ let connectors: ConnectorModel[] = [
128
+ { id: "connector1", sourceID: "begin", targetID: "process" },
129
+ { id: "connector2", sourceID: "process", targetID: "end" },
130
+ ];
131
+
132
+ export default {
133
+ data() {
134
+ return {
135
+ width: "100%",
136
+ height: "350px",
137
+ nodes: nodes,
138
+ connectors: connectors
139
+ };
140
+ },
141
+ }
142
+ </script>
143
+ <style>
144
+ @import "../node_modules/@syncfusion/ej2-diagrams/styles/material.css";
145
+ @import "../node_modules/@syncfusion/ej2-vue-diagrams/styles/material.css";
146
+ @import "../node_modules/@syncfusion/ej2-base/styles/material.css";
147
+ @import "../node_modules/@syncfusion/ej2-popups/styles/material.css";
148
+ @import "../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css";
149
+ @import "../node_modules/@syncfusion/ej2-navigations/styles/material.css";
150
+ </style>
151
+ ```
152
+ > Refer the [Getting Started with Vue3](https://ej2.syncfusion.com/vue/documentation/diagram/getting-started-vue-3/) for using Syncfusion Vue components in Vue 3 applications.
153
+
154
+ ## Supported frameworks
155
+
156
+ Diagram component is also offered in following list of frameworks.
35
157
 
36
- ## Showcase samples
158
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
159
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
37
160
 
38
- * Diagram Builder ([Source](https://github.com/syncfusion/ej2-showcase-ng-diagrambuilder), [Live Demo](https://ej2.syncfusion.com/showcase/angular/diagrambuilder/))
161
+ ## Use case demos
39
162
 
163
+ * [Vue Diagram Builder demo](https://ej2.syncfusion.com/showcase/vue/diagrambuilder/)
164
+ * [Vue Organizational Chart demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/organization-model.html)
165
+ * [Vue Mind Map demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/mind-map.html)
166
+ * [Vue BPMN Editor demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/bpmn-editor.html)
167
+ * [Vue Logic Circuit Diagram demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/logical-circuit.html)
168
+ * [Vue UML Activity Diagram demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/uml-activity.html)
169
+ * [Vue Network Diagram demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/network-diagram.html)
170
+ * [Vue UML Class Diagram demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/uml-class-diagram.html)
171
+ * [Vue Venn Diagram demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/venn-diagram.html)
172
+ * [Vue Fishbone Diagram demo](https://ej2.syncfusion.com/vue/demos/#/bootstrap5/diagram/fishbone-diagram.html)
40
173
 
41
174
  ## Key Features
42
175
 
43
- - [**Nodes**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/node.html) - Nodes are used to host graphical objects (path or controls) that can be arranged and manipulated on a diagram page. Many predefined standard shapes are included. Custom shapes can also be created and added easily.
44
- - [**Connectors**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/connector.html) - The relationship between two nodes is represented using a connector.
45
- - [**Labels**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/annotation.html)- Labels are used to annotate nodes and connectors.
46
- - [**Interactive Features**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/drawing-tool.html) - Interactive features are used to improve the run time editing experience of a diagram.
47
- - [**Data Binding**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/local-data.html) - Generates diagram with nodes and connectors based on the information provided from an external data source.
48
- - [**Commands**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/keyboard-functions.html) - Supports a set of predefined commands that helps edit the diagram using keyboard. It is also possible to configure new commands and key combinations.
49
- - [**Automatic Layout**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/hierarchical-model.html) - Automatic layouts are used to arrange nodes automatically based on a predefined layout logic. There is built-in support for organizational chart layout, hierarchical tree layout, symmetric layout, radial tree layout, and mind map layout.
50
- - [**Overview Panel**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/overview.html) - The overview panel is used to improve navigation experience when exploring large diagrams.
51
- - [**SymbolPalettes**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/symbol-palette.html) - The symbol palette is a gallery of reusable symbols and nodes that can be dragged and dropped on the surface of a diagram.
52
- - [**Rulers**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/drawing-tool.html) - The ruler provides horizontal and vertical guides for measuring diagram objects in diagram control.
53
- - [**Serialization**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/serialization.html) - When saved in JSON format a diagram’s state persists, and then it can be loaded back using serialization.
176
+ - [**Nodes**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/node.html) - Nodes are used to host graphical objects (path or controls) that can be arranged and manipulated on a diagram page. Many predefined standard shapes are included. Custom shapes can also be created and added easily.
177
+ - [**Connectors**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/connector.html) - The relationship between two nodes is represented using a connector.
178
+ - [**Labels**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/annotation.html)- Labels are used to annotate nodes and connectors.
179
+ * [**Ports**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/port.html) - Ports act as the connection points of the node and allows to create connections with only those specific points.
180
+ - [**Interactive Features**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/drawing-tool.html) - Interactive features are used to improve the run time editing experience of a diagram.
181
+ - [**Data Binding**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/local-data.html) - Generates diagram with nodes and connectors based on the information provided from an external data source.
182
+ - [**Commands**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/keyboard-functions.html) - Supports a set of predefined commands that helps edit the diagram using keyboard. It is also possible to configure new commands and key combinations.
183
+ - [**Automatic Layout**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/hierarchical-model.html) - Automatic layouts are used to arrange nodes automatically based on a predefined layout logic. There is built-in support for organizational chart layout, hierarchical tree layout, symmetric layout, radial tree layout, and mind map layout.
184
+ - [**Overview Panel**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/overview.html) - The overview panel is used to improve navigation experience when exploring large diagrams.
185
+ - [**SymbolPalettes**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/symbol-palette.html) - The symbol palette is a gallery of reusable symbols and nodes that can be dragged and dropped on the surface of a diagram.
186
+ - [**Rulers**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/drawing-tool.html) - The ruler provides horizontal and vertical guides for measuring diagram objects in diagram control.
187
+ - [**Serialization**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/serialization.html) - When saved in JSON format a diagram’s state persists, and then it can be loaded back using serialization.
54
188
  - [**Exporting and Printing**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/print-export.html) - Diagrams can be exported as .png, .jpeg, .bmp, and .svg image files, and can also be printed as documents.
55
- - [**Gridlines**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/defaultfunctionality.html) - Gridlines are the pattern of lines drawn behind diagram elements. It provides a visual guidance while dragging or arranging the objects on a diagram surface.
56
- - [**Page Layout**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/print-export.html)- The drawing surface can be configured to page-like appearance using page size, orientation, and margins.
57
- - [**Context Menu**](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_campaign=diagram#/material/diagram/keyboard-functions.html) - Frequently used commands can easily be mapped to the context menu.
189
+ - [**Gridlines**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/default-functionality.html) - Gridlines are the pattern of lines drawn behind diagram elements. It provides a visual guidance while dragging or arranging the objects on a diagram surface.
190
+ - [**Page Layout**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/print-export.html)- The drawing surface can be configured to page-like appearance using page size, orientation, and margins.
191
+ - [**Context Menu**](https://ej2.syncfusion.com/vue/demos/#/material/diagram/keyboard-functions.html) - Frequently used commands can easily be mapped to the context menu.
58
192
 
59
193
  ## Support
60
194
 
61
- Product support is available for through following mediums.
195
+ Product support is available through the following mediums.
62
196
 
63
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=diagram) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=diagram).
64
- * New [GitHub issue](https://github.com/syncfusion/ej2-vue-ui-components/issues/new).
65
- * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
197
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
198
+ * [Community forum](https://www.syncfusion.com/forums/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-diagram-npm)
199
+ * [GitHub issues](https://github.com/syncfusion/ej2-vue-ui-components/issues/new)
200
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-diagram-npm)
201
+ * Live chat
66
202
 
67
- ## License
203
+ ## Changelog
68
204
 
69
- Check the license detail [here](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_campaign=diagram).
205
+ Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/diagrams/CHANGELOG.md). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
70
206
 
71
- ## Changelog
207
+ ## License and copyright
208
+
209
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [Vue UI components](https://www.syncfusion.com/vue-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
210
+
211
+ > A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
72
212
 
73
- Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/diagrams/CHANGELOG.md)
213
+ See [LICENSE FILE](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=vue-diagram-npm) for more info.
74
214
 
75
215
  © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-diagrams.umd.min.js
3
- * version : 20.3.60
3
+ * version : 20.4.38
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)}},p=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),u={name:"e-layer",install:function(e){e.component(u.name,p)}},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","onImageLoad","onUserHandleMouseDown","onUserHandleMouseEnter","onUserHandleMouseLeave","onUserHandleMouseUp","positionChange","propertyChange","rotateChange","scrollChange","segmentCollectionChange","selectionChange","sizeChange","sourcePointChange","targetPointChange","textEdit","elementDraw"],ae=[],pe=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),ue={name:"ejs-diagram",install:function(e){e.component(ue.name,pe),e.component(u.name,p),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=p,e.LayersPlugin=a,e.LayerPlugin=u,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=pe,e.DiagramPlugin=ue,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("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})});
11
11
  //# sourceMappingURL=ej2-vue-diagrams.umd.min.js.map