@syncfusion/ej2-vue-diagrams 20.1.47 → 20.1.48
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 +10 -4
- package/dist/ej2-vue-diagrams.umd.min.js +2 -2
- package/dist/es6/ej2-vue-diagrams.es2015.js +27 -389
- package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-diagrams.es5.js +25 -262
- package/dist/es6/ej2-vue-diagrams.es5.js.map +1 -1
- package/dist/global/ej2-vue-diagrams.min.js +2 -2
- package/package.json +14 -8
- package/src/diagram/connector-annotation.directive.d.ts +1 -3
- package/src/diagram/connector-annotation.directive.js +2 -24
- package/src/diagram/connector-fixeduserhandle.directive.d.ts +1 -3
- package/src/diagram/connector-fixeduserhandle.directive.js +2 -24
- package/src/diagram/connectors.directive.d.ts +1 -3
- package/src/diagram/connectors.directive.js +2 -24
- package/src/diagram/customcursor.directive.d.ts +1 -3
- package/src/diagram/customcursor.directive.js +2 -24
- package/src/diagram/diagram.component.d.ts +0 -1
- package/src/diagram/diagram.component.js +1 -10
- package/src/diagram/layers.directive.d.ts +1 -3
- package/src/diagram/layers.directive.js +2 -24
- package/src/diagram/node-annotation.directive.d.ts +1 -3
- package/src/diagram/node-annotation.directive.js +2 -24
- package/src/diagram/node-fixeduserhandle.directive.d.ts +1 -3
- package/src/diagram/node-fixeduserhandle.directive.js +2 -24
- package/src/diagram/nodes.directive.d.ts +1 -3
- package/src/diagram/nodes.directive.js +2 -24
- package/src/diagram/ports.directive.d.ts +1 -3
- package/src/diagram/ports.directive.js +2 -24
- package/src/overview/overview.component.d.ts +0 -1
- package/src/overview/overview.component.js +1 -10
- package/src/symbol-palette/palettes.directive.d.ts +1 -3
- package/src/symbol-palette/palettes.directive.js +2 -24
- package/src/symbol-palette/symbolpalette.component.d.ts +0 -1
- package/src/symbol-palette/symbolpalette.component.js +1 -10
- package/styles/diagram/fluent-dark.css +0 -396
- package/styles/diagram/fluent-dark.scss +0 -1
- package/styles/diagram/fluent.css +0 -396
- package/styles/diagram/fluent.scss +0 -1
- package/styles/fluent-dark.css +0 -396
- package/styles/fluent-dark.scss +0 -1
- package/styles/fluent.css +0 -396
- package/styles/fluent.scss +0 -1
|
@@ -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 { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
5
4
|
import Vue$1 from 'vue';
|
|
5
|
+
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
6
6
|
|
|
7
7
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
8
8
|
var extendStatics = function (d, b) {
|
|
@@ -23,7 +23,6 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
23
23
|
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;
|
|
24
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
25
|
};
|
|
26
|
-
import { Options } from 'vue-class-component';
|
|
27
26
|
var isExecute = gh ? false : true;
|
|
28
27
|
var vueImport;
|
|
29
28
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -35,36 +34,16 @@ else {
|
|
|
35
34
|
var LayersDirective = /** @__PURE__ @class */ (function (_super) {
|
|
36
35
|
__extends(LayersDirective, _super);
|
|
37
36
|
function LayersDirective() {
|
|
38
|
-
return _super.
|
|
37
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
39
38
|
}
|
|
40
|
-
LayersDirective.prototype.render = function (
|
|
41
|
-
if (gh) {
|
|
42
|
-
var h = gh || createElement;
|
|
43
|
-
var slots = null;
|
|
44
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
45
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
46
|
-
}
|
|
47
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
48
|
-
}
|
|
39
|
+
LayersDirective.prototype.render = function () {
|
|
49
40
|
return;
|
|
50
41
|
};
|
|
51
|
-
LayersDirective.prototype.updated = function () {
|
|
52
|
-
if (gh && this.custom) {
|
|
53
|
-
this.custom();
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
42
|
LayersDirective.prototype.getTag = function () {
|
|
57
43
|
return 'e-layers';
|
|
58
44
|
};
|
|
59
45
|
LayersDirective = __decorate([
|
|
60
46
|
EJComponentDecorator({}, isExecute)
|
|
61
|
-
,Options({
|
|
62
|
-
inject: {
|
|
63
|
-
custom: {
|
|
64
|
-
default: null
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
})
|
|
68
47
|
], LayersDirective);
|
|
69
48
|
return LayersDirective;
|
|
70
49
|
}(vueImport));
|
|
@@ -128,7 +107,6 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
128
107
|
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;
|
|
129
108
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
130
109
|
};
|
|
131
|
-
// {{VueImport}}
|
|
132
110
|
var isExecute$1 = gh ? false : true;
|
|
133
111
|
var vueImport$1;
|
|
134
112
|
if (!isExecute$1 || parseInt(allVue.version) < 3) {
|
|
@@ -140,36 +118,16 @@ else {
|
|
|
140
118
|
var CustomCursorsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
141
119
|
__extends$1(CustomCursorsDirective, _super);
|
|
142
120
|
function CustomCursorsDirective() {
|
|
143
|
-
return _super.
|
|
121
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
144
122
|
}
|
|
145
|
-
CustomCursorsDirective.prototype.render = function (
|
|
146
|
-
if (gh) {
|
|
147
|
-
var h = gh || createElement;
|
|
148
|
-
var slots = null;
|
|
149
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
150
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
151
|
-
}
|
|
152
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
153
|
-
}
|
|
123
|
+
CustomCursorsDirective.prototype.render = function () {
|
|
154
124
|
return;
|
|
155
125
|
};
|
|
156
|
-
CustomCursorsDirective.prototype.updated = function () {
|
|
157
|
-
if (gh && this.custom) {
|
|
158
|
-
this.custom();
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
126
|
CustomCursorsDirective.prototype.getTag = function () {
|
|
162
127
|
return 'e-cursormaps';
|
|
163
128
|
};
|
|
164
129
|
CustomCursorsDirective = __decorate$1([
|
|
165
130
|
EJComponentDecorator({}, isExecute$1)
|
|
166
|
-
,Options({
|
|
167
|
-
inject: {
|
|
168
|
-
custom: {
|
|
169
|
-
default: null
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
})
|
|
173
131
|
], CustomCursorsDirective);
|
|
174
132
|
return CustomCursorsDirective;
|
|
175
133
|
}(vueImport$1));
|
|
@@ -233,7 +191,6 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
233
191
|
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;
|
|
234
192
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
235
193
|
};
|
|
236
|
-
// {{VueImport}}
|
|
237
194
|
var isExecute$2 = gh ? false : true;
|
|
238
195
|
var vueImport$2;
|
|
239
196
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -245,36 +202,16 @@ else {
|
|
|
245
202
|
var ConnectorFixedUserHandlesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
246
203
|
__extends$2(ConnectorFixedUserHandlesDirective, _super);
|
|
247
204
|
function ConnectorFixedUserHandlesDirective() {
|
|
248
|
-
return _super.
|
|
205
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
249
206
|
}
|
|
250
|
-
ConnectorFixedUserHandlesDirective.prototype.render = function (
|
|
251
|
-
if (gh) {
|
|
252
|
-
var h = gh || createElement;
|
|
253
|
-
var slots = null;
|
|
254
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
255
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
256
|
-
}
|
|
257
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
258
|
-
}
|
|
207
|
+
ConnectorFixedUserHandlesDirective.prototype.render = function () {
|
|
259
208
|
return;
|
|
260
209
|
};
|
|
261
|
-
ConnectorFixedUserHandlesDirective.prototype.updated = function () {
|
|
262
|
-
if (gh && this.custom) {
|
|
263
|
-
this.custom();
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
210
|
ConnectorFixedUserHandlesDirective.prototype.getTag = function () {
|
|
267
211
|
return 'e-connector-fixeduserhandles';
|
|
268
212
|
};
|
|
269
213
|
ConnectorFixedUserHandlesDirective = __decorate$2([
|
|
270
214
|
EJComponentDecorator({}, isExecute$2)
|
|
271
|
-
,Options({
|
|
272
|
-
inject: {
|
|
273
|
-
custom: {
|
|
274
|
-
default: null
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
})
|
|
278
215
|
], ConnectorFixedUserHandlesDirective);
|
|
279
216
|
return ConnectorFixedUserHandlesDirective;
|
|
280
217
|
}(vueImport$2));
|
|
@@ -342,7 +279,6 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
342
279
|
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;
|
|
343
280
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
344
281
|
};
|
|
345
|
-
// {{VueImport}}
|
|
346
282
|
var isExecute$3 = gh ? false : true;
|
|
347
283
|
var vueImport$3;
|
|
348
284
|
if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
@@ -354,36 +290,16 @@ else {
|
|
|
354
290
|
var ConnectorAnnotationsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
355
291
|
__extends$3(ConnectorAnnotationsDirective, _super);
|
|
356
292
|
function ConnectorAnnotationsDirective() {
|
|
357
|
-
return _super.
|
|
293
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
358
294
|
}
|
|
359
|
-
ConnectorAnnotationsDirective.prototype.render = function (
|
|
360
|
-
if (gh) {
|
|
361
|
-
var h = gh || createElement;
|
|
362
|
-
var slots = null;
|
|
363
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
364
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
365
|
-
}
|
|
366
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
367
|
-
}
|
|
295
|
+
ConnectorAnnotationsDirective.prototype.render = function () {
|
|
368
296
|
return;
|
|
369
297
|
};
|
|
370
|
-
ConnectorAnnotationsDirective.prototype.updated = function () {
|
|
371
|
-
if (gh && this.custom) {
|
|
372
|
-
this.custom();
|
|
373
|
-
}
|
|
374
|
-
};
|
|
375
298
|
ConnectorAnnotationsDirective.prototype.getTag = function () {
|
|
376
299
|
return 'e-connector-annotations';
|
|
377
300
|
};
|
|
378
301
|
ConnectorAnnotationsDirective = __decorate$3([
|
|
379
302
|
EJComponentDecorator({}, isExecute$3)
|
|
380
|
-
,Options({
|
|
381
|
-
inject: {
|
|
382
|
-
custom: {
|
|
383
|
-
default: null
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
})
|
|
387
303
|
], ConnectorAnnotationsDirective);
|
|
388
304
|
return ConnectorAnnotationsDirective;
|
|
389
305
|
}(vueImport$3));
|
|
@@ -451,7 +367,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
451
367
|
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;
|
|
452
368
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
453
369
|
};
|
|
454
|
-
// {{VueImport}}
|
|
455
370
|
var isExecute$4 = gh ? false : true;
|
|
456
371
|
var vueImport$4;
|
|
457
372
|
if (!isExecute$4 || parseInt(allVue.version) < 3) {
|
|
@@ -463,36 +378,16 @@ else {
|
|
|
463
378
|
var ConnectorsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
464
379
|
__extends$4(ConnectorsDirective, _super);
|
|
465
380
|
function ConnectorsDirective() {
|
|
466
|
-
return _super.
|
|
381
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
467
382
|
}
|
|
468
|
-
ConnectorsDirective.prototype.render = function (
|
|
469
|
-
if (gh) {
|
|
470
|
-
var h = gh || createElement;
|
|
471
|
-
var slots = null;
|
|
472
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
473
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
474
|
-
}
|
|
475
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
476
|
-
}
|
|
383
|
+
ConnectorsDirective.prototype.render = function () {
|
|
477
384
|
return;
|
|
478
385
|
};
|
|
479
|
-
ConnectorsDirective.prototype.updated = function () {
|
|
480
|
-
if (gh && this.custom) {
|
|
481
|
-
this.custom();
|
|
482
|
-
}
|
|
483
|
-
};
|
|
484
386
|
ConnectorsDirective.prototype.getTag = function () {
|
|
485
387
|
return 'e-connectors';
|
|
486
388
|
};
|
|
487
389
|
ConnectorsDirective = __decorate$4([
|
|
488
390
|
EJComponentDecorator({}, isExecute$4)
|
|
489
|
-
,Options({
|
|
490
|
-
inject: {
|
|
491
|
-
custom: {
|
|
492
|
-
default: null
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
})
|
|
496
391
|
], ConnectorsDirective);
|
|
497
392
|
return ConnectorsDirective;
|
|
498
393
|
}(vueImport$4));
|
|
@@ -555,7 +450,6 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
555
450
|
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;
|
|
556
451
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
557
452
|
};
|
|
558
|
-
// {{VueImport}}
|
|
559
453
|
var isExecute$5 = gh ? false : true;
|
|
560
454
|
var vueImport$5;
|
|
561
455
|
if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
@@ -567,36 +461,16 @@ else {
|
|
|
567
461
|
var NodeFixedUserHandlesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
568
462
|
__extends$5(NodeFixedUserHandlesDirective, _super);
|
|
569
463
|
function NodeFixedUserHandlesDirective() {
|
|
570
|
-
return _super.
|
|
464
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
571
465
|
}
|
|
572
|
-
NodeFixedUserHandlesDirective.prototype.render = function (
|
|
573
|
-
if (gh) {
|
|
574
|
-
var h = gh || createElement;
|
|
575
|
-
var slots = null;
|
|
576
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
577
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
578
|
-
}
|
|
579
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
580
|
-
}
|
|
466
|
+
NodeFixedUserHandlesDirective.prototype.render = function () {
|
|
581
467
|
return;
|
|
582
468
|
};
|
|
583
|
-
NodeFixedUserHandlesDirective.prototype.updated = function () {
|
|
584
|
-
if (gh && this.custom) {
|
|
585
|
-
this.custom();
|
|
586
|
-
}
|
|
587
|
-
};
|
|
588
469
|
NodeFixedUserHandlesDirective.prototype.getTag = function () {
|
|
589
470
|
return 'e-node-fixeduserhandles';
|
|
590
471
|
};
|
|
591
472
|
NodeFixedUserHandlesDirective = __decorate$5([
|
|
592
473
|
EJComponentDecorator({}, isExecute$5)
|
|
593
|
-
,Options({
|
|
594
|
-
inject: {
|
|
595
|
-
custom: {
|
|
596
|
-
default: null
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
})
|
|
600
474
|
], NodeFixedUserHandlesDirective);
|
|
601
475
|
return NodeFixedUserHandlesDirective;
|
|
602
476
|
}(vueImport$5));
|
|
@@ -664,7 +538,6 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
664
538
|
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;
|
|
665
539
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
666
540
|
};
|
|
667
|
-
// {{VueImport}}
|
|
668
541
|
var isExecute$6 = gh ? false : true;
|
|
669
542
|
var vueImport$6;
|
|
670
543
|
if (!isExecute$6 || parseInt(allVue.version) < 3) {
|
|
@@ -676,36 +549,16 @@ else {
|
|
|
676
549
|
var NodeAnnotationsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
677
550
|
__extends$6(NodeAnnotationsDirective, _super);
|
|
678
551
|
function NodeAnnotationsDirective() {
|
|
679
|
-
return _super.
|
|
552
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
680
553
|
}
|
|
681
|
-
NodeAnnotationsDirective.prototype.render = function (
|
|
682
|
-
if (gh) {
|
|
683
|
-
var h = gh || createElement;
|
|
684
|
-
var slots = null;
|
|
685
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
686
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
687
|
-
}
|
|
688
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
689
|
-
}
|
|
554
|
+
NodeAnnotationsDirective.prototype.render = function () {
|
|
690
555
|
return;
|
|
691
556
|
};
|
|
692
|
-
NodeAnnotationsDirective.prototype.updated = function () {
|
|
693
|
-
if (gh && this.custom) {
|
|
694
|
-
this.custom();
|
|
695
|
-
}
|
|
696
|
-
};
|
|
697
557
|
NodeAnnotationsDirective.prototype.getTag = function () {
|
|
698
558
|
return 'e-node-annotations';
|
|
699
559
|
};
|
|
700
560
|
NodeAnnotationsDirective = __decorate$6([
|
|
701
561
|
EJComponentDecorator({}, isExecute$6)
|
|
702
|
-
,Options({
|
|
703
|
-
inject: {
|
|
704
|
-
custom: {
|
|
705
|
-
default: null
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
})
|
|
709
562
|
], NodeAnnotationsDirective);
|
|
710
563
|
return NodeAnnotationsDirective;
|
|
711
564
|
}(vueImport$6));
|
|
@@ -773,7 +626,6 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
773
626
|
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;
|
|
774
627
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
775
628
|
};
|
|
776
|
-
// {{VueImport}}
|
|
777
629
|
var isExecute$7 = gh ? false : true;
|
|
778
630
|
var vueImport$7;
|
|
779
631
|
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
@@ -785,36 +637,16 @@ else {
|
|
|
785
637
|
var PortsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
786
638
|
__extends$7(PortsDirective, _super);
|
|
787
639
|
function PortsDirective() {
|
|
788
|
-
return _super.
|
|
640
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
789
641
|
}
|
|
790
|
-
PortsDirective.prototype.render = function (
|
|
791
|
-
if (gh) {
|
|
792
|
-
var h = gh || createElement;
|
|
793
|
-
var slots = null;
|
|
794
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
795
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
796
|
-
}
|
|
797
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
798
|
-
}
|
|
642
|
+
PortsDirective.prototype.render = function () {
|
|
799
643
|
return;
|
|
800
644
|
};
|
|
801
|
-
PortsDirective.prototype.updated = function () {
|
|
802
|
-
if (gh && this.custom) {
|
|
803
|
-
this.custom();
|
|
804
|
-
}
|
|
805
|
-
};
|
|
806
645
|
PortsDirective.prototype.getTag = function () {
|
|
807
646
|
return 'e-node-ports';
|
|
808
647
|
};
|
|
809
648
|
PortsDirective = __decorate$7([
|
|
810
649
|
EJComponentDecorator({}, isExecute$7)
|
|
811
|
-
,Options({
|
|
812
|
-
inject: {
|
|
813
|
-
custom: {
|
|
814
|
-
default: null
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
})
|
|
818
650
|
], PortsDirective);
|
|
819
651
|
return PortsDirective;
|
|
820
652
|
}(vueImport$7));
|
|
@@ -882,7 +714,6 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
882
714
|
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;
|
|
883
715
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
884
716
|
};
|
|
885
|
-
// {{VueImport}}
|
|
886
717
|
var isExecute$8 = gh ? false : true;
|
|
887
718
|
var vueImport$8;
|
|
888
719
|
if (!isExecute$8 || parseInt(allVue.version) < 3) {
|
|
@@ -894,36 +725,16 @@ else {
|
|
|
894
725
|
var NodesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
895
726
|
__extends$8(NodesDirective, _super);
|
|
896
727
|
function NodesDirective() {
|
|
897
|
-
return _super.
|
|
728
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
898
729
|
}
|
|
899
|
-
NodesDirective.prototype.render = function (
|
|
900
|
-
if (gh) {
|
|
901
|
-
var h = gh || createElement;
|
|
902
|
-
var slots = null;
|
|
903
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
904
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
905
|
-
}
|
|
906
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
907
|
-
}
|
|
730
|
+
NodesDirective.prototype.render = function () {
|
|
908
731
|
return;
|
|
909
732
|
};
|
|
910
|
-
NodesDirective.prototype.updated = function () {
|
|
911
|
-
if (gh && this.custom) {
|
|
912
|
-
this.custom();
|
|
913
|
-
}
|
|
914
|
-
};
|
|
915
733
|
NodesDirective.prototype.getTag = function () {
|
|
916
734
|
return 'e-nodes';
|
|
917
735
|
};
|
|
918
736
|
NodesDirective = __decorate$8([
|
|
919
737
|
EJComponentDecorator({}, isExecute$8)
|
|
920
|
-
,Options({
|
|
921
|
-
inject: {
|
|
922
|
-
custom: {
|
|
923
|
-
default: null
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
})
|
|
927
738
|
], NodesDirective);
|
|
928
739
|
return NodesDirective;
|
|
929
740
|
}(vueImport$8));
|
|
@@ -986,7 +797,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
986
797
|
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;
|
|
987
798
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
988
799
|
};
|
|
989
|
-
|
|
800
|
+
import { Options } from 'vue-class-component';
|
|
990
801
|
var properties = ['isLazyUpdate', 'addInfo', 'annotationTemplate', 'backgroundColor', 'bridgeDirection', 'commandManager', 'connectorDefaults', 'connectors', 'constraints', 'contextMenuSettings', 'customCursor', 'dataSourceSettings', 'diagramSettings', 'drawingObject', 'enablePersistence', 'enableRtl', 'getConnectorDefaults', 'getCustomCursor', 'getCustomProperty', 'getCustomTool', 'getDescription', 'getNodeDefaults', 'height', 'historyManager', 'layers', 'layout', 'locale', 'mode', 'nodeDefaults', 'nodeTemplate', 'nodes', 'pageSettings', 'rulerSettings', 'scrollSettings', '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'];
|
|
991
802
|
var modelProps = [];
|
|
992
803
|
var testProp = getProps({ props: properties });
|
|
@@ -1021,7 +832,6 @@ var DiagramComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1021
832
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1022
833
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1023
834
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1024
|
-
_this.updated = _this.updated;
|
|
1025
835
|
return _this;
|
|
1026
836
|
}
|
|
1027
837
|
DiagramComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1080,9 +890,6 @@ var DiagramComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1080
890
|
}
|
|
1081
891
|
return h('div', slots);
|
|
1082
892
|
};
|
|
1083
|
-
DiagramComponent.prototype.custom = function () {
|
|
1084
|
-
this.updated();
|
|
1085
|
-
};
|
|
1086
893
|
DiagramComponent.prototype.add = function (obj, group) {
|
|
1087
894
|
return this.ej2Instances.add(obj, group);
|
|
1088
895
|
};
|
|
@@ -1381,12 +1188,7 @@ var DiagramComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1381
1188
|
,Options({
|
|
1382
1189
|
props: props,
|
|
1383
1190
|
watch: watch,
|
|
1384
|
-
emits: emitProbs
|
|
1385
|
-
provide: function provide() {
|
|
1386
|
-
return {
|
|
1387
|
-
custom: this.custom
|
|
1388
|
-
};
|
|
1389
|
-
}
|
|
1191
|
+
emits: emitProbs
|
|
1390
1192
|
})
|
|
1391
1193
|
], DiagramComponent);
|
|
1392
1194
|
return DiagramComponent;
|
|
@@ -1435,7 +1237,6 @@ var __decorate$10 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1435
1237
|
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;
|
|
1436
1238
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1437
1239
|
};
|
|
1438
|
-
// {{VueImport}}
|
|
1439
1240
|
var isExecute$10 = gh ? false : true;
|
|
1440
1241
|
var vueImport$9;
|
|
1441
1242
|
if (!isExecute$10 || parseInt(allVue.version) < 3) {
|
|
@@ -1447,36 +1248,16 @@ else {
|
|
|
1447
1248
|
var PalettesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
1448
1249
|
__extends$10(PalettesDirective, _super);
|
|
1449
1250
|
function PalettesDirective() {
|
|
1450
|
-
return _super.
|
|
1251
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1451
1252
|
}
|
|
1452
|
-
PalettesDirective.prototype.render = function (
|
|
1453
|
-
if (gh) {
|
|
1454
|
-
var h = gh || createElement;
|
|
1455
|
-
var slots = null;
|
|
1456
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1457
|
-
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
1458
|
-
}
|
|
1459
|
-
return h('div', { class: 'e-directive' }, slots);
|
|
1460
|
-
}
|
|
1253
|
+
PalettesDirective.prototype.render = function () {
|
|
1461
1254
|
return;
|
|
1462
1255
|
};
|
|
1463
|
-
PalettesDirective.prototype.updated = function () {
|
|
1464
|
-
if (gh && this.custom) {
|
|
1465
|
-
this.custom();
|
|
1466
|
-
}
|
|
1467
|
-
};
|
|
1468
1256
|
PalettesDirective.prototype.getTag = function () {
|
|
1469
1257
|
return 'e-palettes';
|
|
1470
1258
|
};
|
|
1471
1259
|
PalettesDirective = __decorate$10([
|
|
1472
1260
|
EJComponentDecorator({}, isExecute$10)
|
|
1473
|
-
,Options({
|
|
1474
|
-
inject: {
|
|
1475
|
-
custom: {
|
|
1476
|
-
default: null
|
|
1477
|
-
}
|
|
1478
|
-
}
|
|
1479
|
-
})
|
|
1480
1261
|
], PalettesDirective);
|
|
1481
1262
|
return PalettesDirective;
|
|
1482
1263
|
}(vueImport$9));
|
|
@@ -1570,7 +1351,6 @@ var SymbolPaletteComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1570
1351
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1571
1352
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1572
1353
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1573
|
-
_this.updated = _this.updated;
|
|
1574
1354
|
return _this;
|
|
1575
1355
|
}
|
|
1576
1356
|
SymbolPaletteComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1629,9 +1409,6 @@ var SymbolPaletteComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1629
1409
|
}
|
|
1630
1410
|
return h('div', slots);
|
|
1631
1411
|
};
|
|
1632
|
-
SymbolPaletteComponent.prototype.custom = function () {
|
|
1633
|
-
this.updated();
|
|
1634
|
-
};
|
|
1635
1412
|
SymbolPaletteComponent.prototype.addPaletteItem = function (paletteName, paletteSymbol, isChild) {
|
|
1636
1413
|
return this.ej2Instances.addPaletteItem(paletteName, paletteSymbol, isChild);
|
|
1637
1414
|
};
|
|
@@ -1651,12 +1428,7 @@ var SymbolPaletteComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1651
1428
|
,Options({
|
|
1652
1429
|
props: props,
|
|
1653
1430
|
watch: watch,
|
|
1654
|
-
emits: emitProbs
|
|
1655
|
-
provide: function provide() {
|
|
1656
|
-
return {
|
|
1657
|
-
custom: this.custom
|
|
1658
|
-
};
|
|
1659
|
-
}
|
|
1431
|
+
emits: emitProbs
|
|
1660
1432
|
})
|
|
1661
1433
|
], SymbolPaletteComponent);
|
|
1662
1434
|
return SymbolPaletteComponent;
|
|
@@ -1724,7 +1496,6 @@ var OverviewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1724
1496
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
1725
1497
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
1726
1498
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1727
|
-
_this.updated = _this.updated;
|
|
1728
1499
|
return _this;
|
|
1729
1500
|
}
|
|
1730
1501
|
OverviewComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -1783,9 +1554,6 @@ var OverviewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1783
1554
|
}
|
|
1784
1555
|
return h('div', slots);
|
|
1785
1556
|
};
|
|
1786
|
-
OverviewComponent.prototype.custom = function () {
|
|
1787
|
-
this.updated();
|
|
1788
|
-
};
|
|
1789
1557
|
OverviewComponent.prototype.updateHtmlLayer = function (view) {
|
|
1790
1558
|
return this.ej2Instances.updateHtmlLayer(view);
|
|
1791
1559
|
};
|
|
@@ -1796,12 +1564,7 @@ var OverviewComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1796
1564
|
,Options({
|
|
1797
1565
|
props: props,
|
|
1798
1566
|
watch: watch,
|
|
1799
|
-
emits: emitProbs
|
|
1800
|
-
provide: function provide() {
|
|
1801
|
-
return {
|
|
1802
|
-
custom: this.custom
|
|
1803
|
-
};
|
|
1804
|
-
}
|
|
1567
|
+
emits: emitProbs
|
|
1805
1568
|
})
|
|
1806
1569
|
], OverviewComponent);
|
|
1807
1570
|
return OverviewComponent;
|