@syncfusion/ej2-angular-treemap 26.1.35 → 26.2.4-ngcc

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 (318) hide show
  1. package/@syncfusion/ej2-angular-treemap.es5.js +387 -0
  2. package/@syncfusion/ej2-angular-treemap.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-treemap.js +355 -0
  4. package/@syncfusion/ej2-angular-treemap.js.map +1 -0
  5. package/dist/ej2-angular-treemap.umd.js +520 -0
  6. package/dist/ej2-angular-treemap.umd.js.map +1 -0
  7. package/dist/ej2-angular-treemap.umd.min.js +11 -0
  8. package/dist/ej2-angular-treemap.umd.min.js.map +1 -0
  9. package/ej2-angular-treemap.d.ts +5 -0
  10. package/ej2-angular-treemap.metadata.json +1 -0
  11. package/license +10 -0
  12. package/package.json +14 -28
  13. package/schematics/collection.json +0 -100
  14. package/src/treemap/colormapping.directive.d.ts +0 -5
  15. package/src/treemap/levels.directive.d.ts +0 -5
  16. package/src/treemap/treemap-all.module.d.ts +0 -6
  17. package/src/treemap/treemap.component.d.ts +0 -3
  18. package/src/treemap/treemap.module.d.ts +0 -8
  19. package/CHANGELOG.md +0 -83
  20. package/esm2020/public_api.mjs +0 -2
  21. package/esm2020/src/index.mjs +0 -7
  22. package/esm2020/src/treemap/colormapping.directive.mjs +0 -46
  23. package/esm2020/src/treemap/levels.directive.mjs +0 -66
  24. package/esm2020/src/treemap/treemap-all.module.mjs +0 -47
  25. package/esm2020/src/treemap/treemap.component.mjs +0 -126
  26. package/esm2020/src/treemap/treemap.module.mjs +0 -43
  27. package/esm2020/syncfusion-ej2-angular-treemap.mjs +0 -5
  28. package/fesm2015/syncfusion-ej2-angular-treemap.mjs +0 -314
  29. package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +0 -1
  30. package/fesm2020/syncfusion-ej2-angular-treemap.mjs +0 -314
  31. package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +0 -1
  32. package/schematics/generators/treemap-default/index.d.ts +0 -3
  33. package/schematics/generators/treemap-default/index.js +0 -8
  34. package/schematics/generators/treemap-default/index.ts +0 -8
  35. package/schematics/generators/treemap-default/sample-details.d.ts +0 -5
  36. package/schematics/generators/treemap-default/sample-details.js +0 -7
  37. package/schematics/generators/treemap-default/sample-details.ts +0 -5
  38. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  39. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  40. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -60
  41. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  42. package/schematics/generators/treemap-default/schema.d.ts +0 -3
  43. package/schematics/generators/treemap-default/schema.js +0 -2
  44. package/schematics/generators/treemap-default/schema.json +0 -125
  45. package/schematics/generators/treemap-default/schema.ts +0 -3
  46. package/schematics/generators/treemap-desaturation-color/index.d.ts +0 -3
  47. package/schematics/generators/treemap-desaturation-color/index.js +0 -8
  48. package/schematics/generators/treemap-desaturation-color/index.ts +0 -8
  49. package/schematics/generators/treemap-desaturation-color/sample-details.d.ts +0 -5
  50. package/schematics/generators/treemap-desaturation-color/sample-details.js +0 -7
  51. package/schematics/generators/treemap-desaturation-color/sample-details.ts +0 -5
  52. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  53. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -9
  54. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -48
  55. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  56. package/schematics/generators/treemap-desaturation-color/schema.d.ts +0 -3
  57. package/schematics/generators/treemap-desaturation-color/schema.js +0 -2
  58. package/schematics/generators/treemap-desaturation-color/schema.json +0 -125
  59. package/schematics/generators/treemap-desaturation-color/schema.ts +0 -3
  60. package/schematics/generators/treemap-drilldown/index.d.ts +0 -3
  61. package/schematics/generators/treemap-drilldown/index.js +0 -8
  62. package/schematics/generators/treemap-drilldown/index.ts +0 -8
  63. package/schematics/generators/treemap-drilldown/sample-details.d.ts +0 -5
  64. package/schematics/generators/treemap-drilldown/sample-details.js +0 -7
  65. package/schematics/generators/treemap-drilldown/sample-details.ts +0 -5
  66. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  67. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  68. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  69. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/assets/drilldown-sample.ts +0 -261
  70. package/schematics/generators/treemap-drilldown/schema.d.ts +0 -3
  71. package/schematics/generators/treemap-drilldown/schema.js +0 -2
  72. package/schematics/generators/treemap-drilldown/schema.json +0 -125
  73. package/schematics/generators/treemap-drilldown/schema.ts +0 -3
  74. package/schematics/generators/treemap-equal-color/index.d.ts +0 -3
  75. package/schematics/generators/treemap-equal-color/index.js +0 -8
  76. package/schematics/generators/treemap-equal-color/index.ts +0 -8
  77. package/schematics/generators/treemap-equal-color/sample-details.d.ts +0 -5
  78. package/schematics/generators/treemap-equal-color/sample-details.js +0 -7
  79. package/schematics/generators/treemap-equal-color/sample-details.ts +0 -5
  80. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  81. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -9
  82. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -53
  83. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  84. package/schematics/generators/treemap-equal-color/schema.d.ts +0 -3
  85. package/schematics/generators/treemap-equal-color/schema.js +0 -2
  86. package/schematics/generators/treemap-equal-color/schema.json +0 -125
  87. package/schematics/generators/treemap-equal-color/schema.ts +0 -3
  88. package/schematics/generators/treemap-highlight/index.d.ts +0 -3
  89. package/schematics/generators/treemap-highlight/index.js +0 -8
  90. package/schematics/generators/treemap-highlight/index.ts +0 -8
  91. package/schematics/generators/treemap-highlight/sample-details.d.ts +0 -5
  92. package/schematics/generators/treemap-highlight/sample-details.js +0 -7
  93. package/schematics/generators/treemap-highlight/sample-details.ts +0 -5
  94. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  95. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  96. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -64
  97. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  98. package/schematics/generators/treemap-highlight/schema.d.ts +0 -3
  99. package/schematics/generators/treemap-highlight/schema.js +0 -2
  100. package/schematics/generators/treemap-highlight/schema.json +0 -125
  101. package/schematics/generators/treemap-highlight/schema.ts +0 -3
  102. package/schematics/generators/treemap-label-hide/index.d.ts +0 -3
  103. package/schematics/generators/treemap-label-hide/index.js +0 -8
  104. package/schematics/generators/treemap-label-hide/index.ts +0 -8
  105. package/schematics/generators/treemap-label-hide/sample-details.d.ts +0 -5
  106. package/schematics/generators/treemap-label-hide/sample-details.js +0 -7
  107. package/schematics/generators/treemap-label-hide/sample-details.ts +0 -5
  108. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  109. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  110. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  111. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  112. package/schematics/generators/treemap-label-hide/schema.d.ts +0 -3
  113. package/schematics/generators/treemap-label-hide/schema.js +0 -2
  114. package/schematics/generators/treemap-label-hide/schema.json +0 -125
  115. package/schematics/generators/treemap-label-hide/schema.ts +0 -3
  116. package/schematics/generators/treemap-label-trim/index.d.ts +0 -3
  117. package/schematics/generators/treemap-label-trim/index.js +0 -8
  118. package/schematics/generators/treemap-label-trim/index.ts +0 -8
  119. package/schematics/generators/treemap-label-trim/sample-details.d.ts +0 -5
  120. package/schematics/generators/treemap-label-trim/sample-details.js +0 -7
  121. package/schematics/generators/treemap-label-trim/sample-details.ts +0 -5
  122. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  123. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  124. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  125. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  126. package/schematics/generators/treemap-label-trim/schema.d.ts +0 -3
  127. package/schematics/generators/treemap-label-trim/schema.js +0 -2
  128. package/schematics/generators/treemap-label-trim/schema.json +0 -125
  129. package/schematics/generators/treemap-label-trim/schema.ts +0 -3
  130. package/schematics/generators/treemap-label-wrap/index.d.ts +0 -3
  131. package/schematics/generators/treemap-label-wrap/index.js +0 -8
  132. package/schematics/generators/treemap-label-wrap/index.ts +0 -8
  133. package/schematics/generators/treemap-label-wrap/sample-details.d.ts +0 -5
  134. package/schematics/generators/treemap-label-wrap/sample-details.js +0 -7
  135. package/schematics/generators/treemap-label-wrap/sample-details.ts +0 -5
  136. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  137. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  138. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  139. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  140. package/schematics/generators/treemap-label-wrap/schema.d.ts +0 -3
  141. package/schematics/generators/treemap-label-wrap/schema.js +0 -2
  142. package/schematics/generators/treemap-label-wrap/schema.json +0 -125
  143. package/schematics/generators/treemap-label-wrap/schema.ts +0 -3
  144. package/schematics/generators/treemap-label-wrapbyword/index.d.ts +0 -3
  145. package/schematics/generators/treemap-label-wrapbyword/index.js +0 -8
  146. package/schematics/generators/treemap-label-wrapbyword/index.ts +0 -8
  147. package/schematics/generators/treemap-label-wrapbyword/sample-details.d.ts +0 -5
  148. package/schematics/generators/treemap-label-wrapbyword/sample-details.js +0 -7
  149. package/schematics/generators/treemap-label-wrapbyword/sample-details.ts +0 -5
  150. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  151. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  152. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  153. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  154. package/schematics/generators/treemap-label-wrapbyword/schema.d.ts +0 -3
  155. package/schematics/generators/treemap-label-wrapbyword/schema.js +0 -2
  156. package/schematics/generators/treemap-label-wrapbyword/schema.json +0 -125
  157. package/schematics/generators/treemap-label-wrapbyword/schema.ts +0 -3
  158. package/schematics/generators/treemap-layout-squarified/index.d.ts +0 -3
  159. package/schematics/generators/treemap-layout-squarified/index.js +0 -8
  160. package/schematics/generators/treemap-layout-squarified/index.ts +0 -8
  161. package/schematics/generators/treemap-layout-squarified/sample-details.d.ts +0 -5
  162. package/schematics/generators/treemap-layout-squarified/sample-details.js +0 -7
  163. package/schematics/generators/treemap-layout-squarified/sample-details.ts +0 -5
  164. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  165. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  166. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  167. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  168. package/schematics/generators/treemap-layout-squarified/schema.d.ts +0 -3
  169. package/schematics/generators/treemap-layout-squarified/schema.js +0 -2
  170. package/schematics/generators/treemap-layout-squarified/schema.json +0 -125
  171. package/schematics/generators/treemap-layout-squarified/schema.ts +0 -3
  172. package/schematics/generators/treemap-layout-type-four/index.d.ts +0 -3
  173. package/schematics/generators/treemap-layout-type-four/index.js +0 -8
  174. package/schematics/generators/treemap-layout-type-four/index.ts +0 -8
  175. package/schematics/generators/treemap-layout-type-four/sample-details.d.ts +0 -5
  176. package/schematics/generators/treemap-layout-type-four/sample-details.js +0 -7
  177. package/schematics/generators/treemap-layout-type-four/sample-details.ts +0 -5
  178. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  179. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  180. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  181. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  182. package/schematics/generators/treemap-layout-type-four/schema.d.ts +0 -3
  183. package/schematics/generators/treemap-layout-type-four/schema.js +0 -2
  184. package/schematics/generators/treemap-layout-type-four/schema.json +0 -125
  185. package/schematics/generators/treemap-layout-type-four/schema.ts +0 -3
  186. package/schematics/generators/treemap-layout-type-three/index.d.ts +0 -3
  187. package/schematics/generators/treemap-layout-type-three/index.js +0 -8
  188. package/schematics/generators/treemap-layout-type-three/index.ts +0 -8
  189. package/schematics/generators/treemap-layout-type-three/sample-details.d.ts +0 -5
  190. package/schematics/generators/treemap-layout-type-three/sample-details.js +0 -7
  191. package/schematics/generators/treemap-layout-type-three/sample-details.ts +0 -5
  192. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  193. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  194. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  195. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  196. package/schematics/generators/treemap-layout-type-three/schema.d.ts +0 -3
  197. package/schematics/generators/treemap-layout-type-three/schema.js +0 -2
  198. package/schematics/generators/treemap-layout-type-three/schema.json +0 -125
  199. package/schematics/generators/treemap-layout-type-three/schema.ts +0 -3
  200. package/schematics/generators/treemap-layout-type-two/index.d.ts +0 -3
  201. package/schematics/generators/treemap-layout-type-two/index.js +0 -8
  202. package/schematics/generators/treemap-layout-type-two/index.ts +0 -8
  203. package/schematics/generators/treemap-layout-type-two/sample-details.d.ts +0 -5
  204. package/schematics/generators/treemap-layout-type-two/sample-details.js +0 -7
  205. package/schematics/generators/treemap-layout-type-two/sample-details.ts +0 -5
  206. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  207. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  208. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  209. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  210. package/schematics/generators/treemap-layout-type-two/schema.d.ts +0 -3
  211. package/schematics/generators/treemap-layout-type-two/schema.js +0 -2
  212. package/schematics/generators/treemap-layout-type-two/schema.json +0 -125
  213. package/schematics/generators/treemap-layout-type-two/schema.ts +0 -3
  214. package/schematics/generators/treemap-leaf/index.d.ts +0 -3
  215. package/schematics/generators/treemap-leaf/index.js +0 -8
  216. package/schematics/generators/treemap-leaf/index.ts +0 -8
  217. package/schematics/generators/treemap-leaf/sample-details.d.ts +0 -5
  218. package/schematics/generators/treemap-leaf/sample-details.js +0 -7
  219. package/schematics/generators/treemap-leaf/sample-details.ts +0 -5
  220. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  221. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  222. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  223. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  224. package/schematics/generators/treemap-leaf/schema.d.ts +0 -3
  225. package/schematics/generators/treemap-leaf/schema.js +0 -2
  226. package/schematics/generators/treemap-leaf/schema.json +0 -125
  227. package/schematics/generators/treemap-leaf/schema.ts +0 -3
  228. package/schematics/generators/treemap-legend-default/index.d.ts +0 -3
  229. package/schematics/generators/treemap-legend-default/index.js +0 -8
  230. package/schematics/generators/treemap-legend-default/index.ts +0 -8
  231. package/schematics/generators/treemap-legend-default/sample-details.d.ts +0 -5
  232. package/schematics/generators/treemap-legend-default/sample-details.js +0 -7
  233. package/schematics/generators/treemap-legend-default/sample-details.ts +0 -5
  234. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  235. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -7
  236. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -57
  237. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/assets/election-data.ts +0 -57
  238. package/schematics/generators/treemap-legend-default/schema.d.ts +0 -3
  239. package/schematics/generators/treemap-legend-default/schema.js +0 -2
  240. package/schematics/generators/treemap-legend-default/schema.json +0 -125
  241. package/schematics/generators/treemap-legend-default/schema.ts +0 -3
  242. package/schematics/generators/treemap-legend-interaction/index.d.ts +0 -3
  243. package/schematics/generators/treemap-legend-interaction/index.js +0 -8
  244. package/schematics/generators/treemap-legend-interaction/index.ts +0 -8
  245. package/schematics/generators/treemap-legend-interaction/sample-details.d.ts +0 -5
  246. package/schematics/generators/treemap-legend-interaction/sample-details.js +0 -7
  247. package/schematics/generators/treemap-legend-interaction/sample-details.ts +0 -5
  248. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  249. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -7
  250. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  251. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/assets/election-data.ts +0 -57
  252. package/schematics/generators/treemap-legend-interaction/schema.d.ts +0 -3
  253. package/schematics/generators/treemap-legend-interaction/schema.js +0 -2
  254. package/schematics/generators/treemap-legend-interaction/schema.json +0 -125
  255. package/schematics/generators/treemap-legend-interaction/schema.ts +0 -3
  256. package/schematics/generators/treemap-level/index.d.ts +0 -3
  257. package/schematics/generators/treemap-level/index.js +0 -8
  258. package/schematics/generators/treemap-level/index.ts +0 -8
  259. package/schematics/generators/treemap-level/sample-details.d.ts +0 -5
  260. package/schematics/generators/treemap-level/sample-details.js +0 -7
  261. package/schematics/generators/treemap-level/sample-details.ts +0 -5
  262. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  263. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  264. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  265. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  266. package/schematics/generators/treemap-level/schema.d.ts +0 -3
  267. package/schematics/generators/treemap-level/schema.js +0 -2
  268. package/schematics/generators/treemap-level/schema.json +0 -125
  269. package/schematics/generators/treemap-level/schema.ts +0 -3
  270. package/schematics/generators/treemap-range-color/index.d.ts +0 -3
  271. package/schematics/generators/treemap-range-color/index.js +0 -8
  272. package/schematics/generators/treemap-range-color/index.ts +0 -8
  273. package/schematics/generators/treemap-range-color/sample-details.d.ts +0 -5
  274. package/schematics/generators/treemap-range-color/sample-details.js +0 -7
  275. package/schematics/generators/treemap-range-color/sample-details.ts +0 -5
  276. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  277. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -14
  278. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -59
  279. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  280. package/schematics/generators/treemap-range-color/schema.d.ts +0 -3
  281. package/schematics/generators/treemap-range-color/schema.js +0 -2
  282. package/schematics/generators/treemap-range-color/schema.json +0 -125
  283. package/schematics/generators/treemap-range-color/schema.ts +0 -3
  284. package/schematics/generators/treemap-selection/index.d.ts +0 -3
  285. package/schematics/generators/treemap-selection/index.js +0 -8
  286. package/schematics/generators/treemap-selection/index.ts +0 -8
  287. package/schematics/generators/treemap-selection/sample-details.d.ts +0 -5
  288. package/schematics/generators/treemap-selection/sample-details.js +0 -7
  289. package/schematics/generators/treemap-selection/sample-details.ts +0 -5
  290. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  291. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  292. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -64
  293. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  294. package/schematics/generators/treemap-selection/schema.d.ts +0 -3
  295. package/schematics/generators/treemap-selection/schema.js +0 -2
  296. package/schematics/generators/treemap-selection/schema.json +0 -125
  297. package/schematics/generators/treemap-selection/schema.ts +0 -3
  298. package/schematics/generators/treemap-tooltip/index.d.ts +0 -3
  299. package/schematics/generators/treemap-tooltip/index.js +0 -8
  300. package/schematics/generators/treemap-tooltip/index.ts +0 -8
  301. package/schematics/generators/treemap-tooltip/sample-details.d.ts +0 -5
  302. package/schematics/generators/treemap-tooltip/sample-details.js +0 -7
  303. package/schematics/generators/treemap-tooltip/sample-details.ts +0 -5
  304. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  305. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  306. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -90
  307. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/assets/airport-count.ts +0 -21
  308. package/schematics/generators/treemap-tooltip/schema.d.ts +0 -3
  309. package/schematics/generators/treemap-tooltip/schema.js +0 -2
  310. package/schematics/generators/treemap-tooltip/schema.json +0 -125
  311. package/schematics/generators/treemap-tooltip/schema.ts +0 -3
  312. package/schematics/ng-add/index.d.ts +0 -3
  313. package/schematics/ng-add/index.js +0 -9
  314. package/schematics/ng-add/schema.d.ts +0 -13
  315. package/schematics/ng-add/schema.js +0 -2
  316. package/schematics/utils/lib-details.d.ts +0 -4
  317. package/schematics/utils/lib-details.js +0 -6
  318. package/syncfusion-ej2-angular-treemap.d.ts +0 -5
@@ -1,407 +0,0 @@
1
- /**
2
- * Metals Data
3
- */
4
- /* eslint-disable */
5
- export let Country_Population =[
6
- { Country:"China", Population:1388232693},
7
-
8
- { Country:"India", Population:1342512706},
9
-
10
- { Country:"United States of America", Population:326474013},
11
-
12
- { Country:"Indonesia", Population:263510146},
13
-
14
- { Country:"Brazil", Population:211243220},
15
-
16
- { Country:"Pakistan", Population:196744376},
17
-
18
- { Country:"Nigeria", Population:191835936},
19
-
20
- { Country:"Bangladesh", Population:164827718},
21
-
22
- { Country:"Russian Federation", Population:143375006},
23
-
24
- { Country:"Mexico", Population:130222815},
25
-
26
- { Country:"Japan", Population:126045211},
27
-
28
- { Country:"Ethiopia", Population:104344901},
29
-
30
- { Country:"Philippines", Population:103796832},
31
-
32
- { Country:"Viet Nam", Population:95414640},
33
-
34
- { Country:"Egypt", Population:95215102},
35
-
36
- { Country:"D.R. Congo", Population:82242685},
37
-
38
- { Country:"Iran", Population:80945718},
39
-
40
- { Country:"Germany", Population:80636124},
41
-
42
- { Country:"Turkey", Population:80417526},
43
-
44
- { Country:"Thailand", Population:68297547},
45
-
46
- { Country:"United Kingdom", Population:65511098},
47
-
48
- { Country:"France", Population:64938716},
49
-
50
- { Country:"Italy", Population:59797978},
51
-
52
- { Country:"Tanzania", Population:56877529},
53
-
54
- { Country:"South Africa", Population:55436360},
55
-
56
- { Country:"Myanmar", Population:54836483},
57
-
58
- { Country:"Republic of Korea", Population:50704971},
59
-
60
- { Country:"Colombia", Population:49067981},
61
-
62
- { Country:"Kenya", Population:48466928},
63
-
64
- { Country:"Spain", Population:46070146},
65
-
66
- { Country:"Ukraine", Population:44405055},
67
-
68
- { Country:"Argentina", Population:44272125},
69
-
70
- { Country:"Sudan", Population:42166323},
71
-
72
- { Country:"Uganda", Population:41652938},
73
-
74
- { Country:"Algeria", Population:41063753},
75
-
76
- { Country:"Iraq", Population:38654287},
77
-
78
- { Country:"Poland", Population:38563573},
79
-
80
- { Country:"Canada", Population:36626083},
81
-
82
- { Country:"Morocco", Population:35241418},
83
-
84
- { Country:"Afghanistan", Population:34169169},
85
-
86
- { Country:"Saudi Arabia", Population:32742664},
87
-
88
- { Country:"Peru", Population:32166473},
89
-
90
- { Country:"Venezuela", Population:31925705},
91
-
92
- { Country:"Malaysia", Population:31164177},
93
-
94
- { Country:"Uzbekistan", Population:30690914},
95
-
96
- { Country:"Mozambique", Population:29537914},
97
-
98
- { Country:"Nepal", Population:29187037},
99
-
100
- { Country:"Ghana", Population:28656723},
101
-
102
- { Country:"Yemen", Population:28119546},
103
-
104
- { Country:"Angola", Population:26655513},
105
-
106
- { Country:"Madagascar", Population:25612972},
107
-
108
- { Country:"Dem Peoples Republic of Korea", Population:25405296},
109
-
110
- { Country:"Australia", Population:24641662},
111
-
112
- { Country:"Cameroon", Population:24513689},
113
-
114
- { Country:"Côte dIvoire", Population:23815886},
115
-
116
- { Country:"Taiwan", Population:23405309},
117
-
118
- { Country:"Niger", Population:21563607},
119
-
120
- { Country:"Sri Lanka", Population:20905335},
121
-
122
- { Country:"Romania", Population:19237513},
123
-
124
- { Country:"Burkina Faso", Population:19173322},
125
-
126
- { Country:"Syrian Arab Republic", Population:18906907},
127
-
128
- { Country:"Mali", Population:18689966},
129
-
130
- { Country:"Chile", Population:18313495},
131
-
132
- { Country:"Malawi", Population:18298679},
133
-
134
- { Country:"Kazakhstan", Population:18064470},
135
-
136
- { Country:"Zambia", Population:17237931},
137
-
138
- { Country:"Netherlands", Population:17032845},
139
-
140
- { Country:"Guatemala", Population:17005497},
141
-
142
- { Country:"Ecuador", Population:16625776},
143
-
144
- { Country:"Zimbabwe", Population:16337760},
145
-
146
- { Country:"Cambodia", Population:16076370},
147
-
148
- { Country:"Senegal", Population:16054275},
149
-
150
- { Country:"Chad", Population:14965482},
151
-
152
- { Country:"Guinea", Population:13290659},
153
-
154
- { Country:"South Sudan", Population:13096190},
155
-
156
- { Country:"Rwanda", Population:12159586},
157
-
158
- { Country:"Burundi", Population:11936481},
159
-
160
- { Country:"Tunisia", Population:11494760},
161
-
162
- { Country:"Benin", Population:11458611},
163
-
164
- { Country:"Belgium", Population:11443830},
165
-
166
- { Country:"Somalia", Population:11391962},
167
-
168
- { Country:"Cuba", Population:11390184},
169
-
170
- { Country:"Bolivia", Population:11052864},
171
-
172
- { Country:"Haiti", Population:10983274},
173
-
174
- { Country:"Greece", Population:10892931},
175
-
176
- { Country:"Dominican Republic", Population:10766564},
177
-
178
- { Country:"Czech Republic", Population:10555130},
179
-
180
- { Country:"Portugal", Population:10264797},
181
-
182
- { Country:"Azerbaijan", Population:9973697},
183
-
184
- { Country:"Sweden", Population:9920624},
185
-
186
- { Country:"Hungary", Population:9787905},
187
-
188
- { Country:"Belarus", Population:9458535},
189
-
190
- { Country:"United Arab Emirates", Population:9397599},
191
-
192
- { Country:"Tajikistan", Population:8858115},
193
-
194
- { Country:"Serbia", Population:8776940},
195
-
196
- { Country:"Austria", Population:8592400},
197
-
198
- { Country:"Switzerland", Population:8454083},
199
-
200
- { Country:"Israel", Population:8323248},
201
-
202
- { Country:"Honduras", Population:8304677},
203
-
204
- { Country:"Papua New Guinea", Population:7933841},
205
-
206
- { Country:"Jordan", Population:7876703},
207
-
208
- { Country:"Togo", Population:7691915},
209
-
210
- { Country:"China Hong Kong SAR", Population:7401941},
211
-
212
- { Country:"Bulgaria", Population:7045259},
213
-
214
- { Country:"Laos", Population:7037521},
215
-
216
- { Country:"Paraguay", Population:6811583},
217
-
218
- { Country:"Sierra Leone", Population:6732899},
219
-
220
- { Country:"Libya", Population:6408742},
221
-
222
- { Country:"Nicaragua", Population:6217796},
223
-
224
- { Country:"El Salvador", Population:6167147},
225
-
226
- { Country:"Kyrgyzstan", Population:6124945},
227
-
228
- { Country:"Lebanon", Population:6039277},
229
-
230
- { Country:"Singapore", Population:5784538},
231
-
232
- { Country:"Denmark", Population:5711837},
233
-
234
- { Country:"Finland", Population:5541274},
235
-
236
- { Country:"Turkmenistan", Population:5502586},
237
-
238
- { Country:"Eritrea", Population:5481906},
239
-
240
- { Country:"Slovakia", Population:5432157},
241
-
242
- { Country:"Norway", Population:5330800},
243
-
244
- { Country:"Central African Republic", Population:5098826},
245
-
246
- { Country:"State of Palestine", Population:4928225},
247
-
248
- { Country:"Costa Rica", Population:4905626},
249
-
250
- { Country:"Congo", Population:4866243},
251
-
252
- { Country:"Ireland", Population:4749153},
253
-
254
- { Country:"Oman", Population:4741305},
255
-
256
- { Country:"Liberia", Population:4730437},
257
-
258
- { Country:"New Zealand", Population:4604871},
259
-
260
- { Country:"Mauritania", Population:4266448},
261
-
262
- { Country:"Croatia", Population:4209815},
263
-
264
- { Country:"Kuwait", Population:4099932},
265
-
266
- { Country:"Republic of Moldova", Population:4054640},
267
-
268
- { Country:"Panama", Population:4051284},
269
-
270
- { Country:"Georgia", Population:3972532},
271
-
272
- { Country:"Bosnia and Herzegovina", Population:3792759},
273
-
274
- { Country:"Puerto Rico", Population:3679086},
275
-
276
- { Country:"Uruguay", Population:3456877},
277
-
278
- { Country:"Mongolia", Population:3051900},
279
-
280
- { Country:"Armenia", Population:3031670},
281
-
282
- { Country:"Albania", Population:2911428},
283
-
284
- { Country:"Lithuania", Population:2830582},
285
-
286
- { Country:"Jamaica", Population:2813285},
287
-
288
- { Country:"Namibia", Population:2568569},
289
-
290
- { Country:"Botswana", Population:2343981},
291
-
292
- { Country:"Qatar", Population:2338085},
293
-
294
- { Country:"Lesotho", Population:2185159},
295
-
296
- { Country:"Gambia", Population:2120418},
297
-
298
- { Country:"TFYR Macedonia", Population:2083308},
299
-
300
- { Country:"Slovenia", Population:2071252},
301
-
302
- { Country:"Latvia", Population:1944565},
303
-
304
- { Country:"Guinea-Bissau", Population:1932871},
305
-
306
- { Country:"Gabon", Population:1801232},
307
-
308
- { Country:"Bahrain", Population:1418895},
309
-
310
- { Country:"Trinidad and Tobago", Population:1369157},
311
-
312
- { Country:"Swaziland", Population:1320356},
313
-
314
- { Country:"Estonia", Population:1305755},
315
-
316
- { Country:"Mauritius", Population:1281353},
317
-
318
- { Country:"Timor-Leste", Population:1237251},
319
-
320
- { Country:"Cyprus", Population:1187575},
321
-
322
- { Country:"Djibouti", Population:911382},
323
-
324
- { Country:"Fiji", Population:902547},
325
-
326
- { Country:"Equatorial Guinea", Population:894464},
327
-
328
- { Country:"Réunion", Population:873356},
329
-
330
- { Country:"Comoros", Population:825920},
331
-
332
- { Country:"Bhutan", Population:792877},
333
-
334
- { Country:"Guyana", Population:774407},
335
-
336
- { Country:"Montenegro", Population:626250},
337
-
338
- { Country:"China Macao SAR", Population:606384},
339
-
340
- {Country:"Solomon Islands", Population:606215},
341
-
342
- { Country:"Western Sahara", Population:596021},
343
-
344
- { Country:"Luxembourg", Population:584103},
345
-
346
- { Country:"Suriname", Population:552112},
347
-
348
- { Country:"Cabo Verde", Population:533468},
349
-
350
- { Country:"Guadeloupe", Population:472462},
351
-
352
- { Country:"Brunei Darussalam", Population:434448},
353
-
354
- { Country:"Malta", Population:420521},
355
-
356
- { Country:"Bahamas", Population:397164},
357
-
358
- { Country:"Martinique", Population:396071},
359
-
360
- { Country:"Maldives", Population:375867},
361
-
362
- { Country:"Belize", Population:374651},
363
-
364
- { Country:"Iceland", Population:334303},
365
-
366
- { Country:"French Polynesia", Population:288685},
367
-
368
- { Country:"Barbados", Population:285744},
369
-
370
- { Country:"French Guiana", Population:282761},
371
-
372
- { Country:"Vanuatu", Population:276331},
373
-
374
- { Country:"New Caledonia", Population:269736},
375
-
376
- { Country:"Mayotte", Population:253068},
377
-
378
- { Country:"Sao Tome and Principe", Population:198481},
379
-
380
- { Country:"Samoa", Population:195743},
381
-
382
- { Country:"Saint Lucia", Population:187768},
383
-
384
- { Country:"Guam", Population:174214},
385
-
386
- { Country:"Channel Islands", Population:165235},
387
-
388
- { Country:"Curaçao", Population:159987},
389
-
390
- { Country:"Kiribati", Population:116405},
391
-
392
- { Country:"Saint Vincent and the Grenadines", Population:109895},
393
-
394
- { Country:"Grenada", Population:107850},
395
-
396
- { Country:"Tonga", Population:107797},
397
-
398
- { Country:"United States Virgin Islands", Population:106574},
399
-
400
- { Country:"Micronesia (Fed. States of)", Population:105566},
401
-
402
- { Country:"Aruba", Population:104588},
403
-
404
- { Country:"Seychelles", Population:97539},
405
-
406
- { Country:"Antigua and Barbuda", Population:93659},
407
- ]
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "treemap-label-hide",
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-label-hide"
125
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
-
3
- export interface Schema extends ComponentSchema { }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
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;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
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;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.componentName = 'treemap';
4
- exports.sampleName = 'label-trim';
5
- exports.diModules = 'TreeMapTooltip,TreeMapLegend';
6
- exports.packageName = '@syncfusion/ej2-angular-treemap';
7
- exports.libModules = 'TreeMapModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'treemap';
2
- export const sampleName: string = 'label-trim';
3
- export const diModules: string = 'TreeMapTooltip,TreeMapLegend';
4
- export const packageName: string = '@syncfusion/ej2-angular-treemap';
5
- export const libModules: string = 'TreeMapModule';
@@ -1,8 +0,0 @@
1
- <div class="control-section">
2
- <ejs-treemap id='container' #treemap style="display:block;" [titleSettings] = 'titleSettings' [dataSource] ='dataSource' [weightValuePath] ='weightValuePath'
3
- [leafItemSettings] = 'leafItemSettings' [tooltipSettings] = 'tooltipSettings' [legendSettings] = legendSettings
4
- [rangeColorValuePath] = 'rangeColorValuePath'
5
- format='n' useGroupingSeparator="true" (load)='load($event)' >
6
- </ejs-treemap>
7
-
8
- </div>
@@ -1,55 +0,0 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
3
- import { TreeMap, LabelAlignment, TreeMapTooltip, TreeMapLegend } from '@syncfusion/ej2-angular-treemap';
4
- import { Country_Population } from './assets/country-population';
5
- import { ILoadEventArgs, TreeMapTheme } from '@syncfusion/ej2-angular-treemap';
6
- TreeMap.Inject(TreeMapTooltip, TreeMapLegend);
7
- @Component({
8
- selector: '<%=dasherize(selector)%>',
9
- templateUrl: '<%=dasherize(name)%>.component.html',
10
- styleUrls: ['<%=dasherize(name)%>.component.css'],
11
- encapsulation: ViewEncapsulation.None
12
- })
13
- export class <%= classify(name) %>Component {
14
- @ViewChild('treemap')
15
- public treemap: TreeMap;
16
- public load = (args: ILoadEventArgs) => {
17
- let theme: string = location.hash.split('/')[1];
18
- theme = theme ? theme : 'Material';
19
- args.treemap.theme = <TreeMapTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
20
- }
21
- titleSettings: object = {
22
- text: 'Countries ordered based on Population - 2017',
23
- textStyle: { size: '15px' }
24
- };
25
- dataSource: object[] = Country_Population;
26
- tooltipSettings: object = {
27
- visible: true,
28
- format: '${Country} : ${Population}'
29
- };
30
- legendSettings: object = {
31
- visible: true,
32
- mode: 'Interactive',
33
- width: '300px',
34
- height: '10',
35
- position: 'Top'
36
- };
37
- rangeColorValuePath: string = 'Population';
38
- weightValuePath: string = 'Population';
39
- leafItemSettings: object = {
40
- showLabels: true,
41
- labelPath: 'Country',
42
- interSectAction:'Trim',
43
- fill: 'red',
44
- colorMapping: [
45
- {
46
- to: 10000000000,
47
- from: 100000000,
48
- label: '200M - 1.3M',
49
- color: '#4B134F'
50
- }, { to: 100000000, from: 20000000, label: '20M - 200M', color: '#8C304D' },
51
- { to: 20000000, from: 100000, label: '0.1M - 20M', color: '#C84B4B' }
52
- ]
53
- };
54
- }
55
-