@syncfusion/ej2-angular-diagrams 20.2.49 → 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.
Files changed (132) hide show
  1. package/esm2020/src/diagram/diagram.component.mjs +3 -3
  2. package/fesm2015/syncfusion-ej2-angular-diagrams.mjs +2 -2
  3. package/fesm2015/syncfusion-ej2-angular-diagrams.mjs.map +1 -1
  4. package/fesm2020/syncfusion-ej2-angular-diagrams.mjs +2 -2
  5. package/fesm2020/syncfusion-ej2-angular-diagrams.mjs.map +1 -1
  6. package/package.json +8 -8
  7. package/schematics/collection.json +35 -0
  8. package/schematics/generators/diagram-default-functionalities/index.d.ts +3 -0
  9. package/schematics/generators/diagram-default-functionalities/index.js +8 -0
  10. package/schematics/generators/diagram-default-functionalities/sample-details.d.ts +5 -0
  11. package/schematics/generators/diagram-default-functionalities/sample-details.js +7 -0
  12. package/schematics/generators/diagram-default-functionalities/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  13. package/schematics/generators/diagram-default-functionalities/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +125 -0
  14. package/schematics/generators/diagram-default-functionalities/schema.d.ts +3 -0
  15. package/schematics/generators/diagram-default-functionalities/schema.js +2 -0
  16. package/schematics/generators/diagram-default-functionalities/schema.json +125 -0
  17. package/schematics/generators/diagram-hierarchical-tree/index.d.ts +3 -0
  18. package/schematics/generators/diagram-hierarchical-tree/index.js +8 -0
  19. package/schematics/generators/diagram-hierarchical-tree/sample-details.d.ts +5 -0
  20. package/schematics/generators/diagram-hierarchical-tree/sample-details.js +7 -0
  21. package/schematics/generators/diagram-hierarchical-tree/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  22. package/schematics/generators/diagram-hierarchical-tree/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
  23. package/schematics/generators/diagram-hierarchical-tree/schema.d.ts +3 -0
  24. package/schematics/generators/diagram-hierarchical-tree/schema.js +2 -0
  25. package/schematics/generators/diagram-hierarchical-tree/schema.json +125 -0
  26. package/schematics/generators/diagram-organization-chart/index.d.ts +3 -0
  27. package/schematics/generators/diagram-organization-chart/index.js +8 -0
  28. package/schematics/generators/diagram-organization-chart/sample-details.d.ts +5 -0
  29. package/schematics/generators/diagram-organization-chart/sample-details.js +7 -0
  30. package/schematics/generators/diagram-organization-chart/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  31. package/schematics/generators/diagram-organization-chart/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +66 -0
  32. package/schematics/generators/diagram-organization-chart/schema.d.ts +3 -0
  33. package/schematics/generators/diagram-organization-chart/schema.js +2 -0
  34. package/schematics/generators/diagram-organization-chart/schema.json +125 -0
  35. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Clayton.png +0 -0
  36. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Jenny.png +0 -0
  37. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/John.png +0 -0
  38. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Maria.png +0 -0
  39. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Paul.png +0 -0
  40. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Robin.png +0 -0
  41. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/Thomas.png +0 -0
  42. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/eric.png +0 -0
  43. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/female.png +0 -0
  44. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image12.png +0 -0
  45. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image2.png +0 -0
  46. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image3.png +0 -0
  47. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image50.png +0 -0
  48. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image51.png +0 -0
  49. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image53.png +0 -0
  50. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image54.png +0 -0
  51. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image55.png +0 -0
  52. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image56.png +0 -0
  53. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/image57.png +0 -0
  54. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/images7.png +0 -0
  55. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/images9.png +0 -0
  56. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/male.png +0 -0
  57. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/moreinfo.png +0 -0
  58. package/schematics/generators/diagram-overview/images/__path__/__name@dasherize__/smith.png +0 -0
  59. package/schematics/generators/diagram-overview/index.d.ts +3 -0
  60. package/schematics/generators/diagram-overview/index.js +8 -0
  61. package/schematics/generators/diagram-overview/sample-details.d.ts +5 -0
  62. package/schematics/generators/diagram-overview/sample-details.js +7 -0
  63. package/schematics/generators/diagram-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  64. package/schematics/generators/diagram-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +19 -0
  65. package/schematics/generators/diagram-overview/schema.d.ts +3 -0
  66. package/schematics/generators/diagram-overview/schema.js +2 -0
  67. package/schematics/generators/diagram-overview/schema.json +125 -0
  68. package/schematics/generators/diagram-radial-tree/index.d.ts +3 -0
  69. package/schematics/generators/diagram-radial-tree/index.js +8 -0
  70. package/schematics/generators/diagram-radial-tree/sample-details.d.ts +5 -0
  71. package/schematics/generators/diagram-radial-tree/sample-details.js +7 -0
  72. package/schematics/generators/diagram-radial-tree/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  73. package/schematics/generators/diagram-radial-tree/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
  74. package/schematics/generators/diagram-radial-tree/schema.d.ts +3 -0
  75. package/schematics/generators/diagram-radial-tree/schema.js +2 -0
  76. package/schematics/generators/diagram-radial-tree/schema.json +125 -0
  77. package/schematics/ng-add/index.d.ts +3 -0
  78. package/schematics/ng-add/index.js +9 -0
  79. package/schematics/ng-add/schema.d.ts +13 -0
  80. package/schematics/ng-add/schema.js +2 -0
  81. package/schematics/ng-add/schema.json +34 -0
  82. package/schematics/tsconfig.json +25 -0
  83. package/schematics/utils/lib-details.d.ts +4 -0
  84. package/schematics/utils/lib-details.js +6 -0
  85. package/schematics/utils/lib-details.ts +2 -2
  86. package/src/diagram/diagram.component.d.ts +2 -1
  87. package/styles/bootstrap-dark.css +6 -1
  88. package/styles/bootstrap.css +6 -1
  89. package/styles/bootstrap4.css +6 -1
  90. package/styles/bootstrap5-dark.css +7 -1
  91. package/styles/bootstrap5.css +7 -1
  92. package/styles/diagram/_bootstrap-dark-definition.scss +26 -24
  93. package/styles/diagram/_bootstrap-definition.scss +27 -25
  94. package/styles/diagram/_bootstrap4-definition.scss +26 -26
  95. package/styles/diagram/_bootstrap5-definition.scss +31 -27
  96. package/styles/diagram/_definition.scss +24 -24
  97. package/styles/diagram/_fabric-dark-definition.scss +24 -27
  98. package/styles/diagram/_fabric-definition.scss +24 -27
  99. package/styles/diagram/_fluent-definition.scss +31 -27
  100. package/styles/diagram/_fusionnew-definition.scss +31 -27
  101. package/styles/diagram/_highcontrast-definition.scss +25 -25
  102. package/styles/diagram/_highcontrast-light-definition.scss +24 -24
  103. package/styles/diagram/_material-dark-definition.scss +24 -24
  104. package/styles/diagram/_material-definition.scss +24 -24
  105. package/styles/diagram/_material3-definition.scss +31 -27
  106. package/styles/diagram/_tailwind-definition.scss +31 -27
  107. package/styles/diagram/_theme.scss +9 -10
  108. package/styles/diagram/bootstrap-dark.css +6 -1
  109. package/styles/diagram/bootstrap.css +6 -1
  110. package/styles/diagram/bootstrap4.css +6 -1
  111. package/styles/diagram/bootstrap5-dark.css +7 -1
  112. package/styles/diagram/bootstrap5.css +7 -1
  113. package/styles/diagram/fabric-dark.css +6 -1
  114. package/styles/diagram/fabric.css +6 -1
  115. package/styles/diagram/fluent-dark.css +7 -1
  116. package/styles/diagram/fluent.css +7 -1
  117. package/styles/diagram/highcontrast-light.css +6 -1
  118. package/styles/diagram/highcontrast.css +7 -1
  119. package/styles/diagram/material-dark.css +6 -1
  120. package/styles/diagram/material.css +6 -1
  121. package/styles/diagram/tailwind-dark.css +7 -1
  122. package/styles/diagram/tailwind.css +7 -1
  123. package/styles/fabric-dark.css +6 -1
  124. package/styles/fabric.css +6 -1
  125. package/styles/fluent-dark.css +7 -1
  126. package/styles/fluent.css +7 -1
  127. package/styles/highcontrast-light.css +6 -1
  128. package/styles/highcontrast.css +7 -1
  129. package/styles/material-dark.css +6 -1
  130. package/styles/material.css +6 -1
  131. package/styles/tailwind-dark.css +7 -1
  132. package/styles/tailwind.css +7 -1
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-angular-diagrams@*",
3
- "_id": "@syncfusion/ej2-angular-diagrams@20.2.45",
3
+ "_id": "@syncfusion/ej2-angular-diagrams@19.12.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-M3r8eB4JepbuekUBH8S/JV3uXNdFlWtyoyBZgZMFVmWr9lYcBF3lQ8xsw72NXZIjU3vRA8tBz1PoxnDQXV2kEA==",
5
+ "_integrity": "sha512-X5ANQauQ08pVdmIsQvaT/WbV3WA5DM4WeqgPKv3nnvZZu1FNkuhKMDNxQplwtJfWFRfYhxXZfzlrFdh0FQidfg==",
6
6
  "_location": "/@syncfusion/ej2-angular-diagrams",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-angular-hotfix/@syncfusion/ej2-angular-diagrams/-/ej2-angular-diagrams-20.2.45.tgz",
23
- "_shasum": "03e021588c2635ec19ea73b0e02c165c359d63e3",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-angular-release/@syncfusion/ej2-angular-diagrams/-/ej2-angular-diagrams-19.12.3.tgz",
23
+ "_shasum": "d7203f785debbd80fb9e5140ecfc6cf2715d621f",
24
24
  "_spec": "@syncfusion/ej2-angular-diagrams@*",
25
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/ivypackages/included",
26
26
  "author": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-angular-base": "~20.2.49",
35
- "@syncfusion/ej2-base": "~20.2.48",
36
- "@syncfusion/ej2-diagrams": "20.2.49",
34
+ "@syncfusion/ej2-angular-base": "~20.3.47",
35
+ "@syncfusion/ej2-base": "~20.3.47",
36
+ "@syncfusion/ej2-diagrams": "20.3.47",
37
37
  "tslib": "^2.3.0"
38
38
  },
39
39
  "deprecated": false,
@@ -76,5 +76,5 @@
76
76
  "schematics": "./schematics/collection.json",
77
77
  "sideEffects": false,
78
78
  "typings": "syncfusion-ej2-angular-diagrams.d.ts",
79
- "version": "20.2.49"
79
+ "version": "20.3.47"
80
80
  }
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
3
+ "schematics": {
4
+ "ng-add": {
5
+ "description": "Adds Essential JS 2 specific Angular package to an application",
6
+ "factory": "./ng-add",
7
+ "schema": "./ng-add/schema.json"
8
+ },
9
+ "diagram-default-functionalities": {
10
+ "description": "This sample visualizes the processing of an order placed using credit card with built-in flow shapes.",
11
+ "factory": "./generators/diagram-default-functionalities",
12
+ "schema": "./generators/diagram-default-functionalities/schema.json"
13
+ },
14
+ "diagram-hierarchical-tree": {
15
+ "description": "This sample illustrates a generating hierarchical tree from right to left orientation with external data source.",
16
+ "factory": "./generators/diagram-hierarchical-tree",
17
+ "schema": "./generators/diagram-hierarchical-tree/schema.json"
18
+ },
19
+ "diagram-organization-chart": {
20
+ "description": "This sample visualizes an organizational structure along with an overview for easily navigating the large organizational structure using Overview Panel.",
21
+ "factory": "./generators/diagram-organization-chart",
22
+ "schema": "./generators/diagram-organization-chart/schema.json"
23
+ },
24
+ "diagram-overview": {
25
+ "description": "Create an Angular component with EJ2 Diagrams annotation sample",
26
+ "factory": "./generators/diagram-overview",
27
+ "schema": "./generators/diagram-overview/schema.json"
28
+ },
29
+ "diagram-radial-tree": {
30
+ "description": "This sample demonstrates a huge organizational structure using a compact layout model",
31
+ "factory": "./generators/diagram-radial-tree",
32
+ "schema": "./generators/diagram-radial-tree/schema.json"
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
4
+ const sampleDetails = require("./sample-details");
5
+ function default_1(options) {
6
+ return schematics_1.componentBuilder(options, sampleDetails);
7
+ }
8
+ exports.default = default_1;
@@ -0,0 +1,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'diagram';
4
+ exports.sampleName = 'default-functionalities';
5
+ exports.diModules = null;
6
+ exports.packageName = '@syncfusion/ej2-angular-diagrams';
7
+ exports.libModules = 'DiagramModule';
@@ -0,0 +1,125 @@
1
+ <div class="control-section">
2
+ <div style="width: 100%">
3
+ <div class="sb-mobile-palette-bar">
4
+ <div id="palette-icon" style="float: right;" role="button" class="e-ddb-icons1 e-toggle-palette"></div>
5
+ </div>
6
+
7
+ <div id="diagram-space" class="sb-mobile-diagram">
8
+ <div class="content-wrapper">
9
+ <ejs-diagram #diagram id="diagram" width="100%" height="700px" [snapSettings]='snapSettings' [getConnectorDefaults]='connDefaults'
10
+ [getNodeDefaults]='nodeDefaults' dragEnter='dragEnter' (created)="diagramCreate($event)">
11
+ <e-nodes>
12
+ <e-node id='NewIdea' [height]=60 [offsetX]=300 [offsetY]=80 [shape]='terminator'>
13
+ <e-node-annotations>
14
+ <e-node-annotation content='Place Order'>
15
+ </e-node-annotation>
16
+ </e-node-annotations>
17
+ </e-node>
18
+ <e-node id='Meeting' [height]=60 [offsetX]=300 [offsetY]=160 [shape]='process'>
19
+ <e-node-annotations>
20
+ <e-node-annotation content='Start Transaction'>
21
+ </e-node-annotation>
22
+ </e-node-annotations>
23
+ </e-node>
24
+ <e-node id='BoardDecision' [height]=60 [offsetX]=300 [offsetY]=240 [shape]='process'>
25
+ <e-node-annotations>
26
+ <e-node-annotation content='Verification'>
27
+ </e-node-annotation>
28
+ </e-node-annotations>
29
+ </e-node>
30
+ <e-node id='Project' [height]=60 [offsetX]=300 [offsetY]=330 [shape]='decision'>
31
+ <e-node-annotations>
32
+ <e-node-annotation content='Credit card valid?'>
33
+ </e-node-annotation>
34
+ </e-node-annotations>
35
+ </e-node>
36
+ <e-node id='End' [height]=60 [offsetX]=300 [offsetY]=430 [shape]='decision'>
37
+ <e-node-annotations>
38
+ <e-node-annotation content='Funds available?'>
39
+ </e-node-annotation>
40
+ </e-node-annotations>
41
+ </e-node>
42
+ <e-node id='node11' [height]=60 [offsetX]=530 [offsetY]=330 [shape]='process'>
43
+ <e-node-annotations>
44
+ <e-node-annotation content='Enter payment method'>
45
+ </e-node-annotation>
46
+ </e-node-annotations>
47
+ </e-node>
48
+ <e-node id='transcation_entered' [height]=60 [offsetX]=300 [offsetY]=630 [shape]='terminator'>
49
+ <e-node-annotations>
50
+ <e-node-annotation content='Log transaction'>
51
+ </e-node-annotation>
52
+ </e-node-annotations>
53
+ </e-node>
54
+ <e-node id='node12' [height]=60 [offsetX]=480 [offsetY]=630 [shape]='process'>
55
+ <e-node-annotations>
56
+ <e-node-annotation content='Reconcile the entries'>
57
+ </e-node-annotation>
58
+ </e-node-annotations>
59
+ </e-node>
60
+ <e-node id='transaction_completed' [height]=60 [offsetX]=300 [offsetY]=530 [shape]='process'>
61
+ <e-node-annotations>
62
+ <e-node-annotation content='Complete Transaction'>
63
+ </e-node-annotation>
64
+ </e-node-annotations>
65
+ </e-node>
66
+ <e-node id='Data' [height]=45 [offsetX]=110 [offsetY]=530 [shape]='data'>
67
+ <e-node-annotations>
68
+ <e-node-annotation content='Send e-mail' [margin]=margin>
69
+ </e-node-annotation>
70
+ </e-node-annotations>
71
+ </e-node>
72
+ <e-node id='node10' [height]=70 [offsetX]=475 [offsetY]=530 [shape]='directdata'>
73
+ <e-node-annotations>
74
+ <e-node-annotation content='Customer Database' [margin]='margin'>
75
+ </e-node-annotation>
76
+ </e-node-annotations>
77
+ </e-node>
78
+ </e-nodes>
79
+ <e-connectors>
80
+ <e-connector id='connector1' sourceID='NewIdea' targetID='Meeting'>
81
+ </e-connector>
82
+ <e-connector id='connector2' sourceID='Meeting' targetID='BoardDecision'>
83
+ </e-connector>
84
+ <e-connector id='connector3' sourceID='BoardDecision' targetID='Project'>
85
+ </e-connector>
86
+ <e-connector id='connector4' sourceID='Project' targetID='End'>
87
+ <e-connector-annotations>
88
+ <e-connector-annotation content='Yes' [style]=connAnnotStyle>
89
+ </e-connector-annotation>
90
+ </e-connector-annotations>
91
+ </e-connector>
92
+ <e-connector id='connector5' sourceID='End' targetID='transaction_completed'>
93
+ <e-connector-annotations>
94
+ <e-connector-annotation content='Yes' [style]=connAnnotStyle>
95
+ </e-connector-annotation>
96
+ </e-connector-annotations>
97
+ </e-connector>
98
+ <e-connector id='connector6' sourceID='transaction_completed' targetID='transcation_entered'>
99
+ </e-connector>
100
+ <e-connector id='connector7' sourceID='transaction_completed' targetID='Data'>
101
+ </e-connector>
102
+ <e-connector id='connector8' sourceID='transaction_completed' targetID='node10'>
103
+ </e-connector>
104
+ <e-connector id='connector9' sourceID='node11' targetID='Meeting' [segments]='segments'>
105
+ </e-connector>
106
+ <e-connector id='connector10' sourceID='End' targetID='node11' [segments]='segments1'>
107
+ <e-connector-annotations>
108
+ <e-connector-annotation content='No' [style]=connAnnotStyle>
109
+ </e-connector-annotation>
110
+ </e-connector-annotations>
111
+ </e-connector>
112
+ <e-connector id='connector11' sourceID='Project' targetID='node11'>
113
+ <e-connector-annotations>
114
+ <e-connector-annotation content='No' [style]=connAnnotStyle>
115
+ </e-connector-annotation>
116
+ </e-connector-annotations>
117
+ </e-connector>
118
+ <e-connector id='connector12' sourceID='transcation_entered' targetID='node12' [style]=strokeStyle>
119
+ </e-connector>
120
+ </e-connectors>
121
+ </ejs-diagram>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ </div>
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "diagram-default-functionalities",
5
+ "type": "object",
6
+ "properties": {
7
+ "path": {
8
+ "type": "string",
9
+ "format": "path",
10
+ "description": "The path to create the component.",
11
+ "visible": false
12
+ },
13
+ "project": {
14
+ "type": "string",
15
+ "description": "The name of the project.",
16
+ "$default": {
17
+ "$source": "projectName"
18
+ }
19
+ },
20
+ "name": {
21
+ "type": "string",
22
+ "description": "The name of the component.",
23
+ "$default": {
24
+ "$source": "argv",
25
+ "index": 0
26
+ }
27
+ },
28
+ "inlineStyle": {
29
+ "description": "Specifies if the style will be in the ts file.",
30
+ "type": "boolean",
31
+ "default": false,
32
+ "alias": "s"
33
+ },
34
+ "inlineTemplate": {
35
+ "description": "Specifies if the template will be in the ts file.",
36
+ "type": "boolean",
37
+ "default": false,
38
+ "alias": "t"
39
+ },
40
+ "viewEncapsulation": {
41
+ "description": "Specifies the view encapsulation strategy.",
42
+ "enum": [
43
+ "Emulated",
44
+ "Native",
45
+ "None",
46
+ "ShadowDom"
47
+ ],
48
+ "type": "string",
49
+ "alias": "v"
50
+ },
51
+ "changeDetection": {
52
+ "description": "Specifies the change detection strategy.",
53
+ "enum": [
54
+ "Default",
55
+ "OnPush"
56
+ ],
57
+ "type": "string",
58
+ "default": "Default",
59
+ "alias": "c"
60
+ },
61
+ "prefix": {
62
+ "type": "string",
63
+ "description": "The prefix to apply to generated selectors.",
64
+ "alias": "p",
65
+ "oneOf": [
66
+ {
67
+ "maxLength": 0
68
+ },
69
+ {
70
+ "minLength": 1,
71
+ "format": "html-selector"
72
+ }
73
+ ]
74
+ },
75
+ "styleext": {
76
+ "description": "The file extension to be used for style files.",
77
+ "type": "string",
78
+ "default": "css"
79
+ },
80
+ "spec": {
81
+ "type": "boolean",
82
+ "description": "Specifies if a spec file is generated.",
83
+ "default": true
84
+ },
85
+ "flat": {
86
+ "type": "boolean",
87
+ "description": "Flag to indicate if a dir is created.",
88
+ "default": false
89
+ },
90
+ "skipImport": {
91
+ "type": "boolean",
92
+ "description": "Flag to skip the module import.",
93
+ "default": false
94
+ },
95
+ "selector": {
96
+ "type": "string",
97
+ "format": "html-selector",
98
+ "description": "The selector to use for the component."
99
+ },
100
+ "module": {
101
+ "type": "string",
102
+ "description": "Allows specification of the declaring module.",
103
+ "alias": "m"
104
+ },
105
+ "export": {
106
+ "type": "boolean",
107
+ "default": false,
108
+ "description": "Specifies if declaring module exports the component."
109
+ },
110
+ "entryComponent": {
111
+ "type": "boolean",
112
+ "default": false,
113
+ "description": "Specifies if the component is an entry component of declaring module."
114
+ },
115
+ "lintFix": {
116
+ "type": "boolean",
117
+ "default": false,
118
+ "description": "Specifies whether to apply lint fixes after generating the component."
119
+ }
120
+ },
121
+ "required": [
122
+ "name"
123
+ ],
124
+ "id": "diagram-default-functionalities"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
4
+ const sampleDetails = require("./sample-details");
5
+ function default_1(options) {
6
+ return schematics_1.componentBuilder(options, sampleDetails);
7
+ }
8
+ exports.default = default_1;
@@ -0,0 +1,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'diagram';
4
+ exports.sampleName = 'hierarchical-tree';
5
+ exports.diModules = null;
6
+ exports.packageName = '@syncfusion/ej2-angular-diagrams';
7
+ exports.libModules = 'DiagramModule';
@@ -0,0 +1,13 @@
1
+ <div class="control-section diagram-hierarchical-tree">
2
+ <div class="col-lg-8">
3
+ <div class="content-wrapper">
4
+ <ejs-diagram #diagram id="diagram" width="100%" height="499px" [getConnectorDefaults]='connDefaults'
5
+ [getNodeDefaults]='nodeDefaults' [layout]='layout' [dataSourceSettings]='data' [snapSettings]='snapSettings'>
6
+ </ejs-diagram>
7
+ </div>
8
+ </div>
9
+ <div class="col-lg-4 property-section">
10
+ <div class="row property-panel-content" style="padding-top: 10px">
11
+ </div>
12
+ </div>
13
+ </div>
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "diagram-hierarchical-tree",
5
+ "type": "object",
6
+ "properties": {
7
+ "path": {
8
+ "type": "string",
9
+ "format": "path",
10
+ "description": "The path to create the component.",
11
+ "visible": false
12
+ },
13
+ "project": {
14
+ "type": "string",
15
+ "description": "The name of the project.",
16
+ "$default": {
17
+ "$source": "projectName"
18
+ }
19
+ },
20
+ "name": {
21
+ "type": "string",
22
+ "description": "The name of the component.",
23
+ "$default": {
24
+ "$source": "argv",
25
+ "index": 0
26
+ }
27
+ },
28
+ "inlineStyle": {
29
+ "description": "Specifies if the style will be in the ts file.",
30
+ "type": "boolean",
31
+ "default": false,
32
+ "alias": "s"
33
+ },
34
+ "inlineTemplate": {
35
+ "description": "Specifies if the template will be in the ts file.",
36
+ "type": "boolean",
37
+ "default": false,
38
+ "alias": "t"
39
+ },
40
+ "viewEncapsulation": {
41
+ "description": "Specifies the view encapsulation strategy.",
42
+ "enum": [
43
+ "Emulated",
44
+ "Native",
45
+ "None",
46
+ "ShadowDom"
47
+ ],
48
+ "type": "string",
49
+ "alias": "v"
50
+ },
51
+ "changeDetection": {
52
+ "description": "Specifies the change detection strategy.",
53
+ "enum": [
54
+ "Default",
55
+ "OnPush"
56
+ ],
57
+ "type": "string",
58
+ "default": "Default",
59
+ "alias": "c"
60
+ },
61
+ "prefix": {
62
+ "type": "string",
63
+ "description": "The prefix to apply to generated selectors.",
64
+ "alias": "p",
65
+ "oneOf": [
66
+ {
67
+ "maxLength": 0
68
+ },
69
+ {
70
+ "minLength": 1,
71
+ "format": "html-selector"
72
+ }
73
+ ]
74
+ },
75
+ "styleext": {
76
+ "description": "The file extension to be used for style files.",
77
+ "type": "string",
78
+ "default": "css"
79
+ },
80
+ "spec": {
81
+ "type": "boolean",
82
+ "description": "Specifies if a spec file is generated.",
83
+ "default": true
84
+ },
85
+ "flat": {
86
+ "type": "boolean",
87
+ "description": "Flag to indicate if a dir is created.",
88
+ "default": false
89
+ },
90
+ "skipImport": {
91
+ "type": "boolean",
92
+ "description": "Flag to skip the module import.",
93
+ "default": false
94
+ },
95
+ "selector": {
96
+ "type": "string",
97
+ "format": "html-selector",
98
+ "description": "The selector to use for the component."
99
+ },
100
+ "module": {
101
+ "type": "string",
102
+ "description": "Allows specification of the declaring module.",
103
+ "alias": "m"
104
+ },
105
+ "export": {
106
+ "type": "boolean",
107
+ "default": false,
108
+ "description": "Specifies if declaring module exports the component."
109
+ },
110
+ "entryComponent": {
111
+ "type": "boolean",
112
+ "default": false,
113
+ "description": "Specifies if the component is an entry component of declaring module."
114
+ },
115
+ "lintFix": {
116
+ "type": "boolean",
117
+ "default": false,
118
+ "description": "Specifies whether to apply lint fixes after generating the component."
119
+ }
120
+ },
121
+ "required": [
122
+ "name"
123
+ ],
124
+ "id": "diagram-hierarchical-tree"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
4
+ const sampleDetails = require("./sample-details");
5
+ function default_1(options) {
6
+ return schematics_1.componentBuilder(options, sampleDetails);
7
+ }
8
+ exports.default = default_1;
@@ -0,0 +1,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'diagram';
4
+ exports.sampleName = 'organization-chart';
5
+ exports.diModules = null;
6
+ exports.packageName = '@syncfusion/ej2-angular-diagrams';
7
+ exports.libModules = 'DiagramModule';
@@ -0,0 +1,66 @@
1
+ <style>
2
+ .diagram-organizationalchart .image-pattern-style {
3
+ background-color: white;
4
+ background-size: contain;
5
+ background-repeat: no-repeat;
6
+ height: 75px;
7
+ width: calc((100% - 18px) / 3);
8
+ cursor: pointer;
9
+ border: 1px solid #D5D5D5;
10
+ background-position: center;
11
+ float: left;
12
+ }
13
+
14
+ .diagram-organizationalchart .row {
15
+ margin-left: 0px;
16
+ margin-right: 0px;
17
+ }
18
+
19
+ .diagram-organizationalchart .row-header {
20
+ font-size: 15px;
21
+ font-weight: 500;
22
+ }
23
+
24
+ .diagram-organizationalchart .sb-child-row {
25
+ padding-top: 8px;
26
+ }
27
+
28
+ .diagram-organizationalchart .row-header1 {
29
+ font-size: 12px;
30
+ padding-left: 2px;
31
+ font-weight: 400;
32
+ }
33
+
34
+ .diagram-organizationalchart .e-selected-style {
35
+ border-color: #006CE6;
36
+ border-width: 2px;
37
+ }
38
+
39
+ .diagram-organizationalchart .e-checkbox-wrapper .e-label {
40
+ font-size: 12px;
41
+ }
42
+
43
+ .diagram-organizationalchart .col-xs-6 {
44
+ padding-left: 0px;
45
+ padding-right: 0px;
46
+ }
47
+ </style>
48
+ <div class="control-section diagram-organizationalchart">
49
+ <div class="col-lg-8 control-section">
50
+ <div class="content-wrapper">
51
+ <ejs-diagram #diagram id="diagram" width="100%" height="700px" [getConnectorDefaults]='connDefaults'
52
+ [getNodeDefaults]='nodeDefaults' [layout]='layout' [dataSourceSettings]='data' [tool]='tool'
53
+ [snapSettings]='snapSettings'>
54
+ </ejs-diagram>
55
+ </div>
56
+ </div>
57
+ <div class="col-lg-4 property-section">
58
+ <div class="property-panel-header">
59
+ Properties
60
+ </div>
61
+ <div class="row property-panel-content" id="appearance">
62
+ <div class="row" style="padding-top: 10px">
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </div>