@syncfusion/ej2-vue-diagrams 20.2.45 → 20.3.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 +12 -34
- package/dist/ej2-vue-diagrams.umd.min.js +2 -2
- package/dist/ej2-vue-diagrams.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-diagrams.es2015.js +86 -99
- package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-diagrams.es5.js +86 -99
- 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 +0 -1
- package/src/diagram/connector-annotation.directive.js +5 -6
- package/src/diagram/connector-fixeduserhandle.directive.d.ts +0 -1
- package/src/diagram/connector-fixeduserhandle.directive.js +5 -6
- package/src/diagram/connectors.directive.d.ts +0 -1
- package/src/diagram/connectors.directive.js +5 -6
- package/src/diagram/customcursor.directive.d.ts +0 -1
- package/src/diagram/customcursor.directive.js +5 -6
- package/src/diagram/diagram.component.d.ts +2 -2
- package/src/diagram/diagram.component.js +9 -7
- package/src/diagram/layers.directive.d.ts +0 -1
- package/src/diagram/layers.directive.js +5 -6
- package/src/diagram/node-annotation.directive.d.ts +0 -1
- package/src/diagram/node-annotation.directive.js +5 -6
- package/src/diagram/node-fixeduserhandle.directive.d.ts +0 -1
- package/src/diagram/node-fixeduserhandle.directive.js +5 -6
- package/src/diagram/nodes.directive.d.ts +0 -1
- package/src/diagram/nodes.directive.js +5 -6
- package/src/diagram/ports.directive.d.ts +0 -1
- package/src/diagram/ports.directive.js +5 -6
- package/src/overview/overview.component.d.ts +0 -1
- package/src/overview/overview.component.js +3 -4
- package/src/symbol-palette/palettes.directive.d.ts +0 -1
- package/src/symbol-palette/palettes.directive.js +5 -6
- package/src/symbol-palette/symbolpalette.component.d.ts +0 -2
- package/src/symbol-palette/symbolpalette.component.js +3 -7
- package/styles/bootstrap-dark.css +6 -1
- package/styles/bootstrap.css +6 -1
- package/styles/bootstrap4.css +6 -1
- package/styles/bootstrap5-dark.css +7 -1
- package/styles/bootstrap5.css +7 -1
- package/styles/diagram/bootstrap-dark.css +6 -1
- package/styles/diagram/bootstrap.css +6 -1
- package/styles/diagram/bootstrap4.css +6 -1
- package/styles/diagram/bootstrap5-dark.css +7 -1
- package/styles/diagram/bootstrap5.css +7 -1
- package/styles/diagram/fabric-dark.css +6 -1
- package/styles/diagram/fabric.css +6 -1
- package/styles/diagram/fluent-dark.css +7 -1
- package/styles/diagram/fluent.css +7 -1
- package/styles/diagram/highcontrast-light.css +6 -1
- package/styles/diagram/highcontrast.css +7 -1
- package/styles/diagram/material-dark.css +6 -1
- package/styles/diagram/material.css +6 -1
- package/styles/diagram/tailwind-dark.css +7 -1
- package/styles/diagram/tailwind.css +7 -1
- package/styles/fabric-dark.css +6 -1
- package/styles/fabric.css +6 -1
- package/styles/fluent-dark.css +7 -1
- package/styles/fluent.css +7 -1
- package/styles/highcontrast-light.css +6 -1
- package/styles/highcontrast.css +7 -1
- package/styles/material-dark.css +6 -1
- package/styles/material.css +6 -1
- package/styles/tailwind-dark.css +7 -1
- package/styles/tailwind.css +7 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Diagram, Overview, SymbolPalette } from '@syncfusion/ej2-diagrams';
|
|
2
|
-
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
4
|
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
5
5
|
import Vue$1 from 'vue';
|
|
@@ -24,7 +24,6 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
24
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
25
|
};
|
|
26
26
|
import { Options } from 'vue-class-component';
|
|
27
|
-
var isExecute = gh ? false : true;
|
|
28
27
|
var vueImport;
|
|
29
28
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
30
29
|
vueImport = Vue;
|
|
@@ -38,18 +37,18 @@ var LayersDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
38
37
|
return _super.call(this, arguments) || this;
|
|
39
38
|
}
|
|
40
39
|
LayersDirective.prototype.render = function (createElement) {
|
|
41
|
-
if (
|
|
42
|
-
var h = gh
|
|
40
|
+
if (!isExecute) {
|
|
41
|
+
var h = !isExecute ? gh : createElement;
|
|
43
42
|
var slots = null;
|
|
44
43
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
45
|
-
slots =
|
|
44
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
46
45
|
}
|
|
47
46
|
return h('div', { class: 'e-directive' }, slots);
|
|
48
47
|
}
|
|
49
48
|
return;
|
|
50
49
|
};
|
|
51
50
|
LayersDirective.prototype.updated = function () {
|
|
52
|
-
if (
|
|
51
|
+
if (!isExecute && this.custom) {
|
|
53
52
|
this.custom();
|
|
54
53
|
}
|
|
55
54
|
};
|
|
@@ -129,9 +128,8 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
129
128
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
130
129
|
};
|
|
131
130
|
// {{VueImport}}
|
|
132
|
-
var isExecute$1 = gh ? false : true;
|
|
133
131
|
var vueImport$1;
|
|
134
|
-
if (!isExecute
|
|
132
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
135
133
|
vueImport$1 = Vue;
|
|
136
134
|
}
|
|
137
135
|
else {
|
|
@@ -143,18 +141,18 @@ var CustomCursorsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
143
141
|
return _super.call(this, arguments) || this;
|
|
144
142
|
}
|
|
145
143
|
CustomCursorsDirective.prototype.render = function (createElement) {
|
|
146
|
-
if (
|
|
147
|
-
var h = gh
|
|
144
|
+
if (!isExecute) {
|
|
145
|
+
var h = !isExecute ? gh : createElement;
|
|
148
146
|
var slots = null;
|
|
149
147
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
150
|
-
slots =
|
|
148
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
151
149
|
}
|
|
152
150
|
return h('div', { class: 'e-directive' }, slots);
|
|
153
151
|
}
|
|
154
152
|
return;
|
|
155
153
|
};
|
|
156
154
|
CustomCursorsDirective.prototype.updated = function () {
|
|
157
|
-
if (
|
|
155
|
+
if (!isExecute && this.custom) {
|
|
158
156
|
this.custom();
|
|
159
157
|
}
|
|
160
158
|
};
|
|
@@ -162,7 +160,7 @@ var CustomCursorsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
162
160
|
return 'e-cursormaps';
|
|
163
161
|
};
|
|
164
162
|
CustomCursorsDirective = __decorate$1([
|
|
165
|
-
EJComponentDecorator({}, isExecute
|
|
163
|
+
EJComponentDecorator({}, isExecute)
|
|
166
164
|
,Options({
|
|
167
165
|
inject: {
|
|
168
166
|
custom: {
|
|
@@ -203,7 +201,7 @@ var CustomCursorDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
203
201
|
return 'e-cursormap';
|
|
204
202
|
};
|
|
205
203
|
CustomCursorDirective = __decorate$1([
|
|
206
|
-
EJComponentDecorator({}, isExecute
|
|
204
|
+
EJComponentDecorator({}, isExecute)
|
|
207
205
|
], CustomCursorDirective);
|
|
208
206
|
return CustomCursorDirective;
|
|
209
207
|
}(vueImport$1));
|
|
@@ -234,9 +232,8 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
234
232
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
235
233
|
};
|
|
236
234
|
// {{VueImport}}
|
|
237
|
-
var isExecute$2 = gh ? false : true;
|
|
238
235
|
var vueImport$2;
|
|
239
|
-
if (!isExecute
|
|
236
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
240
237
|
vueImport$2 = Vue;
|
|
241
238
|
}
|
|
242
239
|
else {
|
|
@@ -248,18 +245,18 @@ var ConnectorFixedUserHandlesDirective = /** @__PURE__ @class */ (function (_sup
|
|
|
248
245
|
return _super.call(this, arguments) || this;
|
|
249
246
|
}
|
|
250
247
|
ConnectorFixedUserHandlesDirective.prototype.render = function (createElement) {
|
|
251
|
-
if (
|
|
252
|
-
var h = gh
|
|
248
|
+
if (!isExecute) {
|
|
249
|
+
var h = !isExecute ? gh : createElement;
|
|
253
250
|
var slots = null;
|
|
254
251
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
255
|
-
slots =
|
|
252
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
256
253
|
}
|
|
257
254
|
return h('div', { class: 'e-directive' }, slots);
|
|
258
255
|
}
|
|
259
256
|
return;
|
|
260
257
|
};
|
|
261
258
|
ConnectorFixedUserHandlesDirective.prototype.updated = function () {
|
|
262
|
-
if (
|
|
259
|
+
if (!isExecute && this.custom) {
|
|
263
260
|
this.custom();
|
|
264
261
|
}
|
|
265
262
|
};
|
|
@@ -267,7 +264,7 @@ var ConnectorFixedUserHandlesDirective = /** @__PURE__ @class */ (function (_sup
|
|
|
267
264
|
return 'e-connector-fixeduserhandles';
|
|
268
265
|
};
|
|
269
266
|
ConnectorFixedUserHandlesDirective = __decorate$2([
|
|
270
|
-
EJComponentDecorator({}, isExecute
|
|
267
|
+
EJComponentDecorator({}, isExecute)
|
|
271
268
|
,Options({
|
|
272
269
|
inject: {
|
|
273
270
|
custom: {
|
|
@@ -312,7 +309,7 @@ var ConnectorFixedUserHandleDirective = /** @__PURE__ @class */ (function (_supe
|
|
|
312
309
|
return 'e-connector-fixeduserhandle';
|
|
313
310
|
};
|
|
314
311
|
ConnectorFixedUserHandleDirective = __decorate$2([
|
|
315
|
-
EJComponentDecorator({}, isExecute
|
|
312
|
+
EJComponentDecorator({}, isExecute)
|
|
316
313
|
], ConnectorFixedUserHandleDirective);
|
|
317
314
|
return ConnectorFixedUserHandleDirective;
|
|
318
315
|
}(vueImport$2));
|
|
@@ -343,9 +340,8 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
343
340
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
344
341
|
};
|
|
345
342
|
// {{VueImport}}
|
|
346
|
-
var isExecute$3 = gh ? false : true;
|
|
347
343
|
var vueImport$3;
|
|
348
|
-
if (!isExecute
|
|
344
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
349
345
|
vueImport$3 = Vue;
|
|
350
346
|
}
|
|
351
347
|
else {
|
|
@@ -357,18 +353,18 @@ var ConnectorAnnotationsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
357
353
|
return _super.call(this, arguments) || this;
|
|
358
354
|
}
|
|
359
355
|
ConnectorAnnotationsDirective.prototype.render = function (createElement) {
|
|
360
|
-
if (
|
|
361
|
-
var h = gh
|
|
356
|
+
if (!isExecute) {
|
|
357
|
+
var h = !isExecute ? gh : createElement;
|
|
362
358
|
var slots = null;
|
|
363
359
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
364
|
-
slots =
|
|
360
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
365
361
|
}
|
|
366
362
|
return h('div', { class: 'e-directive' }, slots);
|
|
367
363
|
}
|
|
368
364
|
return;
|
|
369
365
|
};
|
|
370
366
|
ConnectorAnnotationsDirective.prototype.updated = function () {
|
|
371
|
-
if (
|
|
367
|
+
if (!isExecute && this.custom) {
|
|
372
368
|
this.custom();
|
|
373
369
|
}
|
|
374
370
|
};
|
|
@@ -376,7 +372,7 @@ var ConnectorAnnotationsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
376
372
|
return 'e-connector-annotations';
|
|
377
373
|
};
|
|
378
374
|
ConnectorAnnotationsDirective = __decorate$3([
|
|
379
|
-
EJComponentDecorator({}, isExecute
|
|
375
|
+
EJComponentDecorator({}, isExecute)
|
|
380
376
|
,Options({
|
|
381
377
|
inject: {
|
|
382
378
|
custom: {
|
|
@@ -421,7 +417,7 @@ var ConnectorAnnotationDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
421
417
|
return 'e-connector-annotation';
|
|
422
418
|
};
|
|
423
419
|
ConnectorAnnotationDirective = __decorate$3([
|
|
424
|
-
EJComponentDecorator({}, isExecute
|
|
420
|
+
EJComponentDecorator({}, isExecute)
|
|
425
421
|
], ConnectorAnnotationDirective);
|
|
426
422
|
return ConnectorAnnotationDirective;
|
|
427
423
|
}(vueImport$3));
|
|
@@ -452,9 +448,8 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
452
448
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
453
449
|
};
|
|
454
450
|
// {{VueImport}}
|
|
455
|
-
var isExecute$4 = gh ? false : true;
|
|
456
451
|
var vueImport$4;
|
|
457
|
-
if (!isExecute
|
|
452
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
458
453
|
vueImport$4 = Vue;
|
|
459
454
|
}
|
|
460
455
|
else {
|
|
@@ -466,18 +461,18 @@ var ConnectorsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
466
461
|
return _super.call(this, arguments) || this;
|
|
467
462
|
}
|
|
468
463
|
ConnectorsDirective.prototype.render = function (createElement) {
|
|
469
|
-
if (
|
|
470
|
-
var h = gh
|
|
464
|
+
if (!isExecute) {
|
|
465
|
+
var h = !isExecute ? gh : createElement;
|
|
471
466
|
var slots = null;
|
|
472
467
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
473
|
-
slots =
|
|
468
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
474
469
|
}
|
|
475
470
|
return h('div', { class: 'e-directive' }, slots);
|
|
476
471
|
}
|
|
477
472
|
return;
|
|
478
473
|
};
|
|
479
474
|
ConnectorsDirective.prototype.updated = function () {
|
|
480
|
-
if (
|
|
475
|
+
if (!isExecute && this.custom) {
|
|
481
476
|
this.custom();
|
|
482
477
|
}
|
|
483
478
|
};
|
|
@@ -485,7 +480,7 @@ var ConnectorsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
485
480
|
return 'e-connectors';
|
|
486
481
|
};
|
|
487
482
|
ConnectorsDirective = __decorate$4([
|
|
488
|
-
EJComponentDecorator({}, isExecute
|
|
483
|
+
EJComponentDecorator({}, isExecute)
|
|
489
484
|
,Options({
|
|
490
485
|
inject: {
|
|
491
486
|
custom: {
|
|
@@ -525,7 +520,7 @@ var ConnectorDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
525
520
|
return 'e-connector';
|
|
526
521
|
};
|
|
527
522
|
ConnectorDirective = __decorate$4([
|
|
528
|
-
EJComponentDecorator({}, isExecute
|
|
523
|
+
EJComponentDecorator({}, isExecute)
|
|
529
524
|
], ConnectorDirective);
|
|
530
525
|
return ConnectorDirective;
|
|
531
526
|
}(vueImport$4));
|
|
@@ -556,9 +551,8 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
556
551
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
557
552
|
};
|
|
558
553
|
// {{VueImport}}
|
|
559
|
-
var isExecute$5 = gh ? false : true;
|
|
560
554
|
var vueImport$5;
|
|
561
|
-
if (!isExecute
|
|
555
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
562
556
|
vueImport$5 = Vue;
|
|
563
557
|
}
|
|
564
558
|
else {
|
|
@@ -570,18 +564,18 @@ var NodeFixedUserHandlesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
570
564
|
return _super.call(this, arguments) || this;
|
|
571
565
|
}
|
|
572
566
|
NodeFixedUserHandlesDirective.prototype.render = function (createElement) {
|
|
573
|
-
if (
|
|
574
|
-
var h = gh
|
|
567
|
+
if (!isExecute) {
|
|
568
|
+
var h = !isExecute ? gh : createElement;
|
|
575
569
|
var slots = null;
|
|
576
570
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
577
|
-
slots =
|
|
571
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
578
572
|
}
|
|
579
573
|
return h('div', { class: 'e-directive' }, slots);
|
|
580
574
|
}
|
|
581
575
|
return;
|
|
582
576
|
};
|
|
583
577
|
NodeFixedUserHandlesDirective.prototype.updated = function () {
|
|
584
|
-
if (
|
|
578
|
+
if (!isExecute && this.custom) {
|
|
585
579
|
this.custom();
|
|
586
580
|
}
|
|
587
581
|
};
|
|
@@ -589,7 +583,7 @@ var NodeFixedUserHandlesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
589
583
|
return 'e-node-fixeduserhandles';
|
|
590
584
|
};
|
|
591
585
|
NodeFixedUserHandlesDirective = __decorate$5([
|
|
592
|
-
EJComponentDecorator({}, isExecute
|
|
586
|
+
EJComponentDecorator({}, isExecute)
|
|
593
587
|
,Options({
|
|
594
588
|
inject: {
|
|
595
589
|
custom: {
|
|
@@ -634,7 +628,7 @@ var NodeFixedUserHandleDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
634
628
|
return 'e-node-fixeduserhandle';
|
|
635
629
|
};
|
|
636
630
|
NodeFixedUserHandleDirective = __decorate$5([
|
|
637
|
-
EJComponentDecorator({}, isExecute
|
|
631
|
+
EJComponentDecorator({}, isExecute)
|
|
638
632
|
], NodeFixedUserHandleDirective);
|
|
639
633
|
return NodeFixedUserHandleDirective;
|
|
640
634
|
}(vueImport$5));
|
|
@@ -665,9 +659,8 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
665
659
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
666
660
|
};
|
|
667
661
|
// {{VueImport}}
|
|
668
|
-
var isExecute$6 = gh ? false : true;
|
|
669
662
|
var vueImport$6;
|
|
670
|
-
if (!isExecute
|
|
663
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
671
664
|
vueImport$6 = Vue;
|
|
672
665
|
}
|
|
673
666
|
else {
|
|
@@ -679,18 +672,18 @@ var NodeAnnotationsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
679
672
|
return _super.call(this, arguments) || this;
|
|
680
673
|
}
|
|
681
674
|
NodeAnnotationsDirective.prototype.render = function (createElement) {
|
|
682
|
-
if (
|
|
683
|
-
var h = gh
|
|
675
|
+
if (!isExecute) {
|
|
676
|
+
var h = !isExecute ? gh : createElement;
|
|
684
677
|
var slots = null;
|
|
685
678
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
686
|
-
slots =
|
|
679
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
687
680
|
}
|
|
688
681
|
return h('div', { class: 'e-directive' }, slots);
|
|
689
682
|
}
|
|
690
683
|
return;
|
|
691
684
|
};
|
|
692
685
|
NodeAnnotationsDirective.prototype.updated = function () {
|
|
693
|
-
if (
|
|
686
|
+
if (!isExecute && this.custom) {
|
|
694
687
|
this.custom();
|
|
695
688
|
}
|
|
696
689
|
};
|
|
@@ -698,7 +691,7 @@ var NodeAnnotationsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
698
691
|
return 'e-node-annotations';
|
|
699
692
|
};
|
|
700
693
|
NodeAnnotationsDirective = __decorate$6([
|
|
701
|
-
EJComponentDecorator({}, isExecute
|
|
694
|
+
EJComponentDecorator({}, isExecute)
|
|
702
695
|
,Options({
|
|
703
696
|
inject: {
|
|
704
697
|
custom: {
|
|
@@ -743,7 +736,7 @@ var NodeAnnotationDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
743
736
|
return 'e-node-annotation';
|
|
744
737
|
};
|
|
745
738
|
NodeAnnotationDirective = __decorate$6([
|
|
746
|
-
EJComponentDecorator({}, isExecute
|
|
739
|
+
EJComponentDecorator({}, isExecute)
|
|
747
740
|
], NodeAnnotationDirective);
|
|
748
741
|
return NodeAnnotationDirective;
|
|
749
742
|
}(vueImport$6));
|
|
@@ -774,9 +767,8 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
774
767
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
775
768
|
};
|
|
776
769
|
// {{VueImport}}
|
|
777
|
-
var isExecute$7 = gh ? false : true;
|
|
778
770
|
var vueImport$7;
|
|
779
|
-
if (!isExecute
|
|
771
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
780
772
|
vueImport$7 = Vue;
|
|
781
773
|
}
|
|
782
774
|
else {
|
|
@@ -788,18 +780,18 @@ var PortsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
788
780
|
return _super.call(this, arguments) || this;
|
|
789
781
|
}
|
|
790
782
|
PortsDirective.prototype.render = function (createElement) {
|
|
791
|
-
if (
|
|
792
|
-
var h = gh
|
|
783
|
+
if (!isExecute) {
|
|
784
|
+
var h = !isExecute ? gh : createElement;
|
|
793
785
|
var slots = null;
|
|
794
786
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
795
|
-
slots =
|
|
787
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
796
788
|
}
|
|
797
789
|
return h('div', { class: 'e-directive' }, slots);
|
|
798
790
|
}
|
|
799
791
|
return;
|
|
800
792
|
};
|
|
801
793
|
PortsDirective.prototype.updated = function () {
|
|
802
|
-
if (
|
|
794
|
+
if (!isExecute && this.custom) {
|
|
803
795
|
this.custom();
|
|
804
796
|
}
|
|
805
797
|
};
|
|
@@ -807,7 +799,7 @@ var PortsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
807
799
|
return 'e-node-ports';
|
|
808
800
|
};
|
|
809
801
|
PortsDirective = __decorate$7([
|
|
810
|
-
EJComponentDecorator({}, isExecute
|
|
802
|
+
EJComponentDecorator({}, isExecute)
|
|
811
803
|
,Options({
|
|
812
804
|
inject: {
|
|
813
805
|
custom: {
|
|
@@ -852,7 +844,7 @@ var PortDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
852
844
|
return 'e-node-port';
|
|
853
845
|
};
|
|
854
846
|
PortDirective = __decorate$7([
|
|
855
|
-
EJComponentDecorator({}, isExecute
|
|
847
|
+
EJComponentDecorator({}, isExecute)
|
|
856
848
|
], PortDirective);
|
|
857
849
|
return PortDirective;
|
|
858
850
|
}(vueImport$7));
|
|
@@ -883,9 +875,8 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
883
875
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
884
876
|
};
|
|
885
877
|
// {{VueImport}}
|
|
886
|
-
var isExecute$8 = gh ? false : true;
|
|
887
878
|
var vueImport$8;
|
|
888
|
-
if (!isExecute
|
|
879
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
889
880
|
vueImport$8 = Vue;
|
|
890
881
|
}
|
|
891
882
|
else {
|
|
@@ -897,18 +888,18 @@ var NodesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
897
888
|
return _super.call(this, arguments) || this;
|
|
898
889
|
}
|
|
899
890
|
NodesDirective.prototype.render = function (createElement) {
|
|
900
|
-
if (
|
|
901
|
-
var h = gh
|
|
891
|
+
if (!isExecute) {
|
|
892
|
+
var h = !isExecute ? gh : createElement;
|
|
902
893
|
var slots = null;
|
|
903
894
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
904
|
-
slots =
|
|
895
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
905
896
|
}
|
|
906
897
|
return h('div', { class: 'e-directive' }, slots);
|
|
907
898
|
}
|
|
908
899
|
return;
|
|
909
900
|
};
|
|
910
901
|
NodesDirective.prototype.updated = function () {
|
|
911
|
-
if (
|
|
902
|
+
if (!isExecute && this.custom) {
|
|
912
903
|
this.custom();
|
|
913
904
|
}
|
|
914
905
|
};
|
|
@@ -916,7 +907,7 @@ var NodesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
916
907
|
return 'e-nodes';
|
|
917
908
|
};
|
|
918
909
|
NodesDirective = __decorate$8([
|
|
919
|
-
EJComponentDecorator({}, isExecute
|
|
910
|
+
EJComponentDecorator({}, isExecute)
|
|
920
911
|
,Options({
|
|
921
912
|
inject: {
|
|
922
913
|
custom: {
|
|
@@ -956,7 +947,7 @@ var NodeDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
956
947
|
return 'e-node';
|
|
957
948
|
};
|
|
958
949
|
NodeDirective = __decorate$8([
|
|
959
|
-
EJComponentDecorator({}, isExecute
|
|
950
|
+
EJComponentDecorator({}, isExecute)
|
|
960
951
|
], NodeDirective);
|
|
961
952
|
return NodeDirective;
|
|
962
953
|
}(vueImport$8));
|
|
@@ -987,7 +978,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
987
978
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
988
979
|
};
|
|
989
980
|
// {{VueImport}}
|
|
990
|
-
var properties = ['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'];
|
|
981
|
+
var properties = ['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'];
|
|
991
982
|
var modelProps = [];
|
|
992
983
|
var testProp = getProps({ props: properties });
|
|
993
984
|
var props = testProp[0];
|
|
@@ -998,7 +989,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
998
989
|
var props_1 = modelProps_1[_i];
|
|
999
990
|
emitProbs.push('update:' + props_1);
|
|
1000
991
|
}
|
|
1001
|
-
var isExecute$9 = gh ? false : true;
|
|
1002
992
|
/**
|
|
1003
993
|
* Represents vue Diagram Component
|
|
1004
994
|
* ```html
|
|
@@ -1015,7 +1005,7 @@ var DiagramComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1015
1005
|
_this.hasInjectedModules = true;
|
|
1016
1006
|
_this.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" } } };
|
|
1017
1007
|
_this.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" };
|
|
1018
|
-
_this.isVue3 = !isExecute
|
|
1008
|
+
_this.isVue3 = !isExecute;
|
|
1019
1009
|
_this.ej2Instances = new Diagram({});
|
|
1020
1010
|
_this.bindProperties();
|
|
1021
1011
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1073,10 +1063,10 @@ var DiagramComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1073
1063
|
}
|
|
1074
1064
|
};
|
|
1075
1065
|
DiagramComponent.prototype.render = function (createElement) {
|
|
1076
|
-
var h = gh
|
|
1066
|
+
var h = !isExecute ? gh : createElement;
|
|
1077
1067
|
var slots = null;
|
|
1078
1068
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1079
|
-
slots =
|
|
1069
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1080
1070
|
}
|
|
1081
1071
|
return h('div', slots);
|
|
1082
1072
|
};
|
|
@@ -1101,8 +1091,8 @@ var DiagramComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1101
1091
|
DiagramComponent.prototype.addCustomHistoryEntry = function (entry) {
|
|
1102
1092
|
return this.ej2Instances.addCustomHistoryEntry(entry);
|
|
1103
1093
|
};
|
|
1104
|
-
DiagramComponent.prototype.addHistoryEntry = function (entry) {
|
|
1105
|
-
return this.ej2Instances.addHistoryEntry(entry);
|
|
1094
|
+
DiagramComponent.prototype.addHistoryEntry = function (entry, sourceId) {
|
|
1095
|
+
return this.ej2Instances.addHistoryEntry(entry, sourceId);
|
|
1106
1096
|
};
|
|
1107
1097
|
DiagramComponent.prototype.addLabels = function (obj, labels) {
|
|
1108
1098
|
return this.ej2Instances.addLabels(obj, labels);
|
|
@@ -1215,6 +1205,9 @@ var DiagramComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1215
1205
|
DiagramComponent.prototype.getCursor = function (action, active) {
|
|
1216
1206
|
return this.ej2Instances.getCursor(action, active);
|
|
1217
1207
|
};
|
|
1208
|
+
DiagramComponent.prototype.getDiagramAction = function (diagramAction) {
|
|
1209
|
+
return this.ej2Instances.getDiagramAction(diagramAction);
|
|
1210
|
+
};
|
|
1218
1211
|
DiagramComponent.prototype.getDiagramBounds = function () {
|
|
1219
1212
|
return this.ej2Instances.getDiagramBounds();
|
|
1220
1213
|
};
|
|
@@ -1377,7 +1370,7 @@ var DiagramComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1377
1370
|
DiagramComponent = __decorate$9([
|
|
1378
1371
|
EJComponentDecorator({
|
|
1379
1372
|
props: properties
|
|
1380
|
-
}, isExecute
|
|
1373
|
+
}, isExecute)
|
|
1381
1374
|
,Options({
|
|
1382
1375
|
props: props,
|
|
1383
1376
|
watch: watch,
|
|
@@ -1436,9 +1429,8 @@ var __decorate$10 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1436
1429
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1437
1430
|
};
|
|
1438
1431
|
// {{VueImport}}
|
|
1439
|
-
var isExecute$10 = gh ? false : true;
|
|
1440
1432
|
var vueImport$9;
|
|
1441
|
-
if (!isExecute
|
|
1433
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
1442
1434
|
vueImport$9 = Vue;
|
|
1443
1435
|
}
|
|
1444
1436
|
else {
|
|
@@ -1450,18 +1442,18 @@ var PalettesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1450
1442
|
return _super.call(this, arguments) || this;
|
|
1451
1443
|
}
|
|
1452
1444
|
PalettesDirective.prototype.render = function (createElement) {
|
|
1453
|
-
if (
|
|
1454
|
-
var h = gh
|
|
1445
|
+
if (!isExecute) {
|
|
1446
|
+
var h = !isExecute ? gh : createElement;
|
|
1455
1447
|
var slots = null;
|
|
1456
1448
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1457
|
-
slots =
|
|
1449
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1458
1450
|
}
|
|
1459
1451
|
return h('div', { class: 'e-directive' }, slots);
|
|
1460
1452
|
}
|
|
1461
1453
|
return;
|
|
1462
1454
|
};
|
|
1463
1455
|
PalettesDirective.prototype.updated = function () {
|
|
1464
|
-
if (
|
|
1456
|
+
if (!isExecute && this.custom) {
|
|
1465
1457
|
this.custom();
|
|
1466
1458
|
}
|
|
1467
1459
|
};
|
|
@@ -1469,7 +1461,7 @@ var PalettesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1469
1461
|
return 'e-palettes';
|
|
1470
1462
|
};
|
|
1471
1463
|
PalettesDirective = __decorate$10([
|
|
1472
|
-
EJComponentDecorator({}, isExecute
|
|
1464
|
+
EJComponentDecorator({}, isExecute)
|
|
1473
1465
|
,Options({
|
|
1474
1466
|
inject: {
|
|
1475
1467
|
custom: {
|
|
@@ -1505,7 +1497,7 @@ var PaletteDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
1505
1497
|
return 'e-palette';
|
|
1506
1498
|
};
|
|
1507
1499
|
PaletteDirective = __decorate$10([
|
|
1508
|
-
EJComponentDecorator({}, isExecute
|
|
1500
|
+
EJComponentDecorator({}, isExecute)
|
|
1509
1501
|
], PaletteDirective);
|
|
1510
1502
|
return PaletteDirective;
|
|
1511
1503
|
}(vueImport$9));
|
|
@@ -1547,7 +1539,6 @@ for (var _i$1 = 0, modelProps_1$1 = modelProps$1; _i$1 < modelProps_1$1.length;
|
|
|
1547
1539
|
var props_1$1 = modelProps_1$1[_i$1];
|
|
1548
1540
|
emitProbs$1.push('update:' + props_1$1);
|
|
1549
1541
|
}
|
|
1550
|
-
var isExecute$11 = gh ? false : true;
|
|
1551
1542
|
/**
|
|
1552
1543
|
* Represents vue SymbolPalette Component
|
|
1553
1544
|
* ```html
|
|
@@ -1564,7 +1555,7 @@ var SymbolPaletteComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1564
1555
|
_this.hasInjectedModules = true;
|
|
1565
1556
|
_this.tagMapper = { "e-palettes": "e-palette" };
|
|
1566
1557
|
_this.tagNameMapper = {};
|
|
1567
|
-
_this.isVue3 = !isExecute
|
|
1558
|
+
_this.isVue3 = !isExecute;
|
|
1568
1559
|
_this.ej2Instances = new SymbolPalette({});
|
|
1569
1560
|
_this.bindProperties();
|
|
1570
1561
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1622,10 +1613,10 @@ var SymbolPaletteComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1622
1613
|
}
|
|
1623
1614
|
};
|
|
1624
1615
|
SymbolPaletteComponent.prototype.render = function (createElement) {
|
|
1625
|
-
var h = gh
|
|
1616
|
+
var h = !isExecute ? gh : createElement;
|
|
1626
1617
|
var slots = null;
|
|
1627
1618
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1628
|
-
slots =
|
|
1619
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1629
1620
|
}
|
|
1630
1621
|
return h('div', slots);
|
|
1631
1622
|
};
|
|
@@ -1638,9 +1629,6 @@ var SymbolPaletteComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1638
1629
|
SymbolPaletteComponent.prototype.addPalettes = function (palettes) {
|
|
1639
1630
|
return this.ej2Instances.addPalettes(palettes);
|
|
1640
1631
|
};
|
|
1641
|
-
SymbolPaletteComponent.prototype.defaultLocale = function () {
|
|
1642
|
-
return this.ej2Instances.defaultLocale();
|
|
1643
|
-
};
|
|
1644
1632
|
SymbolPaletteComponent.prototype.removePaletteItem = function (paletteName, symbolId) {
|
|
1645
1633
|
return this.ej2Instances.removePaletteItem(paletteName, symbolId);
|
|
1646
1634
|
};
|
|
@@ -1650,7 +1638,7 @@ var SymbolPaletteComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1650
1638
|
SymbolPaletteComponent = __decorate$11([
|
|
1651
1639
|
EJComponentDecorator({
|
|
1652
1640
|
props: properties$1
|
|
1653
|
-
}, isExecute
|
|
1641
|
+
}, isExecute)
|
|
1654
1642
|
,Options({
|
|
1655
1643
|
props: props,
|
|
1656
1644
|
watch: watch,
|
|
@@ -1704,7 +1692,6 @@ for (var _i$2 = 0, modelProps_1$2 = modelProps$2; _i$2 < modelProps_1$2.length;
|
|
|
1704
1692
|
var props_1$2 = modelProps_1$2[_i$2];
|
|
1705
1693
|
emitProbs$2.push('update:' + props_1$2);
|
|
1706
1694
|
}
|
|
1707
|
-
var isExecute$12 = gh ? false : true;
|
|
1708
1695
|
/**
|
|
1709
1696
|
* Represents vue Overview Component
|
|
1710
1697
|
* ```html
|
|
@@ -1721,7 +1708,7 @@ var OverviewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1721
1708
|
_this.hasInjectedModules = false;
|
|
1722
1709
|
_this.tagMapper = {};
|
|
1723
1710
|
_this.tagNameMapper = {};
|
|
1724
|
-
_this.isVue3 = !isExecute
|
|
1711
|
+
_this.isVue3 = !isExecute;
|
|
1725
1712
|
_this.ej2Instances = new Overview({});
|
|
1726
1713
|
_this.bindProperties();
|
|
1727
1714
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1779,10 +1766,10 @@ var OverviewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1779
1766
|
}
|
|
1780
1767
|
};
|
|
1781
1768
|
OverviewComponent.prototype.render = function (createElement) {
|
|
1782
|
-
var h = gh
|
|
1769
|
+
var h = !isExecute ? gh : createElement;
|
|
1783
1770
|
var slots = null;
|
|
1784
1771
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1785
|
-
slots =
|
|
1772
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1786
1773
|
}
|
|
1787
1774
|
return h('div', slots);
|
|
1788
1775
|
};
|
|
@@ -1795,7 +1782,7 @@ var OverviewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1795
1782
|
OverviewComponent = __decorate$12([
|
|
1796
1783
|
EJComponentDecorator({
|
|
1797
1784
|
props: properties$2
|
|
1798
|
-
}, isExecute
|
|
1785
|
+
}, isExecute)
|
|
1799
1786
|
,Options({
|
|
1800
1787
|
props: props,
|
|
1801
1788
|
watch: watch,
|