@syncfusion/ej2-vue-diagrams 19.4.56 → 20.1.47
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 +4 -10
- package/dist/ej2-vue-diagrams.umd.min.js +2 -2
- package/dist/es6/ej2-vue-diagrams.es2015.js +389 -27
- package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-diagrams.es5.js +262 -25
- package/dist/es6/ej2-vue-diagrams.es5.js.map +1 -1
- package/dist/global/ej2-vue-diagrams.min.js +2 -2
- package/package.json +8 -8
- package/src/diagram/connector-annotation.directive.d.ts +3 -1
- package/src/diagram/connector-annotation.directive.js +24 -2
- package/src/diagram/connector-fixeduserhandle.directive.d.ts +3 -1
- package/src/diagram/connector-fixeduserhandle.directive.js +24 -2
- package/src/diagram/connectors.directive.d.ts +3 -1
- package/src/diagram/connectors.directive.js +24 -2
- package/src/diagram/customcursor.directive.d.ts +3 -1
- package/src/diagram/customcursor.directive.js +24 -2
- package/src/diagram/diagram.component.d.ts +1 -0
- package/src/diagram/diagram.component.js +10 -1
- package/src/diagram/layers.directive.d.ts +3 -1
- package/src/diagram/layers.directive.js +24 -2
- package/src/diagram/node-annotation.directive.d.ts +3 -1
- package/src/diagram/node-annotation.directive.js +24 -2
- package/src/diagram/node-fixeduserhandle.directive.d.ts +3 -1
- package/src/diagram/node-fixeduserhandle.directive.js +24 -2
- package/src/diagram/nodes.directive.d.ts +3 -1
- package/src/diagram/nodes.directive.js +24 -2
- package/src/diagram/ports.directive.d.ts +3 -1
- package/src/diagram/ports.directive.js +24 -2
- package/src/overview/overview.component.d.ts +1 -0
- package/src/overview/overview.component.js +10 -1
- package/src/symbol-palette/palettes.directive.d.ts +3 -1
- package/src/symbol-palette/palettes.directive.js +24 -2
- package/src/symbol-palette/symbolpalette.component.d.ts +1 -0
- package/src/symbol-palette/symbolpalette.component.js +10 -1
- package/styles/diagram/fluent-dark.css +396 -0
- package/styles/diagram/fluent-dark.scss +1 -0
- package/styles/diagram/fluent.css +396 -0
- package/styles/diagram/fluent.scss +1 -0
- package/styles/fluent-dark.css +396 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +396 -0
- package/styles/fluent.scss +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Diagram, Overview, SymbolPalette } from '@syncfusion/ej2-diagrams';
|
|
2
2
|
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
|
-
import Vue$1 from 'vue';
|
|
5
4
|
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
5
|
+
import Vue$1 from 'vue';
|
|
6
6
|
|
|
7
7
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8
8
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -10,6 +10,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
10
10
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
|
+
// {{VueImport}}
|
|
13
14
|
const isExecute = gh ? false : true;
|
|
14
15
|
let vueImport;
|
|
15
16
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -18,16 +19,47 @@ if (!isExecute || parseInt(allVue.version) < 3) {
|
|
|
18
19
|
else {
|
|
19
20
|
vueImport = Vue$1;
|
|
20
21
|
}
|
|
21
|
-
let LayersDirective =
|
|
22
|
-
|
|
22
|
+
let LayersDirective =
|
|
23
|
+
/* Start Options({
|
|
24
|
+
inject: {
|
|
25
|
+
custom: {
|
|
26
|
+
default: null
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}) End */
|
|
30
|
+
class LayersDirective extends vueImport {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(arguments);
|
|
33
|
+
}
|
|
34
|
+
render(createElement) {
|
|
35
|
+
if (gh) {
|
|
36
|
+
let h = gh || createElement;
|
|
37
|
+
let slots = null;
|
|
38
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
39
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
40
|
+
}
|
|
41
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
42
|
+
}
|
|
23
43
|
return;
|
|
24
44
|
}
|
|
45
|
+
updated() {
|
|
46
|
+
if (gh && this.custom) {
|
|
47
|
+
this.custom();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
25
50
|
getTag() {
|
|
26
51
|
return 'e-layers';
|
|
27
52
|
}
|
|
28
53
|
};
|
|
29
54
|
LayersDirective = __decorate([
|
|
30
55
|
EJComponentDecorator({}, isExecute)
|
|
56
|
+
/* Start Options({
|
|
57
|
+
inject: {
|
|
58
|
+
custom: {
|
|
59
|
+
default: null
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}) End */
|
|
31
63
|
], LayersDirective);
|
|
32
64
|
const LayersPlugin = {
|
|
33
65
|
name: 'e-layers',
|
|
@@ -71,6 +103,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
71
103
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
72
104
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
73
105
|
};
|
|
106
|
+
// {{VueImport}}
|
|
74
107
|
const isExecute$1 = gh ? false : true;
|
|
75
108
|
let vueImport$1;
|
|
76
109
|
if (!isExecute$1 || parseInt(allVue.version) < 3) {
|
|
@@ -79,16 +112,47 @@ if (!isExecute$1 || parseInt(allVue.version) < 3) {
|
|
|
79
112
|
else {
|
|
80
113
|
vueImport$1 = Vue$1;
|
|
81
114
|
}
|
|
82
|
-
let CustomCursorsDirective =
|
|
83
|
-
|
|
115
|
+
let CustomCursorsDirective =
|
|
116
|
+
/* Start Options({
|
|
117
|
+
inject: {
|
|
118
|
+
custom: {
|
|
119
|
+
default: null
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}) End */
|
|
123
|
+
class CustomCursorsDirective extends vueImport$1 {
|
|
124
|
+
constructor() {
|
|
125
|
+
super(arguments);
|
|
126
|
+
}
|
|
127
|
+
render(createElement) {
|
|
128
|
+
if (gh) {
|
|
129
|
+
let h = gh || createElement;
|
|
130
|
+
let slots = null;
|
|
131
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
132
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
133
|
+
}
|
|
134
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
135
|
+
}
|
|
84
136
|
return;
|
|
85
137
|
}
|
|
138
|
+
updated() {
|
|
139
|
+
if (gh && this.custom) {
|
|
140
|
+
this.custom();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
86
143
|
getTag() {
|
|
87
144
|
return 'e-cursormaps';
|
|
88
145
|
}
|
|
89
146
|
};
|
|
90
147
|
CustomCursorsDirective = __decorate$1([
|
|
91
148
|
EJComponentDecorator({}, isExecute$1)
|
|
149
|
+
/* Start Options({
|
|
150
|
+
inject: {
|
|
151
|
+
custom: {
|
|
152
|
+
default: null
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}) End */
|
|
92
156
|
], CustomCursorsDirective);
|
|
93
157
|
const CustomCursorsPlugin = {
|
|
94
158
|
name: 'e-cursormaps',
|
|
@@ -132,6 +196,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
132
196
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
133
197
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
134
198
|
};
|
|
199
|
+
// {{VueImport}}
|
|
135
200
|
const isExecute$2 = gh ? false : true;
|
|
136
201
|
let vueImport$2;
|
|
137
202
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -140,16 +205,47 @@ if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
|
140
205
|
else {
|
|
141
206
|
vueImport$2 = Vue$1;
|
|
142
207
|
}
|
|
143
|
-
let ConnectorFixedUserHandlesDirective =
|
|
144
|
-
|
|
208
|
+
let ConnectorFixedUserHandlesDirective =
|
|
209
|
+
/* Start Options({
|
|
210
|
+
inject: {
|
|
211
|
+
custom: {
|
|
212
|
+
default: null
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}) End */
|
|
216
|
+
class ConnectorFixedUserHandlesDirective extends vueImport$2 {
|
|
217
|
+
constructor() {
|
|
218
|
+
super(arguments);
|
|
219
|
+
}
|
|
220
|
+
render(createElement) {
|
|
221
|
+
if (gh) {
|
|
222
|
+
let h = gh || createElement;
|
|
223
|
+
let slots = null;
|
|
224
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
225
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
226
|
+
}
|
|
227
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
228
|
+
}
|
|
145
229
|
return;
|
|
146
230
|
}
|
|
231
|
+
updated() {
|
|
232
|
+
if (gh && this.custom) {
|
|
233
|
+
this.custom();
|
|
234
|
+
}
|
|
235
|
+
}
|
|
147
236
|
getTag() {
|
|
148
237
|
return 'e-connector-fixeduserhandles';
|
|
149
238
|
}
|
|
150
239
|
};
|
|
151
240
|
ConnectorFixedUserHandlesDirective = __decorate$2([
|
|
152
241
|
EJComponentDecorator({}, isExecute$2)
|
|
242
|
+
/* Start Options({
|
|
243
|
+
inject: {
|
|
244
|
+
custom: {
|
|
245
|
+
default: null
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}) End */
|
|
153
249
|
], ConnectorFixedUserHandlesDirective);
|
|
154
250
|
const ConnectorFixedUserHandlesPlugin = {
|
|
155
251
|
name: 'e-connector-fixeduserhandles',
|
|
@@ -197,6 +293,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
197
293
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
198
294
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
199
295
|
};
|
|
296
|
+
// {{VueImport}}
|
|
200
297
|
const isExecute$3 = gh ? false : true;
|
|
201
298
|
let vueImport$3;
|
|
202
299
|
if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
@@ -205,16 +302,47 @@ if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
|
205
302
|
else {
|
|
206
303
|
vueImport$3 = Vue$1;
|
|
207
304
|
}
|
|
208
|
-
let ConnectorAnnotationsDirective =
|
|
209
|
-
|
|
305
|
+
let ConnectorAnnotationsDirective =
|
|
306
|
+
/* Start Options({
|
|
307
|
+
inject: {
|
|
308
|
+
custom: {
|
|
309
|
+
default: null
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}) End */
|
|
313
|
+
class ConnectorAnnotationsDirective extends vueImport$3 {
|
|
314
|
+
constructor() {
|
|
315
|
+
super(arguments);
|
|
316
|
+
}
|
|
317
|
+
render(createElement) {
|
|
318
|
+
if (gh) {
|
|
319
|
+
let h = gh || createElement;
|
|
320
|
+
let slots = null;
|
|
321
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
322
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
323
|
+
}
|
|
324
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
325
|
+
}
|
|
210
326
|
return;
|
|
211
327
|
}
|
|
328
|
+
updated() {
|
|
329
|
+
if (gh && this.custom) {
|
|
330
|
+
this.custom();
|
|
331
|
+
}
|
|
332
|
+
}
|
|
212
333
|
getTag() {
|
|
213
334
|
return 'e-connector-annotations';
|
|
214
335
|
}
|
|
215
336
|
};
|
|
216
337
|
ConnectorAnnotationsDirective = __decorate$3([
|
|
217
338
|
EJComponentDecorator({}, isExecute$3)
|
|
339
|
+
/* Start Options({
|
|
340
|
+
inject: {
|
|
341
|
+
custom: {
|
|
342
|
+
default: null
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}) End */
|
|
218
346
|
], ConnectorAnnotationsDirective);
|
|
219
347
|
const ConnectorAnnotationsPlugin = {
|
|
220
348
|
name: 'e-connector-annotations',
|
|
@@ -262,6 +390,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
262
390
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
263
391
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
264
392
|
};
|
|
393
|
+
// {{VueImport}}
|
|
265
394
|
const isExecute$4 = gh ? false : true;
|
|
266
395
|
let vueImport$4;
|
|
267
396
|
if (!isExecute$4 || parseInt(allVue.version) < 3) {
|
|
@@ -270,16 +399,47 @@ if (!isExecute$4 || parseInt(allVue.version) < 3) {
|
|
|
270
399
|
else {
|
|
271
400
|
vueImport$4 = Vue$1;
|
|
272
401
|
}
|
|
273
|
-
let ConnectorsDirective =
|
|
274
|
-
|
|
402
|
+
let ConnectorsDirective =
|
|
403
|
+
/* Start Options({
|
|
404
|
+
inject: {
|
|
405
|
+
custom: {
|
|
406
|
+
default: null
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}) End */
|
|
410
|
+
class ConnectorsDirective extends vueImport$4 {
|
|
411
|
+
constructor() {
|
|
412
|
+
super(arguments);
|
|
413
|
+
}
|
|
414
|
+
render(createElement) {
|
|
415
|
+
if (gh) {
|
|
416
|
+
let h = gh || createElement;
|
|
417
|
+
let slots = null;
|
|
418
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
419
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
420
|
+
}
|
|
421
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
422
|
+
}
|
|
275
423
|
return;
|
|
276
424
|
}
|
|
425
|
+
updated() {
|
|
426
|
+
if (gh && this.custom) {
|
|
427
|
+
this.custom();
|
|
428
|
+
}
|
|
429
|
+
}
|
|
277
430
|
getTag() {
|
|
278
431
|
return 'e-connectors';
|
|
279
432
|
}
|
|
280
433
|
};
|
|
281
434
|
ConnectorsDirective = __decorate$4([
|
|
282
435
|
EJComponentDecorator({}, isExecute$4)
|
|
436
|
+
/* Start Options({
|
|
437
|
+
inject: {
|
|
438
|
+
custom: {
|
|
439
|
+
default: null
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}) End */
|
|
283
443
|
], ConnectorsDirective);
|
|
284
444
|
const ConnectorsPlugin = {
|
|
285
445
|
name: 'e-connectors',
|
|
@@ -322,6 +482,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
322
482
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
323
483
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
324
484
|
};
|
|
485
|
+
// {{VueImport}}
|
|
325
486
|
const isExecute$5 = gh ? false : true;
|
|
326
487
|
let vueImport$5;
|
|
327
488
|
if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
@@ -330,16 +491,47 @@ if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
|
330
491
|
else {
|
|
331
492
|
vueImport$5 = Vue$1;
|
|
332
493
|
}
|
|
333
|
-
let NodeFixedUserHandlesDirective =
|
|
334
|
-
|
|
494
|
+
let NodeFixedUserHandlesDirective =
|
|
495
|
+
/* Start Options({
|
|
496
|
+
inject: {
|
|
497
|
+
custom: {
|
|
498
|
+
default: null
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}) End */
|
|
502
|
+
class NodeFixedUserHandlesDirective extends vueImport$5 {
|
|
503
|
+
constructor() {
|
|
504
|
+
super(arguments);
|
|
505
|
+
}
|
|
506
|
+
render(createElement) {
|
|
507
|
+
if (gh) {
|
|
508
|
+
let h = gh || createElement;
|
|
509
|
+
let slots = null;
|
|
510
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
511
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
512
|
+
}
|
|
513
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
514
|
+
}
|
|
335
515
|
return;
|
|
336
516
|
}
|
|
517
|
+
updated() {
|
|
518
|
+
if (gh && this.custom) {
|
|
519
|
+
this.custom();
|
|
520
|
+
}
|
|
521
|
+
}
|
|
337
522
|
getTag() {
|
|
338
523
|
return 'e-node-fixeduserhandles';
|
|
339
524
|
}
|
|
340
525
|
};
|
|
341
526
|
NodeFixedUserHandlesDirective = __decorate$5([
|
|
342
527
|
EJComponentDecorator({}, isExecute$5)
|
|
528
|
+
/* Start Options({
|
|
529
|
+
inject: {
|
|
530
|
+
custom: {
|
|
531
|
+
default: null
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}) End */
|
|
343
535
|
], NodeFixedUserHandlesDirective);
|
|
344
536
|
const NodeFixedUserHandlesPlugin = {
|
|
345
537
|
name: 'e-node-fixeduserhandles',
|
|
@@ -387,6 +579,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
387
579
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
388
580
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
389
581
|
};
|
|
582
|
+
// {{VueImport}}
|
|
390
583
|
const isExecute$6 = gh ? false : true;
|
|
391
584
|
let vueImport$6;
|
|
392
585
|
if (!isExecute$6 || parseInt(allVue.version) < 3) {
|
|
@@ -395,16 +588,47 @@ if (!isExecute$6 || parseInt(allVue.version) < 3) {
|
|
|
395
588
|
else {
|
|
396
589
|
vueImport$6 = Vue$1;
|
|
397
590
|
}
|
|
398
|
-
let NodeAnnotationsDirective =
|
|
399
|
-
|
|
591
|
+
let NodeAnnotationsDirective =
|
|
592
|
+
/* Start Options({
|
|
593
|
+
inject: {
|
|
594
|
+
custom: {
|
|
595
|
+
default: null
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}) End */
|
|
599
|
+
class NodeAnnotationsDirective extends vueImport$6 {
|
|
600
|
+
constructor() {
|
|
601
|
+
super(arguments);
|
|
602
|
+
}
|
|
603
|
+
render(createElement) {
|
|
604
|
+
if (gh) {
|
|
605
|
+
let h = gh || createElement;
|
|
606
|
+
let slots = null;
|
|
607
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
608
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
609
|
+
}
|
|
610
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
611
|
+
}
|
|
400
612
|
return;
|
|
401
613
|
}
|
|
614
|
+
updated() {
|
|
615
|
+
if (gh && this.custom) {
|
|
616
|
+
this.custom();
|
|
617
|
+
}
|
|
618
|
+
}
|
|
402
619
|
getTag() {
|
|
403
620
|
return 'e-node-annotations';
|
|
404
621
|
}
|
|
405
622
|
};
|
|
406
623
|
NodeAnnotationsDirective = __decorate$6([
|
|
407
624
|
EJComponentDecorator({}, isExecute$6)
|
|
625
|
+
/* Start Options({
|
|
626
|
+
inject: {
|
|
627
|
+
custom: {
|
|
628
|
+
default: null
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}) End */
|
|
408
632
|
], NodeAnnotationsDirective);
|
|
409
633
|
const NodeAnnotationsPlugin = {
|
|
410
634
|
name: 'e-node-annotations',
|
|
@@ -452,6 +676,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
452
676
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
453
677
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
454
678
|
};
|
|
679
|
+
// {{VueImport}}
|
|
455
680
|
const isExecute$7 = gh ? false : true;
|
|
456
681
|
let vueImport$7;
|
|
457
682
|
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
@@ -460,16 +685,47 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
|
460
685
|
else {
|
|
461
686
|
vueImport$7 = Vue$1;
|
|
462
687
|
}
|
|
463
|
-
let PortsDirective =
|
|
464
|
-
|
|
688
|
+
let PortsDirective =
|
|
689
|
+
/* Start Options({
|
|
690
|
+
inject: {
|
|
691
|
+
custom: {
|
|
692
|
+
default: null
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}) End */
|
|
696
|
+
class PortsDirective extends vueImport$7 {
|
|
697
|
+
constructor() {
|
|
698
|
+
super(arguments);
|
|
699
|
+
}
|
|
700
|
+
render(createElement) {
|
|
701
|
+
if (gh) {
|
|
702
|
+
let h = gh || createElement;
|
|
703
|
+
let slots = null;
|
|
704
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
705
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
706
|
+
}
|
|
707
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
708
|
+
}
|
|
465
709
|
return;
|
|
466
710
|
}
|
|
711
|
+
updated() {
|
|
712
|
+
if (gh && this.custom) {
|
|
713
|
+
this.custom();
|
|
714
|
+
}
|
|
715
|
+
}
|
|
467
716
|
getTag() {
|
|
468
717
|
return 'e-node-ports';
|
|
469
718
|
}
|
|
470
719
|
};
|
|
471
720
|
PortsDirective = __decorate$7([
|
|
472
721
|
EJComponentDecorator({}, isExecute$7)
|
|
722
|
+
/* Start Options({
|
|
723
|
+
inject: {
|
|
724
|
+
custom: {
|
|
725
|
+
default: null
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
}) End */
|
|
473
729
|
], PortsDirective);
|
|
474
730
|
const PortsPlugin = {
|
|
475
731
|
name: 'e-node-ports',
|
|
@@ -517,6 +773,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
517
773
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
518
774
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
519
775
|
};
|
|
776
|
+
// {{VueImport}}
|
|
520
777
|
const isExecute$8 = gh ? false : true;
|
|
521
778
|
let vueImport$8;
|
|
522
779
|
if (!isExecute$8 || parseInt(allVue.version) < 3) {
|
|
@@ -525,16 +782,47 @@ if (!isExecute$8 || parseInt(allVue.version) < 3) {
|
|
|
525
782
|
else {
|
|
526
783
|
vueImport$8 = Vue$1;
|
|
527
784
|
}
|
|
528
|
-
let NodesDirective =
|
|
529
|
-
|
|
785
|
+
let NodesDirective =
|
|
786
|
+
/* Start Options({
|
|
787
|
+
inject: {
|
|
788
|
+
custom: {
|
|
789
|
+
default: null
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}) End */
|
|
793
|
+
class NodesDirective extends vueImport$8 {
|
|
794
|
+
constructor() {
|
|
795
|
+
super(arguments);
|
|
796
|
+
}
|
|
797
|
+
render(createElement) {
|
|
798
|
+
if (gh) {
|
|
799
|
+
let h = gh || createElement;
|
|
800
|
+
let slots = null;
|
|
801
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
802
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
803
|
+
}
|
|
804
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
805
|
+
}
|
|
530
806
|
return;
|
|
531
807
|
}
|
|
808
|
+
updated() {
|
|
809
|
+
if (gh && this.custom) {
|
|
810
|
+
this.custom();
|
|
811
|
+
}
|
|
812
|
+
}
|
|
532
813
|
getTag() {
|
|
533
814
|
return 'e-nodes';
|
|
534
815
|
}
|
|
535
816
|
};
|
|
536
817
|
NodesDirective = __decorate$8([
|
|
537
818
|
EJComponentDecorator({}, isExecute$8)
|
|
819
|
+
/* Start Options({
|
|
820
|
+
inject: {
|
|
821
|
+
custom: {
|
|
822
|
+
default: null
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}) End */
|
|
538
826
|
], NodesDirective);
|
|
539
827
|
const NodesPlugin = {
|
|
540
828
|
name: 'e-nodes',
|
|
@@ -599,7 +887,12 @@ let DiagramComponent =
|
|
|
599
887
|
/* Start Options({
|
|
600
888
|
props: props,
|
|
601
889
|
watch: watch,
|
|
602
|
-
emits: emitProbs
|
|
890
|
+
emits: emitProbs,
|
|
891
|
+
provide: function provide() {
|
|
892
|
+
return {
|
|
893
|
+
custom: this.custom
|
|
894
|
+
};
|
|
895
|
+
}
|
|
603
896
|
}) End */
|
|
604
897
|
class DiagramComponent extends ComponentBase {
|
|
605
898
|
constructor() {
|
|
@@ -616,6 +909,7 @@ class DiagramComponent extends ComponentBase {
|
|
|
616
909
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
617
910
|
this.ej2Instances.setProperties = this.setProperties;
|
|
618
911
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
912
|
+
this.updated = this.updated;
|
|
619
913
|
}
|
|
620
914
|
clearTemplate(templateNames) {
|
|
621
915
|
if (!templateNames) {
|
|
@@ -670,6 +964,9 @@ class DiagramComponent extends ComponentBase {
|
|
|
670
964
|
}
|
|
671
965
|
return h('div', slots);
|
|
672
966
|
}
|
|
967
|
+
custom() {
|
|
968
|
+
this.updated();
|
|
969
|
+
}
|
|
673
970
|
add(obj, group) {
|
|
674
971
|
return this.ej2Instances.add(obj, group);
|
|
675
972
|
}
|
|
@@ -969,7 +1266,12 @@ DiagramComponent = __decorate$9([
|
|
|
969
1266
|
/* Start Options({
|
|
970
1267
|
props: props,
|
|
971
1268
|
watch: watch,
|
|
972
|
-
emits: emitProbs
|
|
1269
|
+
emits: emitProbs,
|
|
1270
|
+
provide: function provide() {
|
|
1271
|
+
return {
|
|
1272
|
+
custom: this.custom
|
|
1273
|
+
};
|
|
1274
|
+
}
|
|
973
1275
|
}) End */
|
|
974
1276
|
], DiagramComponent);
|
|
975
1277
|
const DiagramPlugin = {
|
|
@@ -1003,6 +1305,7 @@ var __decorate$10 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1003
1305
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1004
1306
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1005
1307
|
};
|
|
1308
|
+
// {{VueImport}}
|
|
1006
1309
|
const isExecute$10 = gh ? false : true;
|
|
1007
1310
|
let vueImport$9;
|
|
1008
1311
|
if (!isExecute$10 || parseInt(allVue.version) < 3) {
|
|
@@ -1011,16 +1314,47 @@ if (!isExecute$10 || parseInt(allVue.version) < 3) {
|
|
|
1011
1314
|
else {
|
|
1012
1315
|
vueImport$9 = Vue$1;
|
|
1013
1316
|
}
|
|
1014
|
-
let PalettesDirective =
|
|
1015
|
-
|
|
1317
|
+
let PalettesDirective =
|
|
1318
|
+
/* Start Options({
|
|
1319
|
+
inject: {
|
|
1320
|
+
custom: {
|
|
1321
|
+
default: null
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
}) End */
|
|
1325
|
+
class PalettesDirective extends vueImport$9 {
|
|
1326
|
+
constructor() {
|
|
1327
|
+
super(arguments);
|
|
1328
|
+
}
|
|
1329
|
+
render(createElement) {
|
|
1330
|
+
if (gh) {
|
|
1331
|
+
let h = gh || createElement;
|
|
1332
|
+
let slots = null;
|
|
1333
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1334
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1335
|
+
}
|
|
1336
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
1337
|
+
}
|
|
1016
1338
|
return;
|
|
1017
1339
|
}
|
|
1340
|
+
updated() {
|
|
1341
|
+
if (gh && this.custom) {
|
|
1342
|
+
this.custom();
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1018
1345
|
getTag() {
|
|
1019
1346
|
return 'e-palettes';
|
|
1020
1347
|
}
|
|
1021
1348
|
};
|
|
1022
1349
|
PalettesDirective = __decorate$10([
|
|
1023
1350
|
EJComponentDecorator({}, isExecute$10)
|
|
1351
|
+
/* Start Options({
|
|
1352
|
+
inject: {
|
|
1353
|
+
custom: {
|
|
1354
|
+
default: null
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
}) End */
|
|
1024
1358
|
], PalettesDirective);
|
|
1025
1359
|
const PalettesPlugin = {
|
|
1026
1360
|
name: 'e-palettes',
|
|
@@ -1081,7 +1415,12 @@ let SymbolPaletteComponent =
|
|
|
1081
1415
|
/* Start Options({
|
|
1082
1416
|
props: props,
|
|
1083
1417
|
watch: watch,
|
|
1084
|
-
emits: emitProbs
|
|
1418
|
+
emits: emitProbs,
|
|
1419
|
+
provide: function provide() {
|
|
1420
|
+
return {
|
|
1421
|
+
custom: this.custom
|
|
1422
|
+
};
|
|
1423
|
+
}
|
|
1085
1424
|
}) End */
|
|
1086
1425
|
class SymbolPaletteComponent extends ComponentBase {
|
|
1087
1426
|
constructor() {
|
|
@@ -1098,6 +1437,7 @@ class SymbolPaletteComponent extends ComponentBase {
|
|
|
1098
1437
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1099
1438
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1100
1439
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1440
|
+
this.updated = this.updated;
|
|
1101
1441
|
}
|
|
1102
1442
|
clearTemplate(templateNames) {
|
|
1103
1443
|
if (!templateNames) {
|
|
@@ -1152,6 +1492,9 @@ class SymbolPaletteComponent extends ComponentBase {
|
|
|
1152
1492
|
}
|
|
1153
1493
|
return h('div', slots);
|
|
1154
1494
|
}
|
|
1495
|
+
custom() {
|
|
1496
|
+
this.updated();
|
|
1497
|
+
}
|
|
1155
1498
|
addPaletteItem(paletteName, paletteSymbol, isChild) {
|
|
1156
1499
|
return this.ej2Instances.addPaletteItem(paletteName, paletteSymbol, isChild);
|
|
1157
1500
|
}
|
|
@@ -1172,7 +1515,12 @@ SymbolPaletteComponent = __decorate$11([
|
|
|
1172
1515
|
/* Start Options({
|
|
1173
1516
|
props: props,
|
|
1174
1517
|
watch: watch,
|
|
1175
|
-
emits: emitProbs
|
|
1518
|
+
emits: emitProbs,
|
|
1519
|
+
provide: function provide() {
|
|
1520
|
+
return {
|
|
1521
|
+
custom: this.custom
|
|
1522
|
+
};
|
|
1523
|
+
}
|
|
1176
1524
|
}) End */
|
|
1177
1525
|
], SymbolPaletteComponent);
|
|
1178
1526
|
const SymbolPalettePlugin = {
|
|
@@ -1212,7 +1560,12 @@ let OverviewComponent =
|
|
|
1212
1560
|
/* Start Options({
|
|
1213
1561
|
props: props,
|
|
1214
1562
|
watch: watch,
|
|
1215
|
-
emits: emitProbs
|
|
1563
|
+
emits: emitProbs,
|
|
1564
|
+
provide: function provide() {
|
|
1565
|
+
return {
|
|
1566
|
+
custom: this.custom
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1216
1569
|
}) End */
|
|
1217
1570
|
class OverviewComponent extends ComponentBase {
|
|
1218
1571
|
constructor() {
|
|
@@ -1229,6 +1582,7 @@ class OverviewComponent extends ComponentBase {
|
|
|
1229
1582
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1230
1583
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1231
1584
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1585
|
+
this.updated = this.updated;
|
|
1232
1586
|
}
|
|
1233
1587
|
clearTemplate(templateNames) {
|
|
1234
1588
|
if (!templateNames) {
|
|
@@ -1283,6 +1637,9 @@ class OverviewComponent extends ComponentBase {
|
|
|
1283
1637
|
}
|
|
1284
1638
|
return h('div', slots);
|
|
1285
1639
|
}
|
|
1640
|
+
custom() {
|
|
1641
|
+
this.updated();
|
|
1642
|
+
}
|
|
1286
1643
|
updateHtmlLayer(view) {
|
|
1287
1644
|
return this.ej2Instances.updateHtmlLayer(view);
|
|
1288
1645
|
}
|
|
@@ -1294,7 +1651,12 @@ OverviewComponent = __decorate$12([
|
|
|
1294
1651
|
/* Start Options({
|
|
1295
1652
|
props: props,
|
|
1296
1653
|
watch: watch,
|
|
1297
|
-
emits: emitProbs
|
|
1654
|
+
emits: emitProbs,
|
|
1655
|
+
provide: function provide() {
|
|
1656
|
+
return {
|
|
1657
|
+
custom: this.custom
|
|
1658
|
+
};
|
|
1659
|
+
}
|
|
1298
1660
|
}) End */
|
|
1299
1661
|
], OverviewComponent);
|
|
1300
1662
|
const OverviewPlugin = {
|