@syncfusion/ej2-angular-treemap 32.2.3-ngcc → 33.1.44-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 (310) hide show
  1. package/@syncfusion/ej2-angular-treemap.es5.js +386 -386
  2. package/@syncfusion/ej2-angular-treemap.es5.js.map +1 -1
  3. package/@syncfusion/ej2-angular-treemap.js +335 -335
  4. package/@syncfusion/ej2-angular-treemap.js.map +1 -1
  5. package/{license → LICENSE} +10 -10
  6. package/README.md +15 -7
  7. package/dist/ej2-angular-treemap.umd.js +377 -377
  8. package/dist/ej2-angular-treemap.umd.js.map +1 -1
  9. package/dist/ej2-angular-treemap.umd.min.js +2 -2
  10. package/dist/ej2-angular-treemap.umd.min.js.map +1 -1
  11. package/ej2-angular-treemap.d.ts +5 -5
  12. package/ej2-angular-treemap.metadata.json +1 -1
  13. package/package.json +15 -46
  14. package/public_api.d.ts +1 -1
  15. package/schematics/collection.json +10 -109
  16. package/schematics/ng-add/index.ts +10 -10
  17. package/schematics/ng-add/schema.json +34 -34
  18. package/schematics/ng-add/schema.ts +30 -30
  19. package/schematics/tsconfig.json +25 -25
  20. package/schematics/utils/lib-details.d.ts +2 -2
  21. package/schematics/utils/lib-details.js +2 -2
  22. package/schematics/utils/lib-details.ts +4 -4
  23. package/src/index.d.ts +6 -6
  24. package/src/treemap/colormapping.directive.d.ts +54 -54
  25. package/src/treemap/levels.directive.d.ts +98 -98
  26. package/src/treemap/treemap-all.module.d.ts +13 -13
  27. package/src/treemap/treemap.component.d.ts +50 -50
  28. package/src/treemap/treemap.module.d.ts +5 -5
  29. package/CHANGELOG.md +0 -90
  30. package/postinstall/tagchange.js +0 -18
  31. package/schematics/generators/treemap-default/index.d.ts +0 -3
  32. package/schematics/generators/treemap-default/index.js +0 -8
  33. package/schematics/generators/treemap-default/index.ts +0 -8
  34. package/schematics/generators/treemap-default/sample-details.d.ts +0 -5
  35. package/schematics/generators/treemap-default/sample-details.js +0 -7
  36. package/schematics/generators/treemap-default/sample-details.ts +0 -5
  37. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  38. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  39. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -60
  40. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  41. package/schematics/generators/treemap-default/schema.d.ts +0 -3
  42. package/schematics/generators/treemap-default/schema.js +0 -2
  43. package/schematics/generators/treemap-default/schema.json +0 -125
  44. package/schematics/generators/treemap-default/schema.ts +0 -3
  45. package/schematics/generators/treemap-desaturation-color/index.d.ts +0 -3
  46. package/schematics/generators/treemap-desaturation-color/index.js +0 -8
  47. package/schematics/generators/treemap-desaturation-color/index.ts +0 -8
  48. package/schematics/generators/treemap-desaturation-color/sample-details.d.ts +0 -5
  49. package/schematics/generators/treemap-desaturation-color/sample-details.js +0 -7
  50. package/schematics/generators/treemap-desaturation-color/sample-details.ts +0 -5
  51. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  52. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -9
  53. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -48
  54. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  55. package/schematics/generators/treemap-desaturation-color/schema.d.ts +0 -3
  56. package/schematics/generators/treemap-desaturation-color/schema.js +0 -2
  57. package/schematics/generators/treemap-desaturation-color/schema.json +0 -125
  58. package/schematics/generators/treemap-desaturation-color/schema.ts +0 -3
  59. package/schematics/generators/treemap-drilldown/index.d.ts +0 -3
  60. package/schematics/generators/treemap-drilldown/index.js +0 -8
  61. package/schematics/generators/treemap-drilldown/index.ts +0 -8
  62. package/schematics/generators/treemap-drilldown/sample-details.d.ts +0 -5
  63. package/schematics/generators/treemap-drilldown/sample-details.js +0 -7
  64. package/schematics/generators/treemap-drilldown/sample-details.ts +0 -5
  65. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  66. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  67. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  68. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/assets/drilldown-sample.ts +0 -261
  69. package/schematics/generators/treemap-drilldown/schema.d.ts +0 -3
  70. package/schematics/generators/treemap-drilldown/schema.js +0 -2
  71. package/schematics/generators/treemap-drilldown/schema.json +0 -125
  72. package/schematics/generators/treemap-drilldown/schema.ts +0 -3
  73. package/schematics/generators/treemap-equal-color/index.d.ts +0 -3
  74. package/schematics/generators/treemap-equal-color/index.js +0 -8
  75. package/schematics/generators/treemap-equal-color/index.ts +0 -8
  76. package/schematics/generators/treemap-equal-color/sample-details.d.ts +0 -5
  77. package/schematics/generators/treemap-equal-color/sample-details.js +0 -7
  78. package/schematics/generators/treemap-equal-color/sample-details.ts +0 -5
  79. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  80. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -9
  81. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -53
  82. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  83. package/schematics/generators/treemap-equal-color/schema.d.ts +0 -3
  84. package/schematics/generators/treemap-equal-color/schema.js +0 -2
  85. package/schematics/generators/treemap-equal-color/schema.json +0 -125
  86. package/schematics/generators/treemap-equal-color/schema.ts +0 -3
  87. package/schematics/generators/treemap-highlight/index.d.ts +0 -3
  88. package/schematics/generators/treemap-highlight/index.js +0 -8
  89. package/schematics/generators/treemap-highlight/index.ts +0 -8
  90. package/schematics/generators/treemap-highlight/sample-details.d.ts +0 -5
  91. package/schematics/generators/treemap-highlight/sample-details.js +0 -7
  92. package/schematics/generators/treemap-highlight/sample-details.ts +0 -5
  93. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  94. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  95. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -64
  96. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  97. package/schematics/generators/treemap-highlight/schema.d.ts +0 -3
  98. package/schematics/generators/treemap-highlight/schema.js +0 -2
  99. package/schematics/generators/treemap-highlight/schema.json +0 -125
  100. package/schematics/generators/treemap-highlight/schema.ts +0 -3
  101. package/schematics/generators/treemap-label-hide/index.d.ts +0 -3
  102. package/schematics/generators/treemap-label-hide/index.js +0 -8
  103. package/schematics/generators/treemap-label-hide/index.ts +0 -8
  104. package/schematics/generators/treemap-label-hide/sample-details.d.ts +0 -5
  105. package/schematics/generators/treemap-label-hide/sample-details.js +0 -7
  106. package/schematics/generators/treemap-label-hide/sample-details.ts +0 -5
  107. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  108. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  109. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  110. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  111. package/schematics/generators/treemap-label-hide/schema.d.ts +0 -3
  112. package/schematics/generators/treemap-label-hide/schema.js +0 -2
  113. package/schematics/generators/treemap-label-hide/schema.json +0 -125
  114. package/schematics/generators/treemap-label-hide/schema.ts +0 -3
  115. package/schematics/generators/treemap-label-trim/index.d.ts +0 -3
  116. package/schematics/generators/treemap-label-trim/index.js +0 -8
  117. package/schematics/generators/treemap-label-trim/index.ts +0 -8
  118. package/schematics/generators/treemap-label-trim/sample-details.d.ts +0 -5
  119. package/schematics/generators/treemap-label-trim/sample-details.js +0 -7
  120. package/schematics/generators/treemap-label-trim/sample-details.ts +0 -5
  121. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  122. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  123. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  124. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  125. package/schematics/generators/treemap-label-trim/schema.d.ts +0 -3
  126. package/schematics/generators/treemap-label-trim/schema.js +0 -2
  127. package/schematics/generators/treemap-label-trim/schema.json +0 -125
  128. package/schematics/generators/treemap-label-trim/schema.ts +0 -3
  129. package/schematics/generators/treemap-label-wrap/index.d.ts +0 -3
  130. package/schematics/generators/treemap-label-wrap/index.js +0 -8
  131. package/schematics/generators/treemap-label-wrap/index.ts +0 -8
  132. package/schematics/generators/treemap-label-wrap/sample-details.d.ts +0 -5
  133. package/schematics/generators/treemap-label-wrap/sample-details.js +0 -7
  134. package/schematics/generators/treemap-label-wrap/sample-details.ts +0 -5
  135. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  136. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  137. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  138. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  139. package/schematics/generators/treemap-label-wrap/schema.d.ts +0 -3
  140. package/schematics/generators/treemap-label-wrap/schema.js +0 -2
  141. package/schematics/generators/treemap-label-wrap/schema.json +0 -125
  142. package/schematics/generators/treemap-label-wrap/schema.ts +0 -3
  143. package/schematics/generators/treemap-label-wrapbyword/index.d.ts +0 -3
  144. package/schematics/generators/treemap-label-wrapbyword/index.js +0 -8
  145. package/schematics/generators/treemap-label-wrapbyword/index.ts +0 -8
  146. package/schematics/generators/treemap-label-wrapbyword/sample-details.d.ts +0 -5
  147. package/schematics/generators/treemap-label-wrapbyword/sample-details.js +0 -7
  148. package/schematics/generators/treemap-label-wrapbyword/sample-details.ts +0 -5
  149. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  150. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  151. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  152. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  153. package/schematics/generators/treemap-label-wrapbyword/schema.d.ts +0 -3
  154. package/schematics/generators/treemap-label-wrapbyword/schema.js +0 -2
  155. package/schematics/generators/treemap-label-wrapbyword/schema.json +0 -125
  156. package/schematics/generators/treemap-label-wrapbyword/schema.ts +0 -3
  157. package/schematics/generators/treemap-layout-squarified/index.d.ts +0 -3
  158. package/schematics/generators/treemap-layout-squarified/index.js +0 -8
  159. package/schematics/generators/treemap-layout-squarified/index.ts +0 -8
  160. package/schematics/generators/treemap-layout-squarified/sample-details.d.ts +0 -5
  161. package/schematics/generators/treemap-layout-squarified/sample-details.js +0 -7
  162. package/schematics/generators/treemap-layout-squarified/sample-details.ts +0 -5
  163. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  164. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  165. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  166. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  167. package/schematics/generators/treemap-layout-squarified/schema.d.ts +0 -3
  168. package/schematics/generators/treemap-layout-squarified/schema.js +0 -2
  169. package/schematics/generators/treemap-layout-squarified/schema.json +0 -125
  170. package/schematics/generators/treemap-layout-squarified/schema.ts +0 -3
  171. package/schematics/generators/treemap-layout-type-four/index.d.ts +0 -3
  172. package/schematics/generators/treemap-layout-type-four/index.js +0 -8
  173. package/schematics/generators/treemap-layout-type-four/index.ts +0 -8
  174. package/schematics/generators/treemap-layout-type-four/sample-details.d.ts +0 -5
  175. package/schematics/generators/treemap-layout-type-four/sample-details.js +0 -7
  176. package/schematics/generators/treemap-layout-type-four/sample-details.ts +0 -5
  177. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  178. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  179. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  180. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  181. package/schematics/generators/treemap-layout-type-four/schema.d.ts +0 -3
  182. package/schematics/generators/treemap-layout-type-four/schema.js +0 -2
  183. package/schematics/generators/treemap-layout-type-four/schema.json +0 -125
  184. package/schematics/generators/treemap-layout-type-four/schema.ts +0 -3
  185. package/schematics/generators/treemap-layout-type-three/index.d.ts +0 -3
  186. package/schematics/generators/treemap-layout-type-three/index.js +0 -8
  187. package/schematics/generators/treemap-layout-type-three/index.ts +0 -8
  188. package/schematics/generators/treemap-layout-type-three/sample-details.d.ts +0 -5
  189. package/schematics/generators/treemap-layout-type-three/sample-details.js +0 -7
  190. package/schematics/generators/treemap-layout-type-three/sample-details.ts +0 -5
  191. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  192. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  193. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  194. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  195. package/schematics/generators/treemap-layout-type-three/schema.d.ts +0 -3
  196. package/schematics/generators/treemap-layout-type-three/schema.js +0 -2
  197. package/schematics/generators/treemap-layout-type-three/schema.json +0 -125
  198. package/schematics/generators/treemap-layout-type-three/schema.ts +0 -3
  199. package/schematics/generators/treemap-layout-type-two/index.d.ts +0 -3
  200. package/schematics/generators/treemap-layout-type-two/index.js +0 -8
  201. package/schematics/generators/treemap-layout-type-two/index.ts +0 -8
  202. package/schematics/generators/treemap-layout-type-two/sample-details.d.ts +0 -5
  203. package/schematics/generators/treemap-layout-type-two/sample-details.js +0 -7
  204. package/schematics/generators/treemap-layout-type-two/sample-details.ts +0 -5
  205. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  206. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  207. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  208. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  209. package/schematics/generators/treemap-layout-type-two/schema.d.ts +0 -3
  210. package/schematics/generators/treemap-layout-type-two/schema.js +0 -2
  211. package/schematics/generators/treemap-layout-type-two/schema.json +0 -125
  212. package/schematics/generators/treemap-layout-type-two/schema.ts +0 -3
  213. package/schematics/generators/treemap-leaf/index.d.ts +0 -3
  214. package/schematics/generators/treemap-leaf/index.js +0 -8
  215. package/schematics/generators/treemap-leaf/index.ts +0 -8
  216. package/schematics/generators/treemap-leaf/sample-details.d.ts +0 -5
  217. package/schematics/generators/treemap-leaf/sample-details.js +0 -7
  218. package/schematics/generators/treemap-leaf/sample-details.ts +0 -5
  219. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  220. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  221. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  222. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  223. package/schematics/generators/treemap-leaf/schema.d.ts +0 -3
  224. package/schematics/generators/treemap-leaf/schema.js +0 -2
  225. package/schematics/generators/treemap-leaf/schema.json +0 -125
  226. package/schematics/generators/treemap-leaf/schema.ts +0 -3
  227. package/schematics/generators/treemap-legend-default/index.d.ts +0 -3
  228. package/schematics/generators/treemap-legend-default/index.js +0 -8
  229. package/schematics/generators/treemap-legend-default/index.ts +0 -8
  230. package/schematics/generators/treemap-legend-default/sample-details.d.ts +0 -5
  231. package/schematics/generators/treemap-legend-default/sample-details.js +0 -7
  232. package/schematics/generators/treemap-legend-default/sample-details.ts +0 -5
  233. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  234. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -7
  235. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -57
  236. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/assets/election-data.ts +0 -57
  237. package/schematics/generators/treemap-legend-default/schema.d.ts +0 -3
  238. package/schematics/generators/treemap-legend-default/schema.js +0 -2
  239. package/schematics/generators/treemap-legend-default/schema.json +0 -125
  240. package/schematics/generators/treemap-legend-default/schema.ts +0 -3
  241. package/schematics/generators/treemap-legend-interaction/index.d.ts +0 -3
  242. package/schematics/generators/treemap-legend-interaction/index.js +0 -8
  243. package/schematics/generators/treemap-legend-interaction/index.ts +0 -8
  244. package/schematics/generators/treemap-legend-interaction/sample-details.d.ts +0 -5
  245. package/schematics/generators/treemap-legend-interaction/sample-details.js +0 -7
  246. package/schematics/generators/treemap-legend-interaction/sample-details.ts +0 -5
  247. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  248. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -7
  249. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  250. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/assets/election-data.ts +0 -57
  251. package/schematics/generators/treemap-legend-interaction/schema.d.ts +0 -3
  252. package/schematics/generators/treemap-legend-interaction/schema.js +0 -2
  253. package/schematics/generators/treemap-legend-interaction/schema.json +0 -125
  254. package/schematics/generators/treemap-legend-interaction/schema.ts +0 -3
  255. package/schematics/generators/treemap-level/index.d.ts +0 -3
  256. package/schematics/generators/treemap-level/index.js +0 -8
  257. package/schematics/generators/treemap-level/index.ts +0 -8
  258. package/schematics/generators/treemap-level/sample-details.d.ts +0 -5
  259. package/schematics/generators/treemap-level/sample-details.js +0 -7
  260. package/schematics/generators/treemap-level/sample-details.ts +0 -5
  261. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  262. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  263. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  264. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  265. package/schematics/generators/treemap-level/schema.d.ts +0 -3
  266. package/schematics/generators/treemap-level/schema.js +0 -2
  267. package/schematics/generators/treemap-level/schema.json +0 -125
  268. package/schematics/generators/treemap-level/schema.ts +0 -3
  269. package/schematics/generators/treemap-range-color/index.d.ts +0 -3
  270. package/schematics/generators/treemap-range-color/index.js +0 -8
  271. package/schematics/generators/treemap-range-color/index.ts +0 -8
  272. package/schematics/generators/treemap-range-color/sample-details.d.ts +0 -5
  273. package/schematics/generators/treemap-range-color/sample-details.js +0 -7
  274. package/schematics/generators/treemap-range-color/sample-details.ts +0 -5
  275. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  276. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -14
  277. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -59
  278. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  279. package/schematics/generators/treemap-range-color/schema.d.ts +0 -3
  280. package/schematics/generators/treemap-range-color/schema.js +0 -2
  281. package/schematics/generators/treemap-range-color/schema.json +0 -125
  282. package/schematics/generators/treemap-range-color/schema.ts +0 -3
  283. package/schematics/generators/treemap-selection/index.d.ts +0 -3
  284. package/schematics/generators/treemap-selection/index.js +0 -8
  285. package/schematics/generators/treemap-selection/index.ts +0 -8
  286. package/schematics/generators/treemap-selection/sample-details.d.ts +0 -5
  287. package/schematics/generators/treemap-selection/sample-details.js +0 -7
  288. package/schematics/generators/treemap-selection/sample-details.ts +0 -5
  289. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  290. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  291. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -64
  292. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  293. package/schematics/generators/treemap-selection/schema.d.ts +0 -3
  294. package/schematics/generators/treemap-selection/schema.js +0 -2
  295. package/schematics/generators/treemap-selection/schema.json +0 -125
  296. package/schematics/generators/treemap-selection/schema.ts +0 -3
  297. package/schematics/generators/treemap-tooltip/index.d.ts +0 -3
  298. package/schematics/generators/treemap-tooltip/index.js +0 -8
  299. package/schematics/generators/treemap-tooltip/index.ts +0 -8
  300. package/schematics/generators/treemap-tooltip/sample-details.d.ts +0 -5
  301. package/schematics/generators/treemap-tooltip/sample-details.js +0 -7
  302. package/schematics/generators/treemap-tooltip/sample-details.ts +0 -5
  303. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  304. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  305. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -90
  306. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/assets/airport-count.ts +0 -21
  307. package/schematics/generators/treemap-tooltip/schema.d.ts +0 -3
  308. package/schematics/generators/treemap-tooltip/schema.js +0 -2
  309. package/schematics/generators/treemap-tooltip/schema.json +0 -125
  310. package/schematics/generators/treemap-tooltip/schema.ts +0 -3
@@ -1,98 +1,98 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- /**
4
- * Represents the directive to configure and render level leaf items in the treemap.
5
- * ```html
6
- * <e-levels>
7
- * <e-level></e-level>
8
- * </e-levels>
9
- * ```
10
- */
11
- export declare class LevelDirective extends ComplexBase<LevelDirective> {
12
- private viewContainerRef;
13
- directivePropList: any;
14
- childColorMapping: any;
15
- tags: string[];
16
- /**
17
- * Enables or disables the automatic filling of the colors from the palette in the items of the treemap.
18
- * @default false
19
- */
20
- autoFill: any;
21
- /**
22
- * Sets and gets the options for customizing the color and width of the border of
23
- * the level leaf items of the treemap.
24
- */
25
- border: any;
26
- /**
27
- * Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.
28
- */
29
- colorMapping: any;
30
- /**
31
- * Sets and gets the fill color of the level leaf item in the treemap.
32
- * @default null
33
- */
34
- fill: any;
35
- /**
36
- * Sets and gets the gap between the level leaf items in the treemap.
37
- * @default 0
38
- */
39
- groupGap: any;
40
- /**
41
- * Sets and gets the padding of level leaf items in the treemap.
42
- * @default 10
43
- */
44
- groupPadding: any;
45
- /**
46
- * Sets and gets the value path from the data source in the treemap to render the item.
47
- * @default null
48
- */
49
- groupPath: any;
50
- /**
51
- * Sets and gets the alignment of the header of the treemap.
52
- * @default 'Near'
53
- */
54
- headerAlignment: any;
55
- /**
56
- * Sets and gets the string to format the header label of the level leaf items in the treemap.
57
- * @default null
58
- */
59
- headerFormat: any;
60
- /**
61
- * Sets and gets the height of header in the treemap.
62
- * @default 20
63
- */
64
- headerHeight: any;
65
- /**
66
- * Sets and gets the options for customizing the text style of header label of the level leaf item.
67
- */
68
- headerStyle: any;
69
- /**
70
- * Sets and gets the opacity in the level leaf item of the treemap.
71
- * @default 1
72
- */
73
- opacity: any;
74
- /**
75
- * Shows or hides the header in level leaf item of the treemap.
76
- * @default true
77
- */
78
- showHeader: any;
79
- /**
80
- * Sets and gets the options for customizing the template position of the treemap.
81
- * @default 'TopLeft'
82
- */
83
- templatePosition: any;
84
- /**
85
- * Sets and gets the template for header in the treemap.
86
- * @default null
87
- * @asptype string
88
- */
89
- headerTemplate: any;
90
- constructor(viewContainerRef: ViewContainerRef);
91
- }
92
- /**
93
- * Level Array Directive
94
- * @private
95
- */
96
- export declare class LevelsDirective extends ArrayBase<LevelsDirective> {
97
- constructor();
98
- }
1
+ import { ViewContainerRef } from '@angular/core';
2
+ import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
+ /**
4
+ * Represents the directive to configure and render level leaf items in the treemap.
5
+ * ```html
6
+ * <e-levels>
7
+ * <e-level></e-level>
8
+ * </e-levels>
9
+ * ```
10
+ */
11
+ export declare class LevelDirective extends ComplexBase<LevelDirective> {
12
+ private viewContainerRef;
13
+ directivePropList: any;
14
+ childColorMapping: any;
15
+ tags: string[];
16
+ /**
17
+ * Enables or disables the automatic filling of the colors from the palette in the items of the treemap.
18
+ * @default false
19
+ */
20
+ autoFill: any;
21
+ /**
22
+ * Sets and gets the options for customizing the color and width of the border of
23
+ * the level leaf items of the treemap.
24
+ */
25
+ border: any;
26
+ /**
27
+ * Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.
28
+ */
29
+ colorMapping: any;
30
+ /**
31
+ * Sets and gets the fill color of the level leaf item in the treemap.
32
+ * @default null
33
+ */
34
+ fill: any;
35
+ /**
36
+ * Sets and gets the gap between the level leaf items in the treemap.
37
+ * @default 0
38
+ */
39
+ groupGap: any;
40
+ /**
41
+ * Sets and gets the padding of level leaf items in the treemap.
42
+ * @default 10
43
+ */
44
+ groupPadding: any;
45
+ /**
46
+ * Sets and gets the value path from the data source in the treemap to render the item.
47
+ * @default null
48
+ */
49
+ groupPath: any;
50
+ /**
51
+ * Sets and gets the alignment of the header of the treemap.
52
+ * @default 'Near'
53
+ */
54
+ headerAlignment: any;
55
+ /**
56
+ * Sets and gets the string to format the header label of the level leaf items in the treemap.
57
+ * @default null
58
+ */
59
+ headerFormat: any;
60
+ /**
61
+ * Sets and gets the height of header in the treemap.
62
+ * @default 20
63
+ */
64
+ headerHeight: any;
65
+ /**
66
+ * Sets and gets the options for customizing the text style of header label of the level leaf item.
67
+ */
68
+ headerStyle: any;
69
+ /**
70
+ * Sets and gets the opacity in the level leaf item of the treemap.
71
+ * @default 1
72
+ */
73
+ opacity: any;
74
+ /**
75
+ * Shows or hides the header in level leaf item of the treemap.
76
+ * @default true
77
+ */
78
+ showHeader: any;
79
+ /**
80
+ * Sets and gets the options for customizing the template position of the treemap.
81
+ * @default 'TopLeft'
82
+ */
83
+ templatePosition: any;
84
+ /**
85
+ * Sets and gets the template for header in the treemap.
86
+ * @default null
87
+ * @asptype string
88
+ */
89
+ headerTemplate: any;
90
+ constructor(viewContainerRef: ViewContainerRef);
91
+ }
92
+ /**
93
+ * Level Array Directive
94
+ * @private
95
+ */
96
+ export declare class LevelsDirective extends ArrayBase<LevelsDirective> {
97
+ constructor();
98
+ }
@@ -1,13 +1,13 @@
1
- import { ValueProvider } from '@angular/core';
2
- export declare const TreeMapTooltipService: ValueProvider;
3
- export declare const TreeMapLegendService: ValueProvider;
4
- export declare const TreeMapHighlightService: ValueProvider;
5
- export declare const TreeMapSelectionService: ValueProvider;
6
- export declare const PrintService: ValueProvider;
7
- export declare const PdfExportService: ValueProvider;
8
- export declare const ImageExportService: ValueProvider;
9
- /**
10
- * NgModule definition for the TreeMap component with providers.
11
- */
12
- export declare class TreeMapAllModule {
13
- }
1
+ import { ValueProvider } from '@angular/core';
2
+ export declare const TreeMapTooltipService: ValueProvider;
3
+ export declare const TreeMapLegendService: ValueProvider;
4
+ export declare const TreeMapHighlightService: ValueProvider;
5
+ export declare const TreeMapSelectionService: ValueProvider;
6
+ export declare const PrintService: ValueProvider;
7
+ export declare const PdfExportService: ValueProvider;
8
+ export declare const ImageExportService: ValueProvider;
9
+ /**
10
+ * NgModule definition for the TreeMap component with providers.
11
+ */
12
+ export declare class TreeMapAllModule {
13
+ }
@@ -1,50 +1,50 @@
1
- import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core';
2
- import { IComponentBase } from '@syncfusion/ej2-angular-base';
3
- import { TreeMap } from '@syncfusion/ej2-treemap';
4
- import { LevelsDirective } from './levels.directive';
5
- export declare const inputs: string[];
6
- export declare const outputs: string[];
7
- export declare const twoWays: string[];
8
- /**
9
- * Represents the Angular TreeMap component. It is used to visualize both hierarchical and flat data.
10
- * ```html
11
- * <ej-treemap></ej-treemap>
12
- * ```
13
- */
14
- export declare class TreeMapComponent extends TreeMap implements IComponentBase {
15
- private ngEle;
16
- private srenderer;
17
- private viewContainerRef;
18
- private injector;
19
- context: any;
20
- tagObjects: any;
21
- beforePrint: any;
22
- click: any;
23
- doubleClick: any;
24
- drillEnd: any;
25
- drillStart: any;
26
- itemClick: any;
27
- itemHighlight: any;
28
- itemMove: any;
29
- itemRendering: any;
30
- itemSelected: any;
31
- legendItemRendering: any;
32
- legendRendering: any;
33
- load: any;
34
- loaded: any;
35
- mouseMove: any;
36
- resize: any;
37
- rightClick: any;
38
- tooltipRendering: any;
39
- childLevels: QueryList<LevelsDirective>;
40
- tags: string[];
41
- tooltipSettings_template: any;
42
- leafItemSettings_labelTemplate: any;
43
- constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
44
- ngOnInit(): void;
45
- ngAfterViewInit(): void;
46
- ngOnDestroy(): void;
47
- ngAfterContentChecked(): void;
48
- registerEvents: (eventList: string[]) => void;
49
- addTwoWay: (propList: string[]) => void;
50
- }
1
+ import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core';
2
+ import { IComponentBase } from '@syncfusion/ej2-angular-base';
3
+ import { TreeMap } from '@syncfusion/ej2-treemap';
4
+ import { LevelsDirective } from './levels.directive';
5
+ export declare const inputs: string[];
6
+ export declare const outputs: string[];
7
+ export declare const twoWays: string[];
8
+ /**
9
+ * Represents the Angular TreeMap component. It is used to visualize both hierarchical and flat data.
10
+ * ```html
11
+ * <ej-treemap></ej-treemap>
12
+ * ```
13
+ */
14
+ export declare class TreeMapComponent extends TreeMap implements IComponentBase {
15
+ private ngEle;
16
+ private srenderer;
17
+ private viewContainerRef;
18
+ private injector;
19
+ context: any;
20
+ tagObjects: any;
21
+ beforePrint: any;
22
+ click: any;
23
+ doubleClick: any;
24
+ drillEnd: any;
25
+ drillStart: any;
26
+ itemClick: any;
27
+ itemHighlight: any;
28
+ itemMove: any;
29
+ itemRendering: any;
30
+ itemSelected: any;
31
+ legendItemRendering: any;
32
+ legendRendering: any;
33
+ load: any;
34
+ loaded: any;
35
+ mouseMove: any;
36
+ resize: any;
37
+ rightClick: any;
38
+ tooltipRendering: any;
39
+ childLevels: QueryList<LevelsDirective>;
40
+ tags: string[];
41
+ tooltipSettings_template: any;
42
+ leafItemSettings_labelTemplate: any;
43
+ constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
44
+ ngOnInit(): void;
45
+ ngAfterViewInit(): void;
46
+ ngOnDestroy(): void;
47
+ ngAfterContentChecked(): void;
48
+ registerEvents: (eventList: string[]) => void;
49
+ addTwoWay: (propList: string[]) => void;
50
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * NgModule definition for the TreeMap component.
3
- */
4
- export declare class TreeMapModule {
5
- }
1
+ /**
2
+ * NgModule definition for the TreeMap component.
3
+ */
4
+ export declare class TreeMapModule {
5
+ }
package/CHANGELOG.md DELETED
@@ -1,90 +0,0 @@
1
- <!-- markdownlint-disable MD010 -->
2
-
3
-
4
- <!-- markdownlint-disable MD030 -->
5
-
6
-
7
- <!-- markdownlint-disable MD004 -->
8
-
9
-
10
- # Changelog
11
-
12
- ## [Unreleased]
13
-
14
- ## 18.2.44 (2020-07-07)
15
-
16
- ### TreeMap
17
-
18
- #### New Features
19
-
20
- - `#280380` - `isResized` argument is exposed in the `loaded` event arguments for indicating that the component is resized.
21
-
22
- #### Bug Fixes
23
-
24
- - `#280380` - Color of the treemap item will be maintained when the fill color of the selection settings is not provided.
25
-
26
- ## 17.1.48 (2019-05-21)
27
-
28
- ### TreeMap
29
-
30
- #### Bug Fixes
31
-
32
- - `#I235721` - The issue with color value in individual nodes of levels in treemap has been resolved.
33
-
34
- ## 17.1.44 (2019-05-07)
35
-
36
- ### TreeMap
37
-
38
- #### Bug Fixes
39
-
40
- - `#I234615` - The issue with value from the "fill" property is not applied when we have both the "fill" and "colorValuePath" APIs has been fixed.
41
-
42
- ## 17.1.42 (2019-04-23)
43
-
44
- ### TreeMap
45
-
46
- #### Bug Fixes
47
-
48
- - `#I233284` – The issue of breaking the treemap, if data contains the "_" character in its value has been fixed.
49
-
50
- ## 17.1.32-beta (2019-03-13)
51
-
52
- ### TreeMap
53
-
54
- #### New Features
55
-
56
- - The right-to-left (RTL) rendering support has been provided.
57
- - Load on-demand option has been provided to load and render the child items dynamically.
58
- - Responsive support has been provided to the TreeMap legend.
59
- - The 'doubleClick', 'rightClick', and 'legendRendering' events have been provided in TreeMap.
60
-
61
- ## 16.4.40-beta (2018-12-10)
62
-
63
- ### TreeMap
64
-
65
- #### New Features
66
-
67
- - Support has been added for desaturation color mapping.
68
- - Support has been added to hide specific legend items and bind legend text from data source.
69
- - Support has been added for highlighting or selecting the legend items along with shapes.
70
- - Support has been added to bind colors for the items from the data source.
71
-
72
- ## 16.2.41 (2018-06-25)
73
-
74
- ### TreeMap
75
-
76
- The TreeMap is used to displayed the hierarchical or multi-level data to visualize the nested rectangles.
77
-
78
-
79
- - **Layout Mode** - TreeMap supports different type of layouts like Squarified, SliceAndDiceHorizontal, SliceAndDiceVertical and SliceAndDiceAuto.
80
- - **Legend** - TreeMap supports legend feature with different mode. Default and Interactive.
81
- - **LabelTemplate** - Leaf item labels can be customized by the label template.
82
- - **ColorMapping** - TreeMap supports the color mapping feature. It used to customize the leaf item fill colors based on range or values.
83
- - **User-Interactions** - TreeMap supports the Drilldown, Tooltip, Highlight and Selection user interaction features.
84
- - **Print and Export** - TreeMap supports printing and exporting as different file types.
85
-
86
-
87
- ## 18.1.36-beta (2020-03-19)
88
-
89
- - `#258211` - Support to customize the header of the treemap items is provided in the `itemRendering` and `itemClick` events.
90
-
@@ -1,18 +0,0 @@
1
- var fs = require("fs");
2
- var glob = require("glob");
3
-
4
- var selectors = ['ejs-treemap'];
5
-
6
- if (process.env.tagName !== undefined) {
7
- var newTagPrefix = process.env.tagName.trim();
8
- var files = glob.sync("./@syncfusion/*");
9
- for (var i = 0; i < files.length; i++) {
10
- var sourceFile = fs.readFileSync(files[i], "utf8");
11
- for (var j = 0; j < selectors.length; j++) {
12
- selectors[j] = selectors[j].replace('[','').replace(']','');
13
- var tagRegex = new RegExp(selectors[j], "g");
14
- sourceFile = sourceFile.replace(tagRegex,selectors[j].replace("ejs", newTagPrefix));
15
- }
16
- fs.writeFileSync(files[i], sourceFile, "utf8");
17
- }
18
- }
@@ -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 = 'default';
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 = 'default';
3
- export const diModules: string = 'TreeMapTooltip,TreeMapLegend';
4
- export const packageName: string = '@syncfusion/ej2-angular-treemap';
5
- export const libModules: string = 'TreeMapModule';
@@ -1,13 +0,0 @@
1
- <div class="control-section">
2
- <div align='center'>
3
- <ejs-treemap id='container' #treemap style="display:block;" [titleSettings] = 'titleSettings' [dataSource] ='dataSource' [weightValuePath] ='weightValuePath'
4
- [tooltipSettings] = 'tooltipSettings' [palette] ='palette' [legendSettings] = 'legendSettings' [leafItemSettings] = 'leafItemSettings' format='n' useGroupingSeparator="true" (load)='load($event)' (itemClick)='itemClick($event)' (itemMove)='itemMove($event)' >
5
- <e-levels>
6
- <e-level groupPath= 'Continent' [border]='border'>
7
- </e-level>
8
- </e-levels>
9
- </ejs-treemap>
10
- </div>
11
- </div>
12
-
13
-
@@ -1,60 +0,0 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- import { TreeMap, TreeMapTooltip, TreeMapLegend } from '@syncfusion/ej2-angular-treemap';
4
- import { CarSales } from './assets/car-sale';
5
- import { IItemMoveEventArgs, ILoadEventArgs, TreeMapTheme, IItemClickEventArgs } from '@syncfusion/ej2-angular-treemap';
6
-
7
- TreeMap.Inject(TreeMapTooltip, TreeMapLegend);
8
-
9
- @Component({
10
- selector: '<%=dasherize(selector)%>',
11
- templateUrl: '<%=dasherize(name)%>.component.html',
12
- styleUrls: ['<%=dasherize(name)%>.component.css'],
13
- encapsulation: ViewEncapsulation.None
14
- })
15
- export class <%= classify(name) %>Component {
16
- public itemMove= (args: IItemMoveEventArgs) => {
17
- args.item['data'].Sales = args.item['weight'];
18
- args.treemap.tooltipSettings.format = args.item['groupIndex'] === 0 ? 'Country: ${Continent}<br>Sales: ${Sales}' :
19
- 'Country: ${Continent}<br>Company: ${Company}<br>Sales: ${Sales}';
20
- }
21
- public itemClick= (args: IItemClickEventArgs) => {
22
- args.item['data'].Sales = args.item['weight'];
23
- args.treemap.tooltipSettings.format = args.item['groupIndex'] === 0 ? 'Country: ${Continent}<br>Sales: ${Sales}' :
24
- 'Country: ${Continent}<br>Company: ${Company}<br>Sales: ${Sales}';
25
- }
26
- public load = (args: ILoadEventArgs) => {
27
- let theme: string = location.hash.split('/')[1];
28
- theme = theme ? theme : 'Material';
29
- args.treemap.theme = <TreeMapTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
30
- }
31
- titleSettings: object = {
32
- text: 'Car Sales by Country - 2017',
33
- textStyle: {
34
- size: '15px'
35
- }
36
- };
37
- public tooltipSettings: object = {
38
- visible: true,
39
- format: 'Country: ${Continent}<br>Company: ${Company}<br>Sales: ${Sales}'
40
- };
41
- public legendSettings: object = {
42
- visible: true,
43
- position: 'Top',
44
- shape: 'Rectangle'
45
- };
46
- dataSource: object[] = CarSales;
47
- weightValuePath: string = 'Sales';
48
- palette: string[] = ['#C33764', '#AB3566', '#993367', '#853169', '#742F6A', '#632D6C', '#532C6D', '#412A6F', '#312870', '#1D2671'];
49
- leafItemSettings: object = {
50
- labelPath: 'Company',
51
- border: { color: 'white', width: 0.5 }
52
- };
53
- border: object = {
54
- color: 'white',
55
- width: 0.5
56
- };
57
- constructor() {
58
- //code
59
- };
60
- }
@@ -1,35 +0,0 @@
1
- /* eslint-disable */
2
- export let CarSales: object[] = [
3
- {Continent: "China", Company: "Volkswagen", Sales: 3005994 },
4
- {Continent: "China", Company: "General Motors", Sales: 1230044 },
5
- {Continent: "China", Company: "Honda", Sales: 1197023 },
6
- {Continent: "United States", Company: "General Motors", Sales:3042775 },
7
- {Continent: "United States", Company: "Ford", Sales:2599193 },
8
- {Continent: "United States", Company: "Toyota", Sales:2449587 },
9
- {Continent: "Japan",Company: "Toyota", Sales:1527977 },
10
- {Continent: "Japan", Company: "Honda", Sales:706982 },
11
- {Continent: "Japan", Company: "Suzuki", Sales:623041 },
12
- {Continent: "Germany",Company: "Volkswagen", Sales:655977 },
13
- {Continent: "Germany", Company: "Mercedes", Sales:310845 },
14
- {Continent: "Germany", Company: "BMW", Sales:261931 },
15
- { Continent: "United Kingdom", Company: "Ford ", Sales:319442 },
16
- {Continent: "United Kingdom", Company: "Vauxhall", Sales: 251146 },
17
- { Continent: "United Kingdom", Company: "Volkswagen", Sales:206994 },
18
- {Continent: "India", Company: "Maruti Suzuki", Sales:1443654 },
19
- {Continent: "India", Company: "Hyundai", Sales:476241 },
20
- {Continent: "India", Company: "Mahindra", Sales:205041 },
21
- {Continent: "France", Company: "Renault", Sales:408183 },
22
- {Continent: "France", Company: "Peugeot", Sales:336242 },
23
- {Continent: "France", Company: "Citroen", Sales:194986 },
24
- { Continent: "Brazil", Company: "Flat Chrysler", Sales:368842 },
25
- { Continent: "Brazil", Company: "General Motors", Sales: 348351 },
26
- { Continent: "Brazil", Company: "Volkswagen", Sales: 245895 },
27
- {Continent: "Italy", Company: "Flat Chrysler", Sales:386260 },
28
- {Continent: "Italy", Company: "Volkswagen", Sales: 138984 },
29
- {Continent: "Italy", Company: "Ford", Sales: 125144 },
30
- {Continent: "Canada", Company: "Ford", Sales:305086},
31
- {Continent: "Canada", Company: "FCA", Sales:278011 },
32
- {Continent: "Canada", Company: "GM", Sales: 266884 },
33
-
34
-
35
- ]
@@ -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 });