@syncfusion/ej2-angular-treemap 22.1.34 → 22.1.36

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 (202) hide show
  1. package/README.md +116 -42
  2. package/esm2020/src/treemap/colormapping.directive.mjs +1 -1
  3. package/esm2020/src/treemap/levels.directive.mjs +2 -2
  4. package/esm2020/src/treemap/treemap.component.mjs +2 -2
  5. package/fesm2015/syncfusion-ej2-angular-treemap.mjs +2 -2
  6. package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +1 -1
  7. package/fesm2020/syncfusion-ej2-angular-treemap.mjs +2 -2
  8. package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +1 -1
  9. package/package.json +6 -22
  10. package/schematics/collection.json +110 -0
  11. package/schematics/generators/treemap-default/index.d.ts +3 -0
  12. package/schematics/generators/treemap-default/index.js +8 -0
  13. package/schematics/generators/treemap-default/sample-details.d.ts +5 -0
  14. package/schematics/generators/treemap-default/sample-details.js +7 -0
  15. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  16. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
  17. package/schematics/generators/treemap-default/schema.d.ts +3 -0
  18. package/schematics/generators/treemap-default/schema.js +2 -0
  19. package/schematics/generators/treemap-default/schema.json +125 -0
  20. package/schematics/generators/treemap-desaturation-color/index.d.ts +3 -0
  21. package/schematics/generators/treemap-desaturation-color/index.js +8 -0
  22. package/schematics/generators/treemap-desaturation-color/sample-details.d.ts +5 -0
  23. package/schematics/generators/treemap-desaturation-color/sample-details.js +7 -0
  24. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  25. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +9 -0
  26. package/schematics/generators/treemap-desaturation-color/schema.d.ts +3 -0
  27. package/schematics/generators/treemap-desaturation-color/schema.js +2 -0
  28. package/schematics/generators/treemap-desaturation-color/schema.json +125 -0
  29. package/schematics/generators/treemap-drilldown/index.d.ts +3 -0
  30. package/schematics/generators/treemap-drilldown/index.js +8 -0
  31. package/schematics/generators/treemap-drilldown/sample-details.d.ts +5 -0
  32. package/schematics/generators/treemap-drilldown/sample-details.js +7 -0
  33. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  34. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
  35. package/schematics/generators/treemap-drilldown/schema.d.ts +3 -0
  36. package/schematics/generators/treemap-drilldown/schema.js +2 -0
  37. package/schematics/generators/treemap-drilldown/schema.json +125 -0
  38. package/schematics/generators/treemap-equal-color/index.d.ts +3 -0
  39. package/schematics/generators/treemap-equal-color/index.js +8 -0
  40. package/schematics/generators/treemap-equal-color/sample-details.d.ts +5 -0
  41. package/schematics/generators/treemap-equal-color/sample-details.js +7 -0
  42. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  43. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +9 -0
  44. package/schematics/generators/treemap-equal-color/schema.d.ts +3 -0
  45. package/schematics/generators/treemap-equal-color/schema.js +2 -0
  46. package/schematics/generators/treemap-equal-color/schema.json +125 -0
  47. package/schematics/generators/treemap-highlight/index.d.ts +3 -0
  48. package/schematics/generators/treemap-highlight/index.js +8 -0
  49. package/schematics/generators/treemap-highlight/sample-details.d.ts +5 -0
  50. package/schematics/generators/treemap-highlight/sample-details.js +7 -0
  51. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  52. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  53. package/schematics/generators/treemap-highlight/schema.d.ts +3 -0
  54. package/schematics/generators/treemap-highlight/schema.js +2 -0
  55. package/schematics/generators/treemap-highlight/schema.json +125 -0
  56. package/schematics/generators/treemap-label-hide/index.d.ts +3 -0
  57. package/schematics/generators/treemap-label-hide/index.js +8 -0
  58. package/schematics/generators/treemap-label-hide/sample-details.d.ts +5 -0
  59. package/schematics/generators/treemap-label-hide/sample-details.js +7 -0
  60. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  61. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  62. package/schematics/generators/treemap-label-hide/schema.d.ts +3 -0
  63. package/schematics/generators/treemap-label-hide/schema.js +2 -0
  64. package/schematics/generators/treemap-label-hide/schema.json +125 -0
  65. package/schematics/generators/treemap-label-trim/index.d.ts +3 -0
  66. package/schematics/generators/treemap-label-trim/index.js +8 -0
  67. package/schematics/generators/treemap-label-trim/sample-details.d.ts +5 -0
  68. package/schematics/generators/treemap-label-trim/sample-details.js +7 -0
  69. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  70. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  71. package/schematics/generators/treemap-label-trim/schema.d.ts +3 -0
  72. package/schematics/generators/treemap-label-trim/schema.js +2 -0
  73. package/schematics/generators/treemap-label-trim/schema.json +125 -0
  74. package/schematics/generators/treemap-label-wrap/index.d.ts +3 -0
  75. package/schematics/generators/treemap-label-wrap/index.js +8 -0
  76. package/schematics/generators/treemap-label-wrap/sample-details.d.ts +5 -0
  77. package/schematics/generators/treemap-label-wrap/sample-details.js +7 -0
  78. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  79. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  80. package/schematics/generators/treemap-label-wrap/schema.d.ts +3 -0
  81. package/schematics/generators/treemap-label-wrap/schema.js +2 -0
  82. package/schematics/generators/treemap-label-wrap/schema.json +125 -0
  83. package/schematics/generators/treemap-label-wrapbyword/index.d.ts +3 -0
  84. package/schematics/generators/treemap-label-wrapbyword/index.js +8 -0
  85. package/schematics/generators/treemap-label-wrapbyword/sample-details.d.ts +5 -0
  86. package/schematics/generators/treemap-label-wrapbyword/sample-details.js +7 -0
  87. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  88. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  89. package/schematics/generators/treemap-label-wrapbyword/schema.d.ts +3 -0
  90. package/schematics/generators/treemap-label-wrapbyword/schema.js +2 -0
  91. package/schematics/generators/treemap-label-wrapbyword/schema.json +125 -0
  92. package/schematics/generators/treemap-layout-squarified/index.d.ts +3 -0
  93. package/schematics/generators/treemap-layout-squarified/index.js +8 -0
  94. package/schematics/generators/treemap-layout-squarified/sample-details.d.ts +5 -0
  95. package/schematics/generators/treemap-layout-squarified/sample-details.js +7 -0
  96. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  97. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  98. package/schematics/generators/treemap-layout-squarified/schema.d.ts +3 -0
  99. package/schematics/generators/treemap-layout-squarified/schema.js +2 -0
  100. package/schematics/generators/treemap-layout-squarified/schema.json +125 -0
  101. package/schematics/generators/treemap-layout-type-four/index.d.ts +3 -0
  102. package/schematics/generators/treemap-layout-type-four/index.js +8 -0
  103. package/schematics/generators/treemap-layout-type-four/sample-details.d.ts +5 -0
  104. package/schematics/generators/treemap-layout-type-four/sample-details.js +7 -0
  105. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  106. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  107. package/schematics/generators/treemap-layout-type-four/schema.d.ts +3 -0
  108. package/schematics/generators/treemap-layout-type-four/schema.js +2 -0
  109. package/schematics/generators/treemap-layout-type-four/schema.json +125 -0
  110. package/schematics/generators/treemap-layout-type-three/index.d.ts +3 -0
  111. package/schematics/generators/treemap-layout-type-three/index.js +8 -0
  112. package/schematics/generators/treemap-layout-type-three/sample-details.d.ts +5 -0
  113. package/schematics/generators/treemap-layout-type-three/sample-details.js +7 -0
  114. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  115. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  116. package/schematics/generators/treemap-layout-type-three/schema.d.ts +3 -0
  117. package/schematics/generators/treemap-layout-type-three/schema.js +2 -0
  118. package/schematics/generators/treemap-layout-type-three/schema.json +125 -0
  119. package/schematics/generators/treemap-layout-type-two/index.d.ts +3 -0
  120. package/schematics/generators/treemap-layout-type-two/index.js +8 -0
  121. package/schematics/generators/treemap-layout-type-two/sample-details.d.ts +5 -0
  122. package/schematics/generators/treemap-layout-type-two/sample-details.js +7 -0
  123. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  124. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  125. package/schematics/generators/treemap-layout-type-two/schema.d.ts +3 -0
  126. package/schematics/generators/treemap-layout-type-two/schema.js +2 -0
  127. package/schematics/generators/treemap-layout-type-two/schema.json +125 -0
  128. package/schematics/generators/treemap-leaf/index.d.ts +3 -0
  129. package/schematics/generators/treemap-leaf/index.js +8 -0
  130. package/schematics/generators/treemap-leaf/sample-details.d.ts +5 -0
  131. package/schematics/generators/treemap-leaf/sample-details.js +7 -0
  132. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  133. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  134. package/schematics/generators/treemap-leaf/schema.d.ts +3 -0
  135. package/schematics/generators/treemap-leaf/schema.js +2 -0
  136. package/schematics/generators/treemap-leaf/schema.json +125 -0
  137. package/schematics/generators/treemap-legend-default/index.d.ts +3 -0
  138. package/schematics/generators/treemap-legend-default/index.js +8 -0
  139. package/schematics/generators/treemap-legend-default/sample-details.d.ts +5 -0
  140. package/schematics/generators/treemap-legend-default/sample-details.js +7 -0
  141. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  142. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
  143. package/schematics/generators/treemap-legend-default/schema.d.ts +3 -0
  144. package/schematics/generators/treemap-legend-default/schema.js +2 -0
  145. package/schematics/generators/treemap-legend-default/schema.json +125 -0
  146. package/schematics/generators/treemap-legend-interaction/index.d.ts +3 -0
  147. package/schematics/generators/treemap-legend-interaction/index.js +8 -0
  148. package/schematics/generators/treemap-legend-interaction/sample-details.d.ts +5 -0
  149. package/schematics/generators/treemap-legend-interaction/sample-details.js +7 -0
  150. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  151. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
  152. package/schematics/generators/treemap-legend-interaction/schema.d.ts +3 -0
  153. package/schematics/generators/treemap-legend-interaction/schema.js +2 -0
  154. package/schematics/generators/treemap-legend-interaction/schema.json +125 -0
  155. package/schematics/generators/treemap-level/index.d.ts +3 -0
  156. package/schematics/generators/treemap-level/index.js +8 -0
  157. package/schematics/generators/treemap-level/sample-details.d.ts +5 -0
  158. package/schematics/generators/treemap-level/sample-details.js +7 -0
  159. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  160. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  161. package/schematics/generators/treemap-level/schema.d.ts +3 -0
  162. package/schematics/generators/treemap-level/schema.js +2 -0
  163. package/schematics/generators/treemap-level/schema.json +125 -0
  164. package/schematics/generators/treemap-range-color/index.d.ts +3 -0
  165. package/schematics/generators/treemap-range-color/index.js +8 -0
  166. package/schematics/generators/treemap-range-color/sample-details.d.ts +5 -0
  167. package/schematics/generators/treemap-range-color/sample-details.js +7 -0
  168. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  169. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +14 -0
  170. package/schematics/generators/treemap-range-color/schema.d.ts +3 -0
  171. package/schematics/generators/treemap-range-color/schema.js +2 -0
  172. package/schematics/generators/treemap-range-color/schema.json +125 -0
  173. package/schematics/generators/treemap-selection/index.d.ts +3 -0
  174. package/schematics/generators/treemap-selection/index.js +8 -0
  175. package/schematics/generators/treemap-selection/sample-details.d.ts +5 -0
  176. package/schematics/generators/treemap-selection/sample-details.js +7 -0
  177. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  178. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  179. package/schematics/generators/treemap-selection/schema.d.ts +3 -0
  180. package/schematics/generators/treemap-selection/schema.js +2 -0
  181. package/schematics/generators/treemap-selection/schema.json +125 -0
  182. package/schematics/generators/treemap-tooltip/index.d.ts +3 -0
  183. package/schematics/generators/treemap-tooltip/index.js +8 -0
  184. package/schematics/generators/treemap-tooltip/sample-details.d.ts +5 -0
  185. package/schematics/generators/treemap-tooltip/sample-details.js +7 -0
  186. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  187. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  188. package/schematics/generators/treemap-tooltip/schema.d.ts +3 -0
  189. package/schematics/generators/treemap-tooltip/schema.js +2 -0
  190. package/schematics/generators/treemap-tooltip/schema.json +125 -0
  191. package/schematics/ng-add/index.d.ts +3 -0
  192. package/schematics/ng-add/index.js +9 -0
  193. package/schematics/ng-add/schema.d.ts +13 -0
  194. package/schematics/ng-add/schema.js +2 -0
  195. package/schematics/ng-add/schema.json +34 -0
  196. package/schematics/tsconfig.json +25 -0
  197. package/schematics/utils/lib-details.d.ts +4 -0
  198. package/schematics/utils/lib-details.js +6 -0
  199. package/schematics/utils/lib-details.ts +2 -2
  200. package/src/treemap/colormapping.directive.d.ts +4 -4
  201. package/src/treemap/levels.directive.d.ts +17 -16
  202. package/src/treemap/treemap.component.d.ts +1 -1
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "treemap-selection",
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": "treemap-selection"
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 = 'treemap';
4
+ exports.sampleName = 'tooltip';
5
+ exports.diModules = 'TreeMapTooltip';
6
+ exports.packageName = '@syncfusion/ej2-angular-treemap';
7
+ exports.libModules = 'TreeMapModule';
@@ -0,0 +1,10 @@
1
+ <div class="control-section">
2
+ <div align='center'>
3
+ <ejs-treemap id='container' #treemap style="display:block;" [dataSource]='dataSource' [weightValuePath]='weightValuePath' [leafItemSettings]='leafItemSettings' [tooltipSettings]='tooltipSettings' [titleSettings]='titleSettings' [equalColorValuePath]='equalColorValuePath'
4
+ [legendSettings]='legendSettings' (load)='load($event)'>
5
+
6
+ </ejs-treemap>
7
+ </div>
8
+ </div>
9
+
10
+
@@ -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": "treemap-tooltip",
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": "treemap-tooltip"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { OptionsSchema } from './schema';
2
+ import { Rule } from '@angular-devkit/schematics';
3
+ export default function (options: OptionsSchema): Rule;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lib_details_1 = require("./../utils/lib-details");
4
+ const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
5
+ function default_1(options) {
6
+ const libOptions = Object.assign({}, { 'pkgName': lib_details_1.pkgName, 'pkgVer': lib_details_1.pkgVer, 'moduleName': lib_details_1.moduleName, 'themeVer': lib_details_1.themeVer });
7
+ return schematics_1.install(options, libOptions);
8
+ }
9
+ exports.default = default_1;
@@ -0,0 +1,13 @@
1
+ export interface OptionsSchema {
2
+ skipPackageJson: boolean;
3
+ modules: string;
4
+ modulePath: string;
5
+ theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
6
+ project?: string;
7
+ }
8
+ export interface LibOptionsSchema {
9
+ pkgName: string;
10
+ pkgVer: string;
11
+ moduleName: string;
12
+ themeVer: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "ngAdd",
4
+ "title": "Add Essential JS 2 Angular packages",
5
+ "type": "object",
6
+ "properties": {
7
+ "skipPackageJson": {
8
+ "type": "boolean",
9
+ "default": false,
10
+ "description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
11
+ },
12
+ "modules": {
13
+ "type": "string",
14
+ "default": "",
15
+ "description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
16
+ },
17
+ "modulePath": {
18
+ "type": "string",
19
+ "default": "",
20
+ "description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
21
+ },
22
+ "theme": {
23
+ "enum": [
24
+ "material",
25
+ "fabric",
26
+ "bootstrap",
27
+ "highcontrast"
28
+ ],
29
+ "default": "material",
30
+ "description": "Used to change the theme that needs to be imported"
31
+ }
32
+ },
33
+ "required": []
34
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["es2017", "dom"],
4
+ "module": "commonjs",
5
+ "moduleResolution": "node",
6
+ "noEmitOnError": false,
7
+ "skipDefaultLibCheck": true,
8
+ "skipLibCheck": true,
9
+ "sourceMap": true,
10
+ "target": "es6",
11
+ "declaration": true,
12
+ "types": [
13
+ "jasmine",
14
+ "node"
15
+ ]
16
+ },
17
+ "exclude": [
18
+ "node_modules",
19
+ "src",
20
+ "src/**/*.ts",
21
+ "spec",
22
+ "spec/**/*.ts",
23
+ "@typings"
24
+ ]
25
+ }
@@ -0,0 +1,4 @@
1
+ export declare const pkgName = "@syncfusion/ej2-angular-treemap";
2
+ export declare const pkgVer = "^21.1.36";
3
+ export declare const moduleName = "TreeMapModule";
4
+ export declare const themeVer = "~21.1.36";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pkgName = '@syncfusion/ej2-angular-treemap';
4
+ exports.pkgVer = '^22.1.36';
5
+ exports.moduleName = 'TreeMapModule';
6
+ exports.themeVer = '~22.1.36';
@@ -1,4 +1,4 @@
1
1
  export const pkgName = '@syncfusion/ej2-angular-treemap';
2
- export const pkgVer = '^20.1.55';
2
+ export const pkgVer = '^22.1.36';
3
3
  export const moduleName = 'TreeMapModule';
4
- export const themeVer = '~20.1.55';
4
+ export const themeVer = '~22.1.36';
@@ -15,22 +15,22 @@ export declare class ColorMappingDirective extends ComplexBase<ColorMappingDirec
15
15
  */
16
16
  from: any;
17
17
  /**
18
- * Sets and gets the label text for the legend based on color mapping.
18
+ * Sets and gets the label text for the legend when it is rendered based on color mapping.
19
19
  * @default null
20
20
  */
21
21
  label: any;
22
22
  /**
23
- * Sets and gets the maximum opacity for the color-mapping in the treemap component.
23
+ * Sets and gets the maximum opacity for the color-mapping in the treemap.
24
24
  * @default null
25
25
  */
26
26
  maxOpacity: any;
27
27
  /**
28
- * Sets and gets the minimum opacity for the color-mapping in the treemap component.
28
+ * Sets and gets the minimum opacity for the color-mapping in the treemap.
29
29
  * @default null
30
30
  */
31
31
  minOpacity: any;
32
32
  /**
33
- * Enables or disables the visibility of the legend for color mapping in the treemap component.
33
+ * Enables or disables the visibility of the legend for color mapping in the treemap.
34
34
  * @default true
35
35
  */
36
36
  showLegend: any;
@@ -2,7 +2,7 @@ import { ViewContainerRef } from '@angular/core';
2
2
  import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
- * Level Directive
5
+ * Represents the directive to configure and render level leaf items in the treemap.
6
6
  * ```html
7
7
  * <e-levels>
8
8
  * <e-level></e-level>
@@ -15,76 +15,77 @@ export declare class LevelDirective extends ComplexBase<LevelDirective> {
15
15
  childColorMapping: any;
16
16
  tags: string[];
17
17
  /**
18
- * Enables or disables the automatic filling of the colors in the items in the treemap component.
18
+ * Enables or disables the automatic filling of the colors from the palette in the items of the treemap.
19
19
  * @default false
20
20
  */
21
21
  autoFill: any;
22
22
  /**
23
23
  * Sets and gets the options for customizing the color and width of the border of
24
- * the levels of the treemap component.
24
+ * the level leaf items of the treemap.
25
25
  */
26
26
  border: any;
27
27
  /**
28
- * Sets and gets the options for customizing the color-mapping in the treemap component.
28
+ * Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.
29
29
  */
30
30
  colorMapping: any;
31
31
  /**
32
- * Sets and gets the fill color of the level in the treemap component.
32
+ * Sets and gets the fill color of the level leaf item in the treemap.
33
33
  * @default null
34
34
  */
35
35
  fill: any;
36
36
  /**
37
- * Sets and gets the gap between the levels in the treemap component.
37
+ * Sets and gets the gap between the level leaf items in the treemap.
38
38
  * @default 0
39
39
  */
40
40
  groupGap: any;
41
41
  /**
42
- * Sets and gets the padding of levels in the treemap component.
42
+ * Sets and gets the padding of level leaf items in the treemap.
43
43
  * @default 10
44
44
  */
45
45
  groupPadding: any;
46
46
  /**
47
- * Sets and gets the value path from the data source in the treemap component to render the item.
47
+ * Sets and gets the value path from the data source in the treemap to render the item.
48
48
  * @default null
49
49
  */
50
50
  groupPath: any;
51
51
  /**
52
- * Sets and gets the alignment of the header of the treemap component.
52
+ * Sets and gets the alignment of the header of the treemap.
53
53
  * @default 'Near'
54
54
  */
55
55
  headerAlignment: any;
56
56
  /**
57
- * Sets and gets the format of header of the levels in the treemap component.
57
+ * Sets and gets the string to format the header label of the level leaf items in the treemap.
58
58
  * @default null
59
59
  */
60
60
  headerFormat: any;
61
61
  /**
62
- * Sets and gets the height of header in the treemap component.
62
+ * Sets and gets the height of header in the treemap.
63
63
  * @default 20
64
64
  */
65
65
  headerHeight: any;
66
66
  /**
67
- * Sets and gets the options for customizing the style of header of the treemap component.
67
+ * Sets and gets the options for customizing the text style of header label of the level leaf item.
68
68
  */
69
69
  headerStyle: any;
70
70
  /**
71
- * Sets and gets the opacity in the treemap component.
71
+ * Sets and gets the opacity in the level leaf item of the treemap.
72
72
  * @default 1
73
73
  */
74
74
  opacity: any;
75
75
  /**
76
- * Shows or hides the header in level of the treemap component.
76
+ * Shows or hides the header in level leaf item of the treemap.
77
77
  * @default true
78
78
  */
79
79
  showHeader: any;
80
80
  /**
81
- * Sets and gets the options for customizing the template position of the treemap component.
81
+ * Sets and gets the options for customizing the template position of the treemap.
82
82
  * @default 'TopLeft'
83
83
  */
84
84
  templatePosition: any;
85
85
  /**
86
- * Sets and gets the template for header in the treemap component.
86
+ * Sets and gets the template for header in the treemap.
87
87
  * @default null
88
+ * @asptype string
88
89
  */
89
90
  headerTemplate: any;
90
91
  constructor(viewContainerRef: ViewContainerRef);
@@ -7,7 +7,7 @@ export declare const inputs: string[];
7
7
  export declare const outputs: string[];
8
8
  export declare const twoWays: string[];
9
9
  /**
10
- * TreeMap Component
10
+ * Represents the Angular TreeMap component. It is used to visualize both hierarchical and flat data.
11
11
  * ```html
12
12
  * <ej-treemap></ej-treemap>
13
13
  * ```