@syncfusion/ej2-vue-diagrams 20.1.48 → 20.1.57

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 (68) hide show
  1. package/CHANGELOG.md +36 -5
  2. package/dist/ej2-vue-diagrams.umd.min.js +11 -2
  3. package/dist/es6/ej2-vue-diagrams.es2015.js +391 -29
  4. package/dist/es6/ej2-vue-diagrams.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-diagrams.es5.js +264 -27
  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 -14
  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 +2 -1
  18. package/src/diagram/diagram.component.js +12 -3
  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/bootstrap-dark.css +51 -95
  36. package/styles/bootstrap.css +51 -95
  37. package/styles/bootstrap4.css +51 -95
  38. package/styles/bootstrap5-dark.css +51 -95
  39. package/styles/bootstrap5.css +51 -95
  40. package/styles/diagram/bootstrap-dark.css +51 -95
  41. package/styles/diagram/bootstrap.css +51 -95
  42. package/styles/diagram/bootstrap4.css +51 -95
  43. package/styles/diagram/bootstrap5-dark.css +51 -95
  44. package/styles/diagram/bootstrap5.css +51 -95
  45. package/styles/diagram/fabric-dark.css +51 -95
  46. package/styles/diagram/fabric.css +51 -95
  47. package/styles/diagram/fluent-dark.css +352 -0
  48. package/styles/diagram/fluent-dark.scss +1 -0
  49. package/styles/diagram/fluent.css +352 -0
  50. package/styles/diagram/fluent.scss +1 -0
  51. package/styles/diagram/highcontrast-light.css +71 -115
  52. package/styles/diagram/highcontrast.css +51 -95
  53. package/styles/diagram/material-dark.css +51 -95
  54. package/styles/diagram/material.css +51 -95
  55. package/styles/diagram/tailwind-dark.css +51 -95
  56. package/styles/diagram/tailwind.css +51 -95
  57. package/styles/fabric-dark.css +51 -95
  58. package/styles/fabric.css +51 -95
  59. package/styles/fluent-dark.css +352 -0
  60. package/styles/fluent-dark.scss +1 -0
  61. package/styles/fluent.css +352 -0
  62. package/styles/fluent.scss +1 -0
  63. package/styles/highcontrast-light.css +71 -115
  64. package/styles/highcontrast.css +51 -95
  65. package/styles/material-dark.css +51 -95
  66. package/styles/material.css +51 -95
  67. package/styles/tailwind-dark.css +51 -95
  68. package/styles/tailwind.css +51 -95
package/package.json CHANGED
@@ -1,14 +1,8 @@
1
1
  {
2
- "_args": [
3
- [
4
- "@syncfusion/ej2-vue-diagrams@19.4.55",
5
- "D:\\Augest 2021\\vue package publish\\vue source from nexus"
6
- ]
7
- ],
8
2
  "_from": "@syncfusion/ej2-vue-diagrams@*",
9
- "_id": "@syncfusion/ej2-vue-diagrams@19.4.55",
3
+ "_id": "@syncfusion/ej2-vue-diagrams@20.1.55",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-dU1nBqEG6GU+y5JhTC3h/kLiLWVJiKtxv1OFMUGf5oZB8KvF2f0nolRR7Ng5aIxPtCAvPAMYdBH2gMEX/eR+Cg==",
5
+ "_integrity": "sha512-gAy8y+0MehAKNxCPqzI9/vEAd/+XmaLQta2NkzHm3AafcZuy4jo2ctroX7fNcaMy1xlJA/HCJd++DsfLvhf85g==",
12
6
  "_location": "/@syncfusion/ej2-vue-diagrams",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
@@ -25,8 +19,8 @@
25
19
  "_requiredBy": [
26
20
  "/"
27
21
  ],
28
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-diagrams/-/ej2-vue-diagrams-19.4.55.tgz",
29
- "_shasum": "cbe88aa8d03b3f8f76dd5e487bf9cdc5b1010e53",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-diagrams/-/ej2-vue-diagrams-20.1.55.tgz",
23
+ "_shasum": "f6dbf6d0f68fb391a3f6c8f159347ad63de83ecf",
30
24
  "_spec": "@syncfusion/ej2-vue-diagrams@*",
31
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
32
26
  "author": {
@@ -37,9 +31,9 @@
37
31
  },
38
32
  "bundleDependencies": false,
39
33
  "dependencies": {
40
- "@syncfusion/ej2-base": "~20.1.48",
41
- "@syncfusion/ej2-diagrams": "20.1.48",
42
- "@syncfusion/ej2-vue-base": "~20.1.48"
34
+ "@syncfusion/ej2-base": "~20.1.56",
35
+ "@syncfusion/ej2-diagrams": "20.1.57",
36
+ "@syncfusion/ej2-vue-base": "~20.1.57"
43
37
  },
44
38
  "deprecated": false,
45
39
  "description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts. for Vue",
@@ -63,6 +57,6 @@
63
57
  "type": "git",
64
58
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
65
59
  },
66
- "version": "20.1.48",
60
+ "version": "20.1.57",
67
61
  "sideEffects": false
68
62
  }
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class ConnectorAnnotationsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const ConnectorAnnotationsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var ConnectorAnnotationsDirective = /** @class */ (function (_super) {
32
34
  __extends(ConnectorAnnotationsDirective, _super);
33
35
  function ConnectorAnnotationsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- ConnectorAnnotationsDirective.prototype.render = function () {
38
+ ConnectorAnnotationsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ ConnectorAnnotationsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  ConnectorAnnotationsDirective.prototype.getTag = function () {
40
55
  return 'e-connector-annotations';
41
56
  };
42
57
  ConnectorAnnotationsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], ConnectorAnnotationsDirective);
45
67
  return ConnectorAnnotationsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class ConnectorFixedUserHandlesDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const ConnectorFixedUserHandlesPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var ConnectorFixedUserHandlesDirective = /** @class */ (function (_super) {
32
34
  __extends(ConnectorFixedUserHandlesDirective, _super);
33
35
  function ConnectorFixedUserHandlesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- ConnectorFixedUserHandlesDirective.prototype.render = function () {
38
+ ConnectorFixedUserHandlesDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ ConnectorFixedUserHandlesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  ConnectorFixedUserHandlesDirective.prototype.getTag = function () {
40
55
  return 'e-connector-fixeduserhandles';
41
56
  };
42
57
  ConnectorFixedUserHandlesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], ConnectorFixedUserHandlesDirective);
45
67
  return ConnectorFixedUserHandlesDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class ConnectorsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const ConnectorsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var ConnectorsDirective = /** @class */ (function (_super) {
32
34
  __extends(ConnectorsDirective, _super);
33
35
  function ConnectorsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- ConnectorsDirective.prototype.render = function () {
38
+ ConnectorsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ ConnectorsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  ConnectorsDirective.prototype.getTag = function () {
40
55
  return 'e-connectors';
41
56
  };
42
57
  ConnectorsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], ConnectorsDirective);
45
67
  return ConnectorsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class CustomCursorsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const CustomCursorsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var CustomCursorsDirective = /** @class */ (function (_super) {
32
34
  __extends(CustomCursorsDirective, _super);
33
35
  function CustomCursorsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- CustomCursorsDirective.prototype.render = function () {
38
+ CustomCursorsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ CustomCursorsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  CustomCursorsDirective.prototype.getTag = function () {
40
55
  return 'e-cursormaps';
41
56
  };
42
57
  CustomCursorsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], CustomCursorsDirective);
45
67
  return CustomCursorsDirective;
46
68
  }(vueImport));
@@ -28,6 +28,7 @@ export declare class DiagramComponent extends ComponentBase {
28
28
  clearTemplate(templateNames?: string[]): any;
29
29
  setProperties(prop: any, muteOnChange: boolean): void;
30
30
  render(createElement: any): any;
31
+ custom(): void;
31
32
  add(obj: Object | Object, group?: boolean): Object | Object;
32
33
  addChildToGroup(group: Object, child: string | Object | Object): void;
33
34
  addConnector(obj: Object): Object;
@@ -108,7 +109,7 @@ export declare class DiagramComponent extends ComponentBase {
108
109
  sameSize(option: Object, objects?: undefined[]): void;
109
110
  saveDiagram(): string;
110
111
  scale(obj: Object | Object | Object, sx: number, sy: number, pivot: Object): boolean;
111
- select(objects: undefined[], multipleSelection?: boolean): void;
112
+ select(objects: undefined[], multipleSelection?: boolean, oldValue?: undefined[]): void;
112
113
  selectAll(): void;
113
114
  sendBackward(): void;
114
115
  sendLayerBackward(layerName: string): void;
@@ -64,6 +64,7 @@ var DiagramComponent = /** @class */ (function (_super) {
64
64
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
65
65
  _this.ej2Instances.setProperties = _this.setProperties;
66
66
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
67
+ _this.updated = _this.updated;
67
68
  return _this;
68
69
  }
69
70
  DiagramComponent.prototype.clearTemplate = function (templateNames) {
@@ -122,6 +123,9 @@ var DiagramComponent = /** @class */ (function (_super) {
122
123
  }
123
124
  return h('div', slots);
124
125
  };
126
+ DiagramComponent.prototype.custom = function () {
127
+ this.updated();
128
+ };
125
129
  DiagramComponent.prototype.add = function (obj, group) {
126
130
  return this.ej2Instances.add(obj, group);
127
131
  };
@@ -362,8 +366,8 @@ var DiagramComponent = /** @class */ (function (_super) {
362
366
  DiagramComponent.prototype.scale = function (obj, sx, sy, pivot) {
363
367
  return this.ej2Instances.scale(obj, sx, sy, pivot);
364
368
  };
365
- DiagramComponent.prototype.select = function (objects, multipleSelection) {
366
- return this.ej2Instances.select(objects, multipleSelection);
369
+ DiagramComponent.prototype.select = function (objects, multipleSelection, oldValue) {
370
+ return this.ej2Instances.select(objects, multipleSelection, oldValue);
367
371
  };
368
372
  DiagramComponent.prototype.selectAll = function () {
369
373
  return this.ej2Instances.selectAll();
@@ -420,7 +424,12 @@ var DiagramComponent = /** @class */ (function (_super) {
420
424
  ,Options({
421
425
  props: props,
422
426
  watch: watch,
423
- emits: emitProbs
427
+ emits: emitProbs,
428
+ provide: function provide() {
429
+ return {
430
+ custom: this.custom
431
+ };
432
+ }
424
433
  })
425
434
  ], DiagramComponent);
426
435
  return DiagramComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class LayersDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const LayersPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var LayersDirective = /** @class */ (function (_super) {
32
34
  __extends(LayersDirective, _super);
33
35
  function LayersDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- LayersDirective.prototype.render = function () {
38
+ LayersDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ LayersDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  LayersDirective.prototype.getTag = function () {
40
55
  return 'e-layers';
41
56
  };
42
57
  LayersDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], LayersDirective);
45
67
  return LayersDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class NodeAnnotationsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const NodeAnnotationsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var NodeAnnotationsDirective = /** @class */ (function (_super) {
32
34
  __extends(NodeAnnotationsDirective, _super);
33
35
  function NodeAnnotationsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- NodeAnnotationsDirective.prototype.render = function () {
38
+ NodeAnnotationsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ NodeAnnotationsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  NodeAnnotationsDirective.prototype.getTag = function () {
40
55
  return 'e-node-annotations';
41
56
  };
42
57
  NodeAnnotationsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], NodeAnnotationsDirective);
45
67
  return NodeAnnotationsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class NodeFixedUserHandlesDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const NodeFixedUserHandlesPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var NodeFixedUserHandlesDirective = /** @class */ (function (_super) {
32
34
  __extends(NodeFixedUserHandlesDirective, _super);
33
35
  function NodeFixedUserHandlesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- NodeFixedUserHandlesDirective.prototype.render = function () {
38
+ NodeFixedUserHandlesDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ NodeFixedUserHandlesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  NodeFixedUserHandlesDirective.prototype.getTag = function () {
40
55
  return 'e-node-fixeduserhandles';
41
56
  };
42
57
  NodeFixedUserHandlesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], NodeFixedUserHandlesDirective);
45
67
  return NodeFixedUserHandlesDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class NodesDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const NodesPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var NodesDirective = /** @class */ (function (_super) {
32
34
  __extends(NodesDirective, _super);
33
35
  function NodesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- NodesDirective.prototype.render = function () {
38
+ NodesDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ NodesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  NodesDirective.prototype.getTag = function () {
40
55
  return 'e-nodes';
41
56
  };
42
57
  NodesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], NodesDirective);
45
67
  return NodesDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class PortsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const PortsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var PortsDirective = /** @class */ (function (_super) {
32
34
  __extends(PortsDirective, _super);
33
35
  function PortsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- PortsDirective.prototype.render = function () {
38
+ PortsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ PortsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  PortsDirective.prototype.getTag = function () {
40
55
  return 'e-node-ports';
41
56
  };
42
57
  PortsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], PortsDirective);
45
67
  return PortsDirective;
46
68
  }(vueImport));
@@ -28,6 +28,7 @@ export declare class OverviewComponent extends ComponentBase {
28
28
  clearTemplate(templateNames?: string[]): any;
29
29
  setProperties(prop: any, muteOnChange: boolean): void;
30
30
  render(createElement: any): any;
31
+ custom(): void;
31
32
  updateHtmlLayer(view: Object): void;
32
33
  }
33
34
  export declare const OverviewPlugin: {