@syncfusion/ej2-angular-treemap 32.2.3 → 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 (321) 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/LICENSE +10 -0
  6. package/dist/ej2-angular-treemap.umd.js +520 -0
  7. package/dist/ej2-angular-treemap.umd.js.map +1 -0
  8. package/dist/ej2-angular-treemap.umd.min.js +11 -0
  9. package/dist/ej2-angular-treemap.umd.min.js.map +1 -0
  10. package/ej2-angular-treemap.d.ts +5 -0
  11. package/ej2-angular-treemap.metadata.json +1 -0
  12. package/package.json +10 -23
  13. package/public_api.d.ts +1 -1
  14. package/schematics/collection.json +10 -109
  15. package/schematics/ng-add/index.ts +10 -10
  16. package/schematics/ng-add/schema.json +34 -34
  17. package/schematics/ng-add/schema.ts +30 -30
  18. package/schematics/tsconfig.json +25 -25
  19. package/schematics/utils/lib-details.d.ts +2 -2
  20. package/schematics/utils/lib-details.js +2 -2
  21. package/schematics/utils/lib-details.ts +4 -4
  22. package/src/index.d.ts +6 -6
  23. package/src/treemap/colormapping.directive.d.ts +54 -59
  24. package/src/treemap/levels.directive.d.ts +98 -103
  25. package/src/treemap/treemap-all.module.d.ts +13 -19
  26. package/src/treemap/treemap.component.d.ts +50 -53
  27. package/src/treemap/treemap.module.d.ts +5 -13
  28. package/CHANGELOG.md +0 -89
  29. package/esm2020/public_api.mjs +0 -2
  30. package/esm2020/src/index.mjs +0 -7
  31. package/esm2020/src/treemap/colormapping.directive.mjs +0 -46
  32. package/esm2020/src/treemap/levels.directive.mjs +0 -66
  33. package/esm2020/src/treemap/treemap-all.module.mjs +0 -47
  34. package/esm2020/src/treemap/treemap.component.mjs +0 -126
  35. package/esm2020/src/treemap/treemap.module.mjs +0 -43
  36. package/esm2020/syncfusion-ej2-angular-treemap.mjs +0 -5
  37. package/fesm2015/syncfusion-ej2-angular-treemap.mjs +0 -314
  38. package/fesm2015/syncfusion-ej2-angular-treemap.mjs.map +0 -1
  39. package/fesm2020/syncfusion-ej2-angular-treemap.mjs +0 -314
  40. package/fesm2020/syncfusion-ej2-angular-treemap.mjs.map +0 -1
  41. package/schematics/generators/treemap-default/index.d.ts +0 -3
  42. package/schematics/generators/treemap-default/index.js +0 -8
  43. package/schematics/generators/treemap-default/index.ts +0 -8
  44. package/schematics/generators/treemap-default/sample-details.d.ts +0 -5
  45. package/schematics/generators/treemap-default/sample-details.js +0 -7
  46. package/schematics/generators/treemap-default/sample-details.ts +0 -5
  47. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  48. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  49. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -60
  50. package/schematics/generators/treemap-default/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  51. package/schematics/generators/treemap-default/schema.d.ts +0 -3
  52. package/schematics/generators/treemap-default/schema.js +0 -2
  53. package/schematics/generators/treemap-default/schema.json +0 -125
  54. package/schematics/generators/treemap-default/schema.ts +0 -3
  55. package/schematics/generators/treemap-desaturation-color/index.d.ts +0 -3
  56. package/schematics/generators/treemap-desaturation-color/index.js +0 -8
  57. package/schematics/generators/treemap-desaturation-color/index.ts +0 -8
  58. package/schematics/generators/treemap-desaturation-color/sample-details.d.ts +0 -5
  59. package/schematics/generators/treemap-desaturation-color/sample-details.js +0 -7
  60. package/schematics/generators/treemap-desaturation-color/sample-details.ts +0 -5
  61. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  62. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -9
  63. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -48
  64. package/schematics/generators/treemap-desaturation-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  65. package/schematics/generators/treemap-desaturation-color/schema.d.ts +0 -3
  66. package/schematics/generators/treemap-desaturation-color/schema.js +0 -2
  67. package/schematics/generators/treemap-desaturation-color/schema.json +0 -125
  68. package/schematics/generators/treemap-desaturation-color/schema.ts +0 -3
  69. package/schematics/generators/treemap-drilldown/index.d.ts +0 -3
  70. package/schematics/generators/treemap-drilldown/index.js +0 -8
  71. package/schematics/generators/treemap-drilldown/index.ts +0 -8
  72. package/schematics/generators/treemap-drilldown/sample-details.d.ts +0 -5
  73. package/schematics/generators/treemap-drilldown/sample-details.js +0 -7
  74. package/schematics/generators/treemap-drilldown/sample-details.ts +0 -5
  75. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  76. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  77. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  78. package/schematics/generators/treemap-drilldown/samples/__path__/__name@dasherize@if-flat__/assets/drilldown-sample.ts +0 -261
  79. package/schematics/generators/treemap-drilldown/schema.d.ts +0 -3
  80. package/schematics/generators/treemap-drilldown/schema.js +0 -2
  81. package/schematics/generators/treemap-drilldown/schema.json +0 -125
  82. package/schematics/generators/treemap-drilldown/schema.ts +0 -3
  83. package/schematics/generators/treemap-equal-color/index.d.ts +0 -3
  84. package/schematics/generators/treemap-equal-color/index.js +0 -8
  85. package/schematics/generators/treemap-equal-color/index.ts +0 -8
  86. package/schematics/generators/treemap-equal-color/sample-details.d.ts +0 -5
  87. package/schematics/generators/treemap-equal-color/sample-details.js +0 -7
  88. package/schematics/generators/treemap-equal-color/sample-details.ts +0 -5
  89. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  90. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -9
  91. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -53
  92. package/schematics/generators/treemap-equal-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  93. package/schematics/generators/treemap-equal-color/schema.d.ts +0 -3
  94. package/schematics/generators/treemap-equal-color/schema.js +0 -2
  95. package/schematics/generators/treemap-equal-color/schema.json +0 -125
  96. package/schematics/generators/treemap-equal-color/schema.ts +0 -3
  97. package/schematics/generators/treemap-highlight/index.d.ts +0 -3
  98. package/schematics/generators/treemap-highlight/index.js +0 -8
  99. package/schematics/generators/treemap-highlight/index.ts +0 -8
  100. package/schematics/generators/treemap-highlight/sample-details.d.ts +0 -5
  101. package/schematics/generators/treemap-highlight/sample-details.js +0 -7
  102. package/schematics/generators/treemap-highlight/sample-details.ts +0 -5
  103. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  104. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  105. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -64
  106. package/schematics/generators/treemap-highlight/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  107. package/schematics/generators/treemap-highlight/schema.d.ts +0 -3
  108. package/schematics/generators/treemap-highlight/schema.js +0 -2
  109. package/schematics/generators/treemap-highlight/schema.json +0 -125
  110. package/schematics/generators/treemap-highlight/schema.ts +0 -3
  111. package/schematics/generators/treemap-label-hide/index.d.ts +0 -3
  112. package/schematics/generators/treemap-label-hide/index.js +0 -8
  113. package/schematics/generators/treemap-label-hide/index.ts +0 -8
  114. package/schematics/generators/treemap-label-hide/sample-details.d.ts +0 -5
  115. package/schematics/generators/treemap-label-hide/sample-details.js +0 -7
  116. package/schematics/generators/treemap-label-hide/sample-details.ts +0 -5
  117. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  118. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  119. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  120. package/schematics/generators/treemap-label-hide/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  121. package/schematics/generators/treemap-label-hide/schema.d.ts +0 -3
  122. package/schematics/generators/treemap-label-hide/schema.js +0 -2
  123. package/schematics/generators/treemap-label-hide/schema.json +0 -125
  124. package/schematics/generators/treemap-label-hide/schema.ts +0 -3
  125. package/schematics/generators/treemap-label-trim/index.d.ts +0 -3
  126. package/schematics/generators/treemap-label-trim/index.js +0 -8
  127. package/schematics/generators/treemap-label-trim/index.ts +0 -8
  128. package/schematics/generators/treemap-label-trim/sample-details.d.ts +0 -5
  129. package/schematics/generators/treemap-label-trim/sample-details.js +0 -7
  130. package/schematics/generators/treemap-label-trim/sample-details.ts +0 -5
  131. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  132. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  133. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  134. package/schematics/generators/treemap-label-trim/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  135. package/schematics/generators/treemap-label-trim/schema.d.ts +0 -3
  136. package/schematics/generators/treemap-label-trim/schema.js +0 -2
  137. package/schematics/generators/treemap-label-trim/schema.json +0 -125
  138. package/schematics/generators/treemap-label-trim/schema.ts +0 -3
  139. package/schematics/generators/treemap-label-wrap/index.d.ts +0 -3
  140. package/schematics/generators/treemap-label-wrap/index.js +0 -8
  141. package/schematics/generators/treemap-label-wrap/index.ts +0 -8
  142. package/schematics/generators/treemap-label-wrap/sample-details.d.ts +0 -5
  143. package/schematics/generators/treemap-label-wrap/sample-details.js +0 -7
  144. package/schematics/generators/treemap-label-wrap/sample-details.ts +0 -5
  145. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  146. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  147. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  148. package/schematics/generators/treemap-label-wrap/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  149. package/schematics/generators/treemap-label-wrap/schema.d.ts +0 -3
  150. package/schematics/generators/treemap-label-wrap/schema.js +0 -2
  151. package/schematics/generators/treemap-label-wrap/schema.json +0 -125
  152. package/schematics/generators/treemap-label-wrap/schema.ts +0 -3
  153. package/schematics/generators/treemap-label-wrapbyword/index.d.ts +0 -3
  154. package/schematics/generators/treemap-label-wrapbyword/index.js +0 -8
  155. package/schematics/generators/treemap-label-wrapbyword/index.ts +0 -8
  156. package/schematics/generators/treemap-label-wrapbyword/sample-details.d.ts +0 -5
  157. package/schematics/generators/treemap-label-wrapbyword/sample-details.js +0 -7
  158. package/schematics/generators/treemap-label-wrapbyword/sample-details.ts +0 -5
  159. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  160. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  161. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -55
  162. package/schematics/generators/treemap-label-wrapbyword/samples/__path__/__name@dasherize@if-flat__/assets/country-population.ts +0 -407
  163. package/schematics/generators/treemap-label-wrapbyword/schema.d.ts +0 -3
  164. package/schematics/generators/treemap-label-wrapbyword/schema.js +0 -2
  165. package/schematics/generators/treemap-label-wrapbyword/schema.json +0 -125
  166. package/schematics/generators/treemap-label-wrapbyword/schema.ts +0 -3
  167. package/schematics/generators/treemap-layout-squarified/index.d.ts +0 -3
  168. package/schematics/generators/treemap-layout-squarified/index.js +0 -8
  169. package/schematics/generators/treemap-layout-squarified/index.ts +0 -8
  170. package/schematics/generators/treemap-layout-squarified/sample-details.d.ts +0 -5
  171. package/schematics/generators/treemap-layout-squarified/sample-details.js +0 -7
  172. package/schematics/generators/treemap-layout-squarified/sample-details.ts +0 -5
  173. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  174. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  175. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  176. package/schematics/generators/treemap-layout-squarified/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  177. package/schematics/generators/treemap-layout-squarified/schema.d.ts +0 -3
  178. package/schematics/generators/treemap-layout-squarified/schema.js +0 -2
  179. package/schematics/generators/treemap-layout-squarified/schema.json +0 -125
  180. package/schematics/generators/treemap-layout-squarified/schema.ts +0 -3
  181. package/schematics/generators/treemap-layout-type-four/index.d.ts +0 -3
  182. package/schematics/generators/treemap-layout-type-four/index.js +0 -8
  183. package/schematics/generators/treemap-layout-type-four/index.ts +0 -8
  184. package/schematics/generators/treemap-layout-type-four/sample-details.d.ts +0 -5
  185. package/schematics/generators/treemap-layout-type-four/sample-details.js +0 -7
  186. package/schematics/generators/treemap-layout-type-four/sample-details.ts +0 -5
  187. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  188. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  189. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  190. package/schematics/generators/treemap-layout-type-four/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  191. package/schematics/generators/treemap-layout-type-four/schema.d.ts +0 -3
  192. package/schematics/generators/treemap-layout-type-four/schema.js +0 -2
  193. package/schematics/generators/treemap-layout-type-four/schema.json +0 -125
  194. package/schematics/generators/treemap-layout-type-four/schema.ts +0 -3
  195. package/schematics/generators/treemap-layout-type-three/index.d.ts +0 -3
  196. package/schematics/generators/treemap-layout-type-three/index.js +0 -8
  197. package/schematics/generators/treemap-layout-type-three/index.ts +0 -8
  198. package/schematics/generators/treemap-layout-type-three/sample-details.d.ts +0 -5
  199. package/schematics/generators/treemap-layout-type-three/sample-details.js +0 -7
  200. package/schematics/generators/treemap-layout-type-three/sample-details.ts +0 -5
  201. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  202. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  203. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  204. package/schematics/generators/treemap-layout-type-three/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  205. package/schematics/generators/treemap-layout-type-three/schema.d.ts +0 -3
  206. package/schematics/generators/treemap-layout-type-three/schema.js +0 -2
  207. package/schematics/generators/treemap-layout-type-three/schema.json +0 -125
  208. package/schematics/generators/treemap-layout-type-three/schema.ts +0 -3
  209. package/schematics/generators/treemap-layout-type-two/index.d.ts +0 -3
  210. package/schematics/generators/treemap-layout-type-two/index.js +0 -8
  211. package/schematics/generators/treemap-layout-type-two/index.ts +0 -8
  212. package/schematics/generators/treemap-layout-type-two/sample-details.d.ts +0 -5
  213. package/schematics/generators/treemap-layout-type-two/sample-details.js +0 -7
  214. package/schematics/generators/treemap-layout-type-two/sample-details.ts +0 -5
  215. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  216. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  217. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  218. package/schematics/generators/treemap-layout-type-two/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  219. package/schematics/generators/treemap-layout-type-two/schema.d.ts +0 -3
  220. package/schematics/generators/treemap-layout-type-two/schema.js +0 -2
  221. package/schematics/generators/treemap-layout-type-two/schema.json +0 -125
  222. package/schematics/generators/treemap-layout-type-two/schema.ts +0 -3
  223. package/schematics/generators/treemap-leaf/index.d.ts +0 -3
  224. package/schematics/generators/treemap-leaf/index.js +0 -8
  225. package/schematics/generators/treemap-leaf/index.ts +0 -8
  226. package/schematics/generators/treemap-leaf/sample-details.d.ts +0 -5
  227. package/schematics/generators/treemap-leaf/sample-details.js +0 -7
  228. package/schematics/generators/treemap-leaf/sample-details.ts +0 -5
  229. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  230. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  231. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -56
  232. package/schematics/generators/treemap-leaf/samples/__path__/__name@dasherize@if-flat__/assets/econmics.ts +0 -14
  233. package/schematics/generators/treemap-leaf/schema.d.ts +0 -3
  234. package/schematics/generators/treemap-leaf/schema.js +0 -2
  235. package/schematics/generators/treemap-leaf/schema.json +0 -125
  236. package/schematics/generators/treemap-leaf/schema.ts +0 -3
  237. package/schematics/generators/treemap-legend-default/index.d.ts +0 -3
  238. package/schematics/generators/treemap-legend-default/index.js +0 -8
  239. package/schematics/generators/treemap-legend-default/index.ts +0 -8
  240. package/schematics/generators/treemap-legend-default/sample-details.d.ts +0 -5
  241. package/schematics/generators/treemap-legend-default/sample-details.js +0 -7
  242. package/schematics/generators/treemap-legend-default/sample-details.ts +0 -5
  243. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  244. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -7
  245. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -57
  246. package/schematics/generators/treemap-legend-default/samples/__path__/__name@dasherize@if-flat__/assets/election-data.ts +0 -57
  247. package/schematics/generators/treemap-legend-default/schema.d.ts +0 -3
  248. package/schematics/generators/treemap-legend-default/schema.js +0 -2
  249. package/schematics/generators/treemap-legend-default/schema.json +0 -125
  250. package/schematics/generators/treemap-legend-default/schema.ts +0 -3
  251. package/schematics/generators/treemap-legend-interaction/index.d.ts +0 -3
  252. package/schematics/generators/treemap-legend-interaction/index.js +0 -8
  253. package/schematics/generators/treemap-legend-interaction/index.ts +0 -8
  254. package/schematics/generators/treemap-legend-interaction/sample-details.d.ts +0 -5
  255. package/schematics/generators/treemap-legend-interaction/sample-details.js +0 -7
  256. package/schematics/generators/treemap-legend-interaction/sample-details.ts +0 -5
  257. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  258. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -7
  259. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  260. package/schematics/generators/treemap-legend-interaction/samples/__path__/__name@dasherize@if-flat__/assets/election-data.ts +0 -57
  261. package/schematics/generators/treemap-legend-interaction/schema.d.ts +0 -3
  262. package/schematics/generators/treemap-legend-interaction/schema.js +0 -2
  263. package/schematics/generators/treemap-legend-interaction/schema.json +0 -125
  264. package/schematics/generators/treemap-legend-interaction/schema.ts +0 -3
  265. package/schematics/generators/treemap-level/index.d.ts +0 -3
  266. package/schematics/generators/treemap-level/index.js +0 -8
  267. package/schematics/generators/treemap-level/index.ts +0 -8
  268. package/schematics/generators/treemap-level/sample-details.d.ts +0 -5
  269. package/schematics/generators/treemap-level/sample-details.js +0 -7
  270. package/schematics/generators/treemap-level/sample-details.ts +0 -5
  271. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  272. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  273. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  274. package/schematics/generators/treemap-level/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  275. package/schematics/generators/treemap-level/schema.d.ts +0 -3
  276. package/schematics/generators/treemap-level/schema.js +0 -2
  277. package/schematics/generators/treemap-level/schema.json +0 -125
  278. package/schematics/generators/treemap-level/schema.ts +0 -3
  279. package/schematics/generators/treemap-range-color/index.d.ts +0 -3
  280. package/schematics/generators/treemap-range-color/index.js +0 -8
  281. package/schematics/generators/treemap-range-color/index.ts +0 -8
  282. package/schematics/generators/treemap-range-color/sample-details.d.ts +0 -5
  283. package/schematics/generators/treemap-range-color/sample-details.js +0 -7
  284. package/schematics/generators/treemap-range-color/sample-details.ts +0 -5
  285. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  286. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -14
  287. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -59
  288. package/schematics/generators/treemap-range-color/samples/__path__/__name@dasherize@if-flat__/assets/metals.ts +0 -20
  289. package/schematics/generators/treemap-range-color/schema.d.ts +0 -3
  290. package/schematics/generators/treemap-range-color/schema.js +0 -2
  291. package/schematics/generators/treemap-range-color/schema.json +0 -125
  292. package/schematics/generators/treemap-range-color/schema.ts +0 -3
  293. package/schematics/generators/treemap-selection/index.d.ts +0 -3
  294. package/schematics/generators/treemap-selection/index.js +0 -8
  295. package/schematics/generators/treemap-selection/index.ts +0 -8
  296. package/schematics/generators/treemap-selection/sample-details.d.ts +0 -5
  297. package/schematics/generators/treemap-selection/sample-details.js +0 -7
  298. package/schematics/generators/treemap-selection/sample-details.ts +0 -5
  299. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  300. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  301. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -64
  302. package/schematics/generators/treemap-selection/samples/__path__/__name@dasherize@if-flat__/assets/car-sale.ts +0 -35
  303. package/schematics/generators/treemap-selection/schema.d.ts +0 -3
  304. package/schematics/generators/treemap-selection/schema.js +0 -2
  305. package/schematics/generators/treemap-selection/schema.json +0 -125
  306. package/schematics/generators/treemap-selection/schema.ts +0 -3
  307. package/schematics/generators/treemap-tooltip/index.d.ts +0 -3
  308. package/schematics/generators/treemap-tooltip/index.js +0 -8
  309. package/schematics/generators/treemap-tooltip/index.ts +0 -8
  310. package/schematics/generators/treemap-tooltip/sample-details.d.ts +0 -5
  311. package/schematics/generators/treemap-tooltip/sample-details.js +0 -7
  312. package/schematics/generators/treemap-tooltip/sample-details.ts +0 -5
  313. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  314. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  315. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -90
  316. package/schematics/generators/treemap-tooltip/samples/__path__/__name@dasherize@if-flat__/assets/airport-count.ts +0 -21
  317. package/schematics/generators/treemap-tooltip/schema.d.ts +0 -3
  318. package/schematics/generators/treemap-tooltip/schema.js +0 -2
  319. package/schematics/generators/treemap-tooltip/schema.json +0 -125
  320. package/schematics/generators/treemap-tooltip/schema.ts +0 -3
  321. package/syncfusion-ej2-angular-treemap.d.ts +0 -5
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "treemap-range-color",
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-range-color"
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 = 'selection';
5
- exports.diModules = 'TreeMapHighlight,TreeMapSelection';
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 = 'selection';
3
- export const diModules: string = 'TreeMapHighlight,TreeMapSelection';
4
- export const packageName: string = '@syncfusion/ej2-angular-treemap';
5
- export const libModules: string = 'TreeMapModule';
@@ -1,11 +0,0 @@
1
- <div class="control-section">
2
- <ejs-treemap id='container' #treemap style="display:block;" [dataSource] ='dataSource' [highlightSettings] = 'highlightSettings'
3
- [weightValuePath] ='weightValuePath' [titleSettings] = 'titleSettings' [leafItemSettings] = 'leafItemSettings' [selectionSettings] = 'selectionSettings'
4
- (load)='load($event)' >
5
- <e-levels>
6
- <e-level groupPath= 'dataType' fill= '#c5e2f7' headerAlignment= 'Center' groupGap= 5 [headerStyle] ='headerStyle'> </e-level>
7
- <e-level groupPath= 'product' fill= '#a4d1f2' headerAlignment= 'Center' groupGap= 2> </e-level>
8
- </e-levels>
9
- </ejs-treemap>
10
-
11
- </div>
@@ -1,64 +0,0 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
3
- import { TreeMap, TreeMapHighlight, TreeMapSelection, HighLightMode, SelectionMode } from '@syncfusion/ej2-angular-treemap';
4
-
5
- import { ILoadEventArgs, TreeMapTheme } from '@syncfusion/ej2-angular-treemap';
6
- TreeMap.Inject(TreeMapHighlight, TreeMapSelection);
7
-
8
- @Component({
9
- selector: '<%=dasherize(selector)%>',
10
- templateUrl: '<%=dasherize(name)%>.component.html',
11
- styleUrls: ['<%=dasherize(name)%>.component.css'],
12
- encapsulation: ViewEncapsulation.None
13
- })
14
- export class <%= classify(name) %>Component {
15
- @ViewChild('treemap')
16
- public treemap: TreeMap;
17
- public load = (args: ILoadEventArgs) => {
18
- let theme: string = location.hash.split('/')[1];
19
- theme = theme ? theme : 'Material';
20
- args.treemap.theme = <TreeMapTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
21
- }
22
- titleSettings: object = {
23
- text: 'Import and Export details of US'
24
- };
25
- selectionSettings: object = {
26
- enable: true,
27
- fill: '#58a0d3',
28
- border: { width: 0.3, color: 'black' },
29
- opacity: '1'
30
- };
31
- leafItemSettings: object = {
32
- labelPath: 'type',
33
- fill: '#8ebfe2',
34
- labelPosition: 'Center',
35
- gap: 10
36
- };
37
- dataSource: object[] = [
38
- { dataType: 'Import', type: 'Animal products', product: '2010', sales: 20839332874 },
39
- { dataType: 'Import', type: 'Animal products', product: '2011', sales: 23098635589 },
40
- { dataType: 'Import', type: 'Chemical products', product: '2010', sales: 141637951510 },
41
- { dataType: 'Import', type: 'Chemical products', product: '2011', sales: 161550338209 },
42
- { dataType: 'Import', type: 'Base metals', product: '2010', sales: 86079439944 },
43
- { dataType: 'Import', type: 'Base metals', product: '2011', sales: 103821671535 },
44
- { dataType: 'Import', type: 'Textile articles', product: '2010', sales: 97126140830 },
45
- { dataType: 'Import', type: 'Textile articles', product: '2011', sales: 104980750811 },
46
- { dataType: 'Export', type: 'Animal products', product: '2010', sales: 15845503378 },
47
- { dataType: 'Export', type: 'Animal products', product: '2011', sales: 20650111620 },
48
- { dataType: 'Export', type: 'Chemical products', product: '2010', sales: 136100054087 },
49
- { dataType: 'Export', type: 'Chemical products', product: '2011', sales: 146341672411 },
50
- { dataType: 'Export', type: 'Base metals', product: '2010', sales: 59060592813 },
51
- { dataType: 'Export', type: 'Base metals', product: '2011', sales: 71785882641 },
52
- { dataType: 'Export', type: 'Textile articles', product: '2010', sales: 20982380561 },
53
- { dataType: 'Export', type: 'Textile articles', product: '2011', sales: 26016143783 }
54
- ];
55
- weightValuePath: string = 'sales';
56
- headerStyle: object = {
57
- size: '16px'
58
- };
59
-
60
- constructor() {
61
- //code
62
- };
63
-
64
- };
@@ -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 });
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "treemap-selection",
5
- "type": "object",
6
- "properties": {
7
- "path": {
8
- "type": "string",
9
- "format": "path",
10
- "description": "The path to create the component.",
11
- "visible": false
12
- },
13
- "project": {
14
- "type": "string",
15
- "description": "The name of the project.",
16
- "$default": {
17
- "$source": "projectName"
18
- }
19
- },
20
- "name": {
21
- "type": "string",
22
- "description": "The name of the component.",
23
- "$default": {
24
- "$source": "argv",
25
- "index": 0
26
- }
27
- },
28
- "inlineStyle": {
29
- "description": "Specifies if the style will be in the ts file.",
30
- "type": "boolean",
31
- "default": false,
32
- "alias": "s"
33
- },
34
- "inlineTemplate": {
35
- "description": "Specifies if the template will be in the ts file.",
36
- "type": "boolean",
37
- "default": false,
38
- "alias": "t"
39
- },
40
- "viewEncapsulation": {
41
- "description": "Specifies the view encapsulation strategy.",
42
- "enum": [
43
- "Emulated",
44
- "Native",
45
- "None",
46
- "ShadowDom"
47
- ],
48
- "type": "string",
49
- "alias": "v"
50
- },
51
- "changeDetection": {
52
- "description": "Specifies the change detection strategy.",
53
- "enum": [
54
- "Default",
55
- "OnPush"
56
- ],
57
- "type": "string",
58
- "default": "Default",
59
- "alias": "c"
60
- },
61
- "prefix": {
62
- "type": "string",
63
- "description": "The prefix to apply to generated selectors.",
64
- "alias": "p",
65
- "oneOf": [
66
- {
67
- "maxLength": 0
68
- },
69
- {
70
- "minLength": 1,
71
- "format": "html-selector"
72
- }
73
- ]
74
- },
75
- "styleext": {
76
- "description": "The file extension to be used for style files.",
77
- "type": "string",
78
- "default": "css"
79
- },
80
- "spec": {
81
- "type": "boolean",
82
- "description": "Specifies if a spec file is generated.",
83
- "default": true
84
- },
85
- "flat": {
86
- "type": "boolean",
87
- "description": "Flag to indicate if a dir is created.",
88
- "default": false
89
- },
90
- "skipImport": {
91
- "type": "boolean",
92
- "description": "Flag to skip the module import.",
93
- "default": false
94
- },
95
- "selector": {
96
- "type": "string",
97
- "format": "html-selector",
98
- "description": "The selector to use for the component."
99
- },
100
- "module": {
101
- "type": "string",
102
- "description": "Allows specification of the declaring module.",
103
- "alias": "m"
104
- },
105
- "export": {
106
- "type": "boolean",
107
- "default": false,
108
- "description": "Specifies if declaring module exports the component."
109
- },
110
- "entryComponent": {
111
- "type": "boolean",
112
- "default": false,
113
- "description": "Specifies if the component is an entry component of declaring module."
114
- },
115
- "lintFix": {
116
- "type": "boolean",
117
- "default": false,
118
- "description": "Specifies whether to apply lint fixes after generating the component."
119
- }
120
- },
121
- "required": [
122
- "name"
123
- ],
124
- "id": "treemap-selection"
125
- }
@@ -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 = 'tooltip';
5
- exports.diModules = 'TreeMapTooltip';
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 = 'tooltip';
3
- export const diModules: string = 'TreeMapTooltip';
4
- export const packageName: string = '@syncfusion/ej2-angular-treemap';
5
- export const libModules: string = 'TreeMapModule';
@@ -1,10 +0,0 @@
1
- <div class="control-section">
2
- <div align='center'>
3
- <ejs-treemap id='container' #treemap style="display:block;" [dataSource]='dataSource' [weightValuePath]='weightValuePath' [leafItemSettings]='leafItemSettings' [tooltipSettings]='tooltipSettings' [titleSettings]='titleSettings' [equalColorValuePath]='equalColorValuePath'
4
- [legendSettings]='legendSettings' (load)='load($event)'>
5
-
6
- </ejs-treemap>
7
- </div>
8
- </div>
9
-
10
-
@@ -1,90 +0,0 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
3
- import { TreeMap, TreeMapTooltip, TreeMapLegend} from '@syncfusion/ej2-angular-treemap';
4
- import { Airport_Count } from './assets/airport-count';
5
- import { ILoadEventArgs, TreeMapTheme } from '@syncfusion/ej2-angular-treemap';
6
- TreeMap.Inject(TreeMapTooltip, TreeMapLegend);
7
-
8
- @Component({
9
- selector: '<%=dasherize(selector)%>',
10
- templateUrl: '<%=dasherize(name)%>.component.html',
11
- styleUrls: ['<%=dasherize(name)%>.component.css'],
12
- encapsulation: ViewEncapsulation.None
13
- })
14
- export class <%= classify(name) %>Component {
15
- @ViewChild('treemap')
16
- public treemap: TreeMap;
17
- public load = (args: ILoadEventArgs) => {
18
- let theme: string = location.hash.split('/')[1];
19
- theme = theme ? theme : 'Material';
20
- args.treemap.theme = <TreeMapTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
21
- }
22
- titleSettings: object = {
23
- text: 'Country wise International Airport count in South America',
24
- textStyle: {
25
- size: '15px'
26
- }
27
- };
28
- tooltipSettings: object = {
29
- visible: true,
30
- template: '<div id="Tooltip"><div id="displayAirports" style=" border: 1px #0a0a0a;">' +
31
- '<div id="airplaneicon" style="float:left;height:32px;width:32px; border: 1px black;"></div>' +
32
- '<div id="value" style="float:left;"><span id="label" style="margin-left: -5px;">Airports:</span>' +
33
- '<b style="margin-left: 5px">${Count}</b></div></div></div>'
34
- };
35
- dataSource: object[] = Airport_Count;
36
- weightValuePath: string = 'Count';
37
- equalColorValuePath: string = 'Count';
38
- legendSettings: object = {
39
- visible: true,
40
- position: 'Top',
41
- shape: 'Rectangle'
42
- };
43
- leafItemSettings: object = {
44
- showLabels: true,
45
- labelPath: 'State',
46
- labelPosition: 'Center',
47
- labelStyle: {
48
- size: '13px'
49
- },
50
- fill: '#6699cc',
51
- border: { width: 1, color: 'white'},
52
- colorMapping: [
53
- {
54
- value: '25',
55
- color: '#634D6F'
56
- },
57
- {
58
- value: '12',
59
- color: '#B34D6D'
60
- },
61
- {
62
- value: '9',
63
- color: '#557C5C'
64
- },
65
- {
66
- value: '7',
67
- color: '#44537F'
68
- },
69
- {
70
- value: '6',
71
- color: '#637392'
72
- },
73
- {
74
- value: '3',
75
- color: '#7C754D'
76
- },
77
- {
78
- value: '2',
79
- color: '#2E7A64'
80
- },
81
- {
82
- value: '1',
83
- color: '#95659A'
84
- },
85
- ]
86
- };
87
- constructor() {
88
- //code
89
- }
90
- };
@@ -1,21 +0,0 @@
1
- /**
2
- * Airport count
3
- */
4
- /* eslint-disable */
5
- export let Airport_Count: Object[] = [
6
- {Title: 'Country wise International Airport count in South America', State: "Argentina", Count: 9},
7
- {Title: 'Country wise International Airport count in South America', State: "Bolivia", Count: 2},
8
- {Title: 'Country wise International Airport count in South America', State: "Brazil", Count: 25},
9
- {Title: 'Country wise International Airport count in South America', State: "Chile", Count: 6},
10
- {Title: 'Country wise International Airport count in South America', State: "Colombia", Count: 12},
11
- {Title: 'Country wise International Airport count in South America', State: "Ecuador", Count: 7},
12
- {Title: 'Country wise International Airport count in South America', State: "Falkland Islands", Count: 1},
13
- {Title: 'Country wise International Airport count in South America', State: "French Guiana", Count: 1},
14
- {Title: 'Country wise International Airport count in South America', State: "Guyana", Count: 1},
15
- {Title: 'Country wise International Airport count in South America', State: "Paraguay", Count: 2},
16
- {Title: 'Country wise International Airport count in South America', State: "Peru", Count: 3},
17
- {Title: 'Country wise International Airport count in South America', State: "Suriname", Count: 1},
18
- {Title: 'Country wise International Airport count in South America', State: "Uruguay", Count: 2},
19
- {Title: 'Country wise International Airport count in South America', State: "Venezuela", Count: 3},
20
-
21
- ]
@@ -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 });