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