@fluentui/react-charting 5.12.21 → 5.12.24

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 (1169) hide show
  1. package/CHANGELOG.json +58 -1
  2. package/CHANGELOG.md +31 -2
  3. package/config/tests.js +1 -1
  4. package/package.json +4 -4
  5. package/dist/react-charting.js +0 -2
  6. package/dist/react-charting.js.map +0 -1
  7. package/dist/react-charting.min.js +0 -2
  8. package/dist/react-charting.min.js.map +0 -1
  9. package/lib/AreaChart.d.ts +0 -1
  10. package/lib/AreaChart.js +0 -2
  11. package/lib/AreaChart.js.map +0 -1
  12. package/lib/CartesianChart.d.ts +0 -1
  13. package/lib/CartesianChart.js +0 -2
  14. package/lib/CartesianChart.js.map +0 -1
  15. package/lib/DonutChart.d.ts +0 -1
  16. package/lib/DonutChart.js +0 -2
  17. package/lib/DonutChart.js.map +0 -1
  18. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  19. package/lib/GroupedVerticalBarChart.js +0 -2
  20. package/lib/GroupedVerticalBarChart.js.map +0 -1
  21. package/lib/HeatMapChart.d.ts +0 -1
  22. package/lib/HeatMapChart.js +0 -2
  23. package/lib/HeatMapChart.js.map +0 -1
  24. package/lib/HorizontalBarChart.d.ts +0 -1
  25. package/lib/HorizontalBarChart.js +0 -2
  26. package/lib/HorizontalBarChart.js.map +0 -1
  27. package/lib/Legends.d.ts +0 -1
  28. package/lib/Legends.js +0 -2
  29. package/lib/Legends.js.map +0 -1
  30. package/lib/LineChart.d.ts +0 -1
  31. package/lib/LineChart.js +0 -2
  32. package/lib/LineChart.js.map +0 -1
  33. package/lib/PieChart.d.ts +0 -1
  34. package/lib/PieChart.js +0 -2
  35. package/lib/PieChart.js.map +0 -1
  36. package/lib/SankeyChart.d.ts +0 -1
  37. package/lib/SankeyChart.js +0 -2
  38. package/lib/SankeyChart.js.map +0 -1
  39. package/lib/Sparkline.d.ts +0 -1
  40. package/lib/Sparkline.js +0 -2
  41. package/lib/Sparkline.js.map +0 -1
  42. package/lib/StackedBarChart.d.ts +0 -1
  43. package/lib/StackedBarChart.js +0 -2
  44. package/lib/StackedBarChart.js.map +0 -1
  45. package/lib/Styling.d.ts +0 -2
  46. package/lib/Styling.js +0 -8
  47. package/lib/Styling.js.map +0 -1
  48. package/lib/TreeChart.d.ts +0 -1
  49. package/lib/TreeChart.js +0 -2
  50. package/lib/TreeChart.js.map +0 -1
  51. package/lib/Utilities.d.ts +0 -2
  52. package/lib/Utilities.js +0 -20
  53. package/lib/Utilities.js.map +0 -1
  54. package/lib/VerticalBarChart.d.ts +0 -1
  55. package/lib/VerticalBarChart.js +0 -2
  56. package/lib/VerticalBarChart.js.map +0 -1
  57. package/lib/VerticalStackedBarChart.d.ts +0 -1
  58. package/lib/VerticalStackedBarChart.js +0 -2
  59. package/lib/VerticalStackedBarChart.js.map +0 -1
  60. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -73
  61. package/lib/components/AreaChart/AreaChart.base.js +0 -489
  62. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  63. package/lib/components/AreaChart/AreaChart.d.ts +0 -3
  64. package/lib/components/AreaChart/AreaChart.js +0 -6
  65. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  66. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  67. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  68. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  69. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -36
  70. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  71. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  72. package/lib/components/AreaChart/index.d.ts +0 -2
  73. package/lib/components/AreaChart/index.js +0 -3
  74. package/lib/components/AreaChart/index.js.map +0 -1
  75. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  76. package/lib/components/CommonComponents/CartesianChart.base.js +0 -323
  77. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  78. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -3
  79. package/lib/components/CommonComponents/CartesianChart.js +0 -5
  80. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  81. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  82. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -163
  83. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  84. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  85. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  86. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  87. package/lib/components/CommonComponents/index.d.ts +0 -2
  88. package/lib/components/CommonComponents/index.js +0 -3
  89. package/lib/components/CommonComponents/index.js.map +0 -1
  90. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -19
  91. package/lib/components/DonutChart/Arc/Arc.js +0 -77
  92. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  93. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  94. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -32
  95. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  96. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  97. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  98. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  99. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  100. package/lib/components/DonutChart/Arc/index.js +0 -3
  101. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  102. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -44
  103. package/lib/components/DonutChart/DonutChart.base.js +0 -209
  104. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  105. package/lib/components/DonutChart/DonutChart.d.ts +0 -3
  106. package/lib/components/DonutChart/DonutChart.js +0 -6
  107. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  108. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  109. package/lib/components/DonutChart/DonutChart.styles.js +0 -29
  110. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  111. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -53
  112. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  113. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  114. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -12
  115. package/lib/components/DonutChart/Pie/Pie.js +0 -47
  116. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  117. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  118. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -6
  119. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  120. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  121. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  122. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  123. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  124. package/lib/components/DonutChart/Pie/index.js +0 -3
  125. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  126. package/lib/components/DonutChart/index.d.ts +0 -3
  127. package/lib/components/DonutChart/index.js +0 -4
  128. package/lib/components/DonutChart/index.js.map +0 -1
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -351
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -6
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -11
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  138. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  139. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  140. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  141. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  142. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  143. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  144. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  145. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -498
  146. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  147. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  148. package/lib/components/HeatMapChart/HeatMapChart.js +0 -5
  149. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  150. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  151. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -22
  152. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  153. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  154. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  155. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  156. package/lib/components/HeatMapChart/index.d.ts +0 -2
  157. package/lib/components/HeatMapChart/index.js +0 -3
  158. package/lib/components/HeatMapChart/index.js.map +0 -1
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -194
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -6
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -49
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  168. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  169. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -2
  170. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  171. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  172. package/lib/components/HorizontalBarChart/index.js +0 -4
  173. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  174. package/lib/components/Legends/Legends.base.d.ts +0 -42
  175. package/lib/components/Legends/Legends.base.js +0 -311
  176. package/lib/components/Legends/Legends.base.js.map +0 -1
  177. package/lib/components/Legends/Legends.d.ts +0 -3
  178. package/lib/components/Legends/Legends.js +0 -5
  179. package/lib/components/Legends/Legends.js.map +0 -1
  180. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  181. package/lib/components/Legends/Legends.styles.js +0 -103
  182. package/lib/components/Legends/Legends.styles.js.map +0 -1
  183. package/lib/components/Legends/Legends.types.d.ts +0 -169
  184. package/lib/components/Legends/Legends.types.js +0 -2
  185. package/lib/components/Legends/Legends.types.js.map +0 -1
  186. package/lib/components/Legends/index.d.ts +0 -3
  187. package/lib/components/Legends/index.js +0 -4
  188. package/lib/components/Legends/index.js.map +0 -1
  189. package/lib/components/Legends/shape.d.ts +0 -9
  190. package/lib/components/Legends/shape.js +0 -24
  191. package/lib/components/Legends/shape.js.map +0 -1
  192. package/lib/components/LineChart/LineChart.base.d.ts +0 -69
  193. package/lib/components/LineChart/LineChart.base.js +0 -768
  194. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  195. package/lib/components/LineChart/LineChart.d.ts +0 -3
  196. package/lib/components/LineChart/LineChart.js +0 -6
  197. package/lib/components/LineChart/LineChart.js.map +0 -1
  198. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  199. package/lib/components/LineChart/LineChart.styles.js +0 -7
  200. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  201. package/lib/components/LineChart/LineChart.types.d.ts +0 -72
  202. package/lib/components/LineChart/LineChart.types.js +0 -2
  203. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  204. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  205. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -93
  206. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  207. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  208. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -37
  209. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  210. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  211. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  212. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  213. package/lib/components/LineChart/index.d.ts +0 -3
  214. package/lib/components/LineChart/index.js +0 -4
  215. package/lib/components/LineChart/index.js.map +0 -1
  216. package/lib/components/PieChart/Arc/Arc.d.ts +0 -12
  217. package/lib/components/PieChart/Arc/Arc.js +0 -57
  218. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  219. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  220. package/lib/components/PieChart/Arc/Arc.styles.js +0 -8
  221. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  222. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -60
  223. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  224. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  225. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  226. package/lib/components/PieChart/Arc/index.js +0 -3
  227. package/lib/components/PieChart/Arc/index.js.map +0 -1
  228. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  229. package/lib/components/PieChart/Pie/Pie.js +0 -35
  230. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  231. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  232. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  233. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  234. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -46
  235. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  236. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  237. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  238. package/lib/components/PieChart/Pie/index.js +0 -3
  239. package/lib/components/PieChart/Pie/index.js.map +0 -1
  240. package/lib/components/PieChart/PieChart.base.d.ts +0 -7
  241. package/lib/components/PieChart/PieChart.base.js +0 -34
  242. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  243. package/lib/components/PieChart/PieChart.d.ts +0 -3
  244. package/lib/components/PieChart/PieChart.js +0 -6
  245. package/lib/components/PieChart/PieChart.js.map +0 -1
  246. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  247. package/lib/components/PieChart/PieChart.styles.js +0 -29
  248. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  249. package/lib/components/PieChart/PieChart.types.d.ts +0 -63
  250. package/lib/components/PieChart/PieChart.types.js +0 -2
  251. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  252. package/lib/components/PieChart/index.d.ts +0 -2
  253. package/lib/components/PieChart/index.js +0 -3
  254. package/lib/components/PieChart/index.js.map +0 -1
  255. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  256. package/lib/components/SankeyChart/SankeyChart.base.js +0 -108
  257. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  258. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -3
  259. package/lib/components/SankeyChart/SankeyChart.js +0 -6
  260. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  261. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  262. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -21
  263. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  264. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  265. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  266. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  267. package/lib/components/SankeyChart/index.d.ts +0 -2
  268. package/lib/components/SankeyChart/index.js +0 -3
  269. package/lib/components/SankeyChart/index.js.map +0 -1
  270. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -20
  271. package/lib/components/Sparkline/Sparkline.base.js +0 -76
  272. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  273. package/lib/components/Sparkline/Sparkline.d.ts +0 -3
  274. package/lib/components/Sparkline/Sparkline.js +0 -6
  275. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  276. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  277. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  278. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  279. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -51
  280. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  281. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  282. package/lib/components/Sparkline/index.d.ts +0 -2
  283. package/lib/components/Sparkline/index.js +0 -3
  284. package/lib/components/Sparkline/index.js.map +0 -1
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -293
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -6
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -61
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  294. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  295. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -2
  296. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  297. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  298. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -297
  299. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  300. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  301. package/lib/components/StackedBarChart/StackedBarChart.js +0 -6
  302. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  303. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  304. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -94
  305. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  306. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  307. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  308. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  309. package/lib/components/StackedBarChart/index.d.ts +0 -5
  310. package/lib/components/StackedBarChart/index.js +0 -6
  311. package/lib/components/StackedBarChart/index.js.map +0 -1
  312. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  313. package/lib/components/TreeChart/TreeChart.base.js +0 -303
  314. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  315. package/lib/components/TreeChart/TreeChart.d.ts +0 -3
  316. package/lib/components/TreeChart/TreeChart.js +0 -5
  317. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  318. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  319. package/lib/components/TreeChart/TreeChart.styles.js +0 -28
  320. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  321. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -185
  322. package/lib/components/TreeChart/TreeChart.types.js +0 -23
  323. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  324. package/lib/components/TreeChart/index.d.ts +0 -2
  325. package/lib/components/TreeChart/index.js +0 -3
  326. package/lib/components/TreeChart/index.js.map +0 -1
  327. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  328. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -482
  329. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  330. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  331. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -6
  332. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  333. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  334. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -22
  335. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  336. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  337. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  338. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  339. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  340. package/lib/components/VerticalBarChart/index.js +0 -3
  341. package/lib/components/VerticalBarChart/index.js.map +0 -1
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -607
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -6
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -12
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  351. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  352. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  353. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  354. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  355. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  356. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  357. package/lib/index.d.ts +0 -18
  358. package/lib/index.js +0 -19
  359. package/lib/index.js.map +0 -1
  360. package/lib/types/IDataPoint.d.ts +0 -541
  361. package/lib/types/IDataPoint.js +0 -2
  362. package/lib/types/IDataPoint.js.map +0 -1
  363. package/lib/types/IEventAnnotation.d.ts +0 -6
  364. package/lib/types/IEventAnnotation.js +0 -2
  365. package/lib/types/IEventAnnotation.js.map +0 -1
  366. package/lib/types/ILegendDataItem.d.ts +0 -10
  367. package/lib/types/ILegendDataItem.js +0 -2
  368. package/lib/types/ILegendDataItem.js.map +0 -1
  369. package/lib/types/index.d.ts +0 -2
  370. package/lib/types/index.js +0 -3
  371. package/lib/types/index.js.map +0 -1
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -82
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  381. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  382. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  383. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  384. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  385. package/lib/utilities/ChartHoverCard/index.js +0 -4
  386. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  387. package/lib/utilities/index.d.ts +0 -2
  388. package/lib/utilities/index.js +0 -3
  389. package/lib/utilities/index.js.map +0 -1
  390. package/lib/utilities/utilities.d.ts +0 -374
  391. package/lib/utilities/utilities.js +0 -819
  392. package/lib/utilities/utilities.js.map +0 -1
  393. package/lib/version.d.ts +0 -1
  394. package/lib/version.js +0 -5
  395. package/lib/version.js.map +0 -1
  396. package/lib-amd/AreaChart.d.ts +0 -1
  397. package/lib-amd/AreaChart.js +0 -6
  398. package/lib-amd/AreaChart.js.map +0 -1
  399. package/lib-amd/CartesianChart.d.ts +0 -1
  400. package/lib-amd/CartesianChart.js +0 -6
  401. package/lib-amd/CartesianChart.js.map +0 -1
  402. package/lib-amd/DonutChart.d.ts +0 -1
  403. package/lib-amd/DonutChart.js +0 -6
  404. package/lib-amd/DonutChart.js.map +0 -1
  405. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  406. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  407. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  408. package/lib-amd/HeatMapChart.d.ts +0 -1
  409. package/lib-amd/HeatMapChart.js +0 -6
  410. package/lib-amd/HeatMapChart.js.map +0 -1
  411. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  412. package/lib-amd/HorizontalBarChart.js +0 -6
  413. package/lib-amd/HorizontalBarChart.js.map +0 -1
  414. package/lib-amd/Legends.d.ts +0 -1
  415. package/lib-amd/Legends.js +0 -6
  416. package/lib-amd/Legends.js.map +0 -1
  417. package/lib-amd/LineChart.d.ts +0 -1
  418. package/lib-amd/LineChart.js +0 -6
  419. package/lib-amd/LineChart.js.map +0 -1
  420. package/lib-amd/PieChart.d.ts +0 -1
  421. package/lib-amd/PieChart.js +0 -6
  422. package/lib-amd/PieChart.js.map +0 -1
  423. package/lib-amd/SankeyChart.d.ts +0 -1
  424. package/lib-amd/SankeyChart.js +0 -6
  425. package/lib-amd/SankeyChart.js.map +0 -1
  426. package/lib-amd/Sparkline.d.ts +0 -1
  427. package/lib-amd/Sparkline.js +0 -6
  428. package/lib-amd/Sparkline.js.map +0 -1
  429. package/lib-amd/StackedBarChart.d.ts +0 -1
  430. package/lib-amd/StackedBarChart.js +0 -6
  431. package/lib-amd/StackedBarChart.js.map +0 -1
  432. package/lib-amd/Styling.d.ts +0 -2
  433. package/lib-amd/Styling.js +0 -75
  434. package/lib-amd/Styling.js.map +0 -1
  435. package/lib-amd/TreeChart.d.ts +0 -1
  436. package/lib-amd/TreeChart.js +0 -6
  437. package/lib-amd/TreeChart.js.map +0 -1
  438. package/lib-amd/Utilities.d.ts +0 -2
  439. package/lib-amd/Utilities.js +0 -183
  440. package/lib-amd/Utilities.js.map +0 -1
  441. package/lib-amd/VerticalBarChart.d.ts +0 -1
  442. package/lib-amd/VerticalBarChart.js +0 -6
  443. package/lib-amd/VerticalBarChart.js.map +0 -1
  444. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  445. package/lib-amd/VerticalStackedBarChart.js +0 -6
  446. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  447. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -73
  448. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -482
  449. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  450. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -3
  451. package/lib-amd/components/AreaChart/AreaChart.js +0 -8
  452. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  453. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  454. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  455. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  456. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -36
  457. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  458. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  459. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  460. package/lib-amd/components/AreaChart/index.js +0 -7
  461. package/lib-amd/components/AreaChart/index.js.map +0 -1
  462. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  463. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -321
  464. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  465. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -3
  466. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -7
  467. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  468. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  469. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -166
  470. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  471. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  472. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  473. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  474. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  475. package/lib-amd/components/CommonComponents/index.js +0 -7
  476. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  477. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -19
  478. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -76
  479. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  480. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  481. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -37
  482. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  483. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  484. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  485. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  486. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  487. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  488. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  489. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -44
  490. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -206
  491. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  492. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -3
  493. package/lib-amd/components/DonutChart/DonutChart.js +0 -8
  494. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  495. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  496. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -35
  497. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  498. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -53
  499. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  500. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  501. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -12
  502. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -48
  503. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  504. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  505. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -12
  506. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  507. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  508. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  509. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  510. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  511. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  512. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  513. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  514. package/lib-amd/components/DonutChart/index.js +0 -8
  515. package/lib-amd/components/DonutChart/index.js.map +0 -1
  516. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  517. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -346
  518. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  519. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  520. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -8
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -16
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  526. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  527. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  528. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  529. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  530. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  531. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  532. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -492
  533. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  534. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  535. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -7
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -28
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  541. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  542. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  543. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  544. package/lib-amd/components/HeatMapChart/index.js +0 -7
  545. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  546. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  547. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -193
  548. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  549. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  550. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -8
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -53
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  556. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -5
  557. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  558. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  559. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  560. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  561. package/lib-amd/components/Legends/Legends.base.d.ts +0 -42
  562. package/lib-amd/components/Legends/Legends.base.js +0 -307
  563. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  564. package/lib-amd/components/Legends/Legends.d.ts +0 -3
  565. package/lib-amd/components/Legends/Legends.js +0 -7
  566. package/lib-amd/components/Legends/Legends.js.map +0 -1
  567. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  568. package/lib-amd/components/Legends/Legends.styles.js +0 -107
  569. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  570. package/lib-amd/components/Legends/Legends.types.d.ts +0 -169
  571. package/lib-amd/components/Legends/Legends.types.js +0 -5
  572. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  573. package/lib-amd/components/Legends/index.d.ts +0 -3
  574. package/lib-amd/components/Legends/index.js +0 -8
  575. package/lib-amd/components/Legends/index.js.map +0 -1
  576. package/lib-amd/components/Legends/shape.d.ts +0 -9
  577. package/lib-amd/components/Legends/shape.js +0 -27
  578. package/lib-amd/components/Legends/shape.js.map +0 -1
  579. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -69
  580. package/lib-amd/components/LineChart/LineChart.base.js +0 -762
  581. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  582. package/lib-amd/components/LineChart/LineChart.d.ts +0 -3
  583. package/lib-amd/components/LineChart/LineChart.js +0 -8
  584. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  585. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  586. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  587. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  588. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -72
  589. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  590. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  591. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  592. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -95
  593. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  594. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  595. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  596. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  597. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  598. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  599. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  600. package/lib-amd/components/LineChart/index.d.ts +0 -3
  601. package/lib-amd/components/LineChart/index.js +0 -8
  602. package/lib-amd/components/LineChart/index.js.map +0 -1
  603. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -12
  604. package/lib-amd/components/PieChart/Arc/Arc.js +0 -56
  605. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  606. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  607. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -13
  608. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  609. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -60
  610. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  611. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  612. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  613. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  614. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  615. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  616. package/lib-amd/components/PieChart/Pie/Pie.js +0 -35
  617. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  618. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  619. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  620. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  621. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -46
  622. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  623. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  624. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  625. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  626. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  627. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -7
  628. package/lib-amd/components/PieChart/PieChart.base.js +0 -35
  629. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  630. package/lib-amd/components/PieChart/PieChart.d.ts +0 -3
  631. package/lib-amd/components/PieChart/PieChart.js +0 -8
  632. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  633. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  634. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  635. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  636. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -63
  637. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  638. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  639. package/lib-amd/components/PieChart/index.d.ts +0 -2
  640. package/lib-amd/components/PieChart/index.js +0 -7
  641. package/lib-amd/components/PieChart/index.js.map +0 -1
  642. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  643. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -109
  644. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  645. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -3
  646. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -8
  647. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  648. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  649. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -27
  650. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  651. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  652. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  653. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  654. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  655. package/lib-amd/components/SankeyChart/index.js +0 -7
  656. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  657. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -20
  658. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -74
  659. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  660. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -3
  661. package/lib-amd/components/Sparkline/Sparkline.js +0 -8
  662. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  663. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  664. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  665. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  666. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -51
  667. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  668. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  669. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  670. package/lib-amd/components/Sparkline/index.js +0 -7
  671. package/lib-amd/components/Sparkline/index.js.map +0 -1
  672. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  673. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -291
  674. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  675. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  676. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -8
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -66
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  682. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -5
  683. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  684. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  685. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -295
  686. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  687. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  688. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -8
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -98
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  694. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  695. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  696. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  697. package/lib-amd/components/StackedBarChart/index.js +0 -10
  698. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  699. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  700. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -301
  701. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  702. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -3
  703. package/lib-amd/components/TreeChart/TreeChart.js +0 -7
  704. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  705. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  706. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -33
  707. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  708. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -185
  709. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -28
  710. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  711. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  712. package/lib-amd/components/TreeChart/index.js +0 -7
  713. package/lib-amd/components/TreeChart/index.js.map +0 -1
  714. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  715. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -476
  716. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  717. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  718. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -8
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -27
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  724. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  725. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  726. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  727. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  728. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  729. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  730. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -601
  731. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  732. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  733. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -8
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -17
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  739. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  740. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  741. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  742. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  743. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  744. package/lib-amd/index.d.ts +0 -18
  745. package/lib-amd/index.js +0 -22
  746. package/lib-amd/index.js.map +0 -1
  747. package/lib-amd/types/IDataPoint.d.ts +0 -541
  748. package/lib-amd/types/IDataPoint.js +0 -5
  749. package/lib-amd/types/IDataPoint.js.map +0 -1
  750. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  751. package/lib-amd/types/IEventAnnotation.js +0 -5
  752. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  753. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  754. package/lib-amd/types/ILegendDataItem.js +0 -5
  755. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  756. package/lib-amd/types/index.d.ts +0 -2
  757. package/lib-amd/types/index.js +0 -7
  758. package/lib-amd/types/index.js.map +0 -1
  759. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  760. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  761. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  762. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  763. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -87
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  769. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  770. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  771. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  772. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  773. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  774. package/lib-amd/utilities/index.d.ts +0 -2
  775. package/lib-amd/utilities/index.js +0 -7
  776. package/lib-amd/utilities/index.js.map +0 -1
  777. package/lib-amd/utilities/utilities.d.ts +0 -374
  778. package/lib-amd/utilities/utilities.js +0 -844
  779. package/lib-amd/utilities/utilities.js.map +0 -1
  780. package/lib-amd/version.d.ts +0 -1
  781. package/lib-amd/version.js +0 -6
  782. package/lib-amd/version.js.map +0 -1
  783. package/lib-commonjs/AreaChart.d.ts +0 -1
  784. package/lib-commonjs/AreaChart.js +0 -5
  785. package/lib-commonjs/AreaChart.js.map +0 -1
  786. package/lib-commonjs/CartesianChart.d.ts +0 -1
  787. package/lib-commonjs/CartesianChart.js +0 -5
  788. package/lib-commonjs/CartesianChart.js.map +0 -1
  789. package/lib-commonjs/DonutChart.d.ts +0 -1
  790. package/lib-commonjs/DonutChart.js +0 -5
  791. package/lib-commonjs/DonutChart.js.map +0 -1
  792. package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
  793. package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
  794. package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
  795. package/lib-commonjs/HeatMapChart.d.ts +0 -1
  796. package/lib-commonjs/HeatMapChart.js +0 -5
  797. package/lib-commonjs/HeatMapChart.js.map +0 -1
  798. package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
  799. package/lib-commonjs/HorizontalBarChart.js +0 -5
  800. package/lib-commonjs/HorizontalBarChart.js.map +0 -1
  801. package/lib-commonjs/Legends.d.ts +0 -1
  802. package/lib-commonjs/Legends.js +0 -5
  803. package/lib-commonjs/Legends.js.map +0 -1
  804. package/lib-commonjs/LineChart.d.ts +0 -1
  805. package/lib-commonjs/LineChart.js +0 -5
  806. package/lib-commonjs/LineChart.js.map +0 -1
  807. package/lib-commonjs/PieChart.d.ts +0 -1
  808. package/lib-commonjs/PieChart.js +0 -5
  809. package/lib-commonjs/PieChart.js.map +0 -1
  810. package/lib-commonjs/SankeyChart.d.ts +0 -1
  811. package/lib-commonjs/SankeyChart.js +0 -5
  812. package/lib-commonjs/SankeyChart.js.map +0 -1
  813. package/lib-commonjs/Sparkline.d.ts +0 -1
  814. package/lib-commonjs/Sparkline.js +0 -5
  815. package/lib-commonjs/Sparkline.js.map +0 -1
  816. package/lib-commonjs/StackedBarChart.d.ts +0 -1
  817. package/lib-commonjs/StackedBarChart.js +0 -5
  818. package/lib-commonjs/StackedBarChart.js.map +0 -1
  819. package/lib-commonjs/Styling.d.ts +0 -2
  820. package/lib-commonjs/Styling.js +0 -75
  821. package/lib-commonjs/Styling.js.map +0 -1
  822. package/lib-commonjs/TreeChart.d.ts +0 -1
  823. package/lib-commonjs/TreeChart.js +0 -5
  824. package/lib-commonjs/TreeChart.js.map +0 -1
  825. package/lib-commonjs/Utilities.d.ts +0 -2
  826. package/lib-commonjs/Utilities.js +0 -185
  827. package/lib-commonjs/Utilities.js.map +0 -1
  828. package/lib-commonjs/VerticalBarChart.d.ts +0 -1
  829. package/lib-commonjs/VerticalBarChart.js +0 -5
  830. package/lib-commonjs/VerticalBarChart.js.map +0 -1
  831. package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
  832. package/lib-commonjs/VerticalStackedBarChart.js +0 -5
  833. package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
  834. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -73
  835. package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -492
  836. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
  837. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -3
  838. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -9
  839. package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
  840. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
  841. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
  842. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
  843. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -36
  844. package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
  845. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
  846. package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
  847. package/lib-commonjs/components/AreaChart/index.js +0 -6
  848. package/lib-commonjs/components/AreaChart/index.js.map +0 -1
  849. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  850. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -326
  851. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
  852. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -3
  853. package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -8
  854. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
  855. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  856. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -167
  857. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  858. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  859. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
  860. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
  861. package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
  862. package/lib-commonjs/components/CommonComponents/index.js +0 -6
  863. package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
  864. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -19
  865. package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -80
  866. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
  867. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  868. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -36
  869. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  870. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  871. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
  872. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
  873. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
  874. package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
  875. package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
  876. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -44
  877. package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -212
  878. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
  879. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -3
  880. package/lib-commonjs/components/DonutChart/DonutChart.js +0 -9
  881. package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
  882. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
  883. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -33
  884. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
  885. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -53
  886. package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
  887. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
  888. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -12
  889. package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -50
  890. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
  891. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  892. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -10
  893. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  894. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  895. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
  896. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
  897. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
  898. package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
  899. package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
  900. package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
  901. package/lib-commonjs/components/DonutChart/index.js +0 -7
  902. package/lib-commonjs/components/DonutChart/index.js.map +0 -1
  903. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  904. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -354
  905. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  906. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  907. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -9
  908. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  909. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  910. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -15
  911. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  912. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  913. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
  914. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  915. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
  916. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
  917. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
  918. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  919. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -501
  920. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  921. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  922. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -8
  923. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
  924. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  925. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -26
  926. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  927. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  928. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
  929. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  930. package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
  931. package/lib-commonjs/components/HeatMapChart/index.js +0 -6
  932. package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
  933. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  934. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -197
  935. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  936. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  937. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -9
  938. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  939. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  940. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -53
  941. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  942. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  943. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -3
  944. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  945. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
  946. package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
  947. package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
  948. package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -42
  949. package/lib-commonjs/components/Legends/Legends.base.js +0 -314
  950. package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
  951. package/lib-commonjs/components/Legends/Legends.d.ts +0 -3
  952. package/lib-commonjs/components/Legends/Legends.js +0 -8
  953. package/lib-commonjs/components/Legends/Legends.js.map +0 -1
  954. package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -2
  955. package/lib-commonjs/components/Legends/Legends.styles.js +0 -107
  956. package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
  957. package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -169
  958. package/lib-commonjs/components/Legends/Legends.types.js +0 -3
  959. package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
  960. package/lib-commonjs/components/Legends/index.d.ts +0 -3
  961. package/lib-commonjs/components/Legends/index.js +0 -7
  962. package/lib-commonjs/components/Legends/index.js.map +0 -1
  963. package/lib-commonjs/components/Legends/shape.d.ts +0 -9
  964. package/lib-commonjs/components/Legends/shape.js +0 -28
  965. package/lib-commonjs/components/Legends/shape.js.map +0 -1
  966. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -69
  967. package/lib-commonjs/components/LineChart/LineChart.base.js +0 -771
  968. package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
  969. package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -3
  970. package/lib-commonjs/components/LineChart/LineChart.js +0 -9
  971. package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
  972. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
  973. package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
  974. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
  975. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -72
  976. package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
  977. package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
  978. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  979. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  980. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  981. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  982. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -41
  983. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  984. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  985. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -41
  986. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  987. package/lib-commonjs/components/LineChart/index.d.ts +0 -3
  988. package/lib-commonjs/components/LineChart/index.js +0 -7
  989. package/lib-commonjs/components/LineChart/index.js.map +0 -1
  990. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -12
  991. package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -60
  992. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
  993. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  994. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -12
  995. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
  996. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -60
  997. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
  998. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
  999. package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
  1000. package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
  1001. package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
  1002. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
  1003. package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -38
  1004. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
  1005. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  1006. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
  1007. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
  1008. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -46
  1009. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
  1010. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
  1011. package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
  1012. package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
  1013. package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
  1014. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -7
  1015. package/lib-commonjs/components/PieChart/PieChart.base.js +0 -37
  1016. package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
  1017. package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -3
  1018. package/lib-commonjs/components/PieChart/PieChart.js +0 -9
  1019. package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
  1020. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
  1021. package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
  1022. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
  1023. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -63
  1024. package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
  1025. package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
  1026. package/lib-commonjs/components/PieChart/index.d.ts +0 -2
  1027. package/lib-commonjs/components/PieChart/index.js +0 -6
  1028. package/lib-commonjs/components/PieChart/index.js.map +0 -1
  1029. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  1030. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -111
  1031. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
  1032. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -3
  1033. package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -9
  1034. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
  1035. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  1036. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -25
  1037. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  1038. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  1039. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
  1040. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
  1041. package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
  1042. package/lib-commonjs/components/SankeyChart/index.js +0 -6
  1043. package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
  1044. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -20
  1045. package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -79
  1046. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
  1047. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -3
  1048. package/lib-commonjs/components/Sparkline/Sparkline.js +0 -9
  1049. package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
  1050. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
  1051. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
  1052. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
  1053. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -51
  1054. package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
  1055. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
  1056. package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
  1057. package/lib-commonjs/components/Sparkline/index.js +0 -6
  1058. package/lib-commonjs/components/Sparkline/index.js.map +0 -1
  1059. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  1060. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -296
  1061. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  1062. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  1063. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -9
  1064. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  1065. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  1066. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -65
  1067. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  1068. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  1069. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -3
  1070. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  1071. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  1072. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -300
  1073. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  1074. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  1075. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -9
  1076. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
  1077. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  1078. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -98
  1079. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  1080. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  1081. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
  1082. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  1083. package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
  1084. package/lib-commonjs/components/StackedBarChart/index.js +0 -9
  1085. package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
  1086. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
  1087. package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -306
  1088. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
  1089. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -3
  1090. package/lib-commonjs/components/TreeChart/TreeChart.js +0 -8
  1091. package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
  1092. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
  1093. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -32
  1094. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
  1095. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -185
  1096. package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -26
  1097. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
  1098. package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
  1099. package/lib-commonjs/components/TreeChart/index.js +0 -6
  1100. package/lib-commonjs/components/TreeChart/index.js.map +0 -1
  1101. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  1102. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -485
  1103. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  1104. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  1105. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -9
  1106. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  1107. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  1108. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -26
  1109. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  1110. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  1111. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
  1112. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  1113. package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
  1114. package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
  1115. package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
  1116. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  1117. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -610
  1118. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  1119. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  1120. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -9
  1121. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  1122. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  1123. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -16
  1124. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  1125. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  1126. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
  1127. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  1128. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
  1129. package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
  1130. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
  1131. package/lib-commonjs/index.d.ts +0 -18
  1132. package/lib-commonjs/index.js +0 -22
  1133. package/lib-commonjs/index.js.map +0 -1
  1134. package/lib-commonjs/types/IDataPoint.d.ts +0 -541
  1135. package/lib-commonjs/types/IDataPoint.js +0 -3
  1136. package/lib-commonjs/types/IDataPoint.js.map +0 -1
  1137. package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
  1138. package/lib-commonjs/types/IEventAnnotation.js +0 -3
  1139. package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
  1140. package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
  1141. package/lib-commonjs/types/ILegendDataItem.js +0 -3
  1142. package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
  1143. package/lib-commonjs/types/index.d.ts +0 -2
  1144. package/lib-commonjs/types/index.js +0 -6
  1145. package/lib-commonjs/types/index.js.map +0 -1
  1146. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  1147. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
  1148. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  1149. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  1150. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
  1151. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  1152. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  1153. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -86
  1154. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  1155. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  1156. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
  1157. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  1158. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
  1159. package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
  1160. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
  1161. package/lib-commonjs/utilities/index.d.ts +0 -2
  1162. package/lib-commonjs/utilities/index.js +0 -6
  1163. package/lib-commonjs/utilities/index.js.map +0 -1
  1164. package/lib-commonjs/utilities/utilities.d.ts +0 -374
  1165. package/lib-commonjs/utilities/utilities.js +0 -849
  1166. package/lib-commonjs/utilities/utilities.js.map +0 -1
  1167. package/lib-commonjs/version.d.ts +0 -1
  1168. package/lib-commonjs/version.js +0 -7
  1169. package/lib-commonjs/version.js.map +0 -1
@@ -1,202 +0,0 @@
1
- import { ITheme, IStyle } from '@fluentui/react/lib/Styling';
2
- import { ICalloutProps } from '@fluentui/react/lib/Callout';
3
- import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
4
- import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
5
- import { IFocusZoneProps } from '@fluentui/react-focus';
6
- import { ILegendsProps } from '../Legends/index';
7
- export interface IStackedBarChart {
8
- }
9
- import { IChartProps, IChartDataPoint } from './index';
10
- export interface IStackedBarChartProps {
11
- /**
12
- * Data to render in the chart.
13
- */
14
- data?: IChartProps;
15
- /**
16
- * Benchmark Data to render in the chart.
17
- */
18
- benchmarkData?: IChartDataPoint;
19
- /**
20
- * Target Data to render in the chart.
21
- */
22
- targetData?: IChartDataPoint;
23
- /**
24
- * Width of the chart.
25
- */
26
- width?: number;
27
- /**
28
- * Height of each bar in the chart.
29
- */
30
- barHeight?: number;
31
- /**
32
- * Do not show the legend at the bottom of chart
33
- * when there are more than two datapoints
34
- *
35
- * @default false
36
- */
37
- hideLegend?: boolean;
38
- /**
39
- * Do not show number/ratio on top of bar
40
- *
41
- * @default false
42
- */
43
- hideNumberDisplay?: boolean;
44
- /**
45
- * Do not show tooltips in chart
46
- *
47
- * @default false
48
- */
49
- hideTooltip?: boolean;
50
- /**
51
- * Additional CSS class(es) to apply to the StackedBarChart.
52
- */
53
- className?: string;
54
- /**
55
- * Theme (provided through customization.)
56
- */
57
- theme?: ITheme;
58
- /**
59
- * Call to provide customized styling that will layer on top of the variant rules.
60
- */
61
- styles?: IStyleFunctionOrObject<IStackedBarChartStyleProps, IStackedBarChartStyles>;
62
- /**
63
- * Color setting of bar background color, this will show while all data points value is 0
64
- */
65
- barBackgroundColor?: string;
66
- /**
67
- * Url that the data-viz needs to redirect to upon clicking on it
68
- */
69
- href?: string;
70
- /**
71
- * If this value is set, the fixed display pattern for less than 2 data points chart will be ignore
72
- */
73
- ignoreFixStyle?: boolean;
74
- /**
75
- * If this value is set to true the denominator will not be shown for the ratio above the chart
76
- */
77
- hideDenominator?: boolean;
78
- /**
79
- * Enable the legends to wrap lines if there is not enough space to show all legends on a single line
80
- */
81
- enabledLegendsWrapLines?: boolean;
82
- /**
83
- * overflow props for the legend
84
- */
85
- legendsOverflowProps?: Partial<IOverflowSetProps>;
86
- /**
87
- * text for overflow legends string
88
- */
89
- legendsOverflowText?: string;
90
- /**
91
- * focus zone props in hover card for legends
92
- */
93
- focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;
94
- /**
95
- * props for the legends in the chart
96
- */
97
- legendProps?: Partial<ILegendsProps>;
98
- /**
99
- * Define a custom callout renderer for a data point
100
- */
101
- onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;
102
- /**
103
- * props for the callout in the chart
104
- */
105
- calloutProps?: Partial<ICalloutProps>;
106
- /**
107
- * The prop used to define the culture to localized the numbers
108
- */
109
- culture?: string;
110
- }
111
- export interface IStackedBarChartStyleProps {
112
- /**
113
- * Theme (provided through customization.)
114
- */
115
- theme: ITheme;
116
- /**
117
- * Additional CSS class(es) to apply to the StackedBarChart.
118
- */
119
- className?: string;
120
- /**
121
- * Width of the chart.
122
- */
123
- width?: number;
124
- /**
125
- * Height of bar in the chart.
126
- */
127
- barHeight?: number;
128
- /**
129
- * prop to show data of the chart with appropriate legend color
130
- */
131
- legendColor?: string;
132
- /**
133
- * prop to check if the chart is selcted or hovered upon to determine opacity
134
- */
135
- shouldHighlight?: boolean;
136
- /**
137
- * prop to check which specific section of the stacked bar chart is selected or hovered upon
138
- */
139
- isChartSelected?: boolean;
140
- /**
141
- * prop to check to decide cursor type
142
- */
143
- href?: string;
144
- /**
145
- * the color for the benchmark triangle
146
- */
147
- benchmarkColor?: string;
148
- /**
149
- * the ratio position for the benchmark triangle
150
- */
151
- benchmarkRatio?: number;
152
- /**
153
- * the color for the target triangle
154
- */
155
- targetColor?: string;
156
- /**
157
- * the ratio position for the target triangle
158
- */
159
- targetRatio?: number;
160
- }
161
- export interface IStackedBarChartStyles {
162
- /**
163
- * Style for the root element.
164
- */
165
- root: IStyle;
166
- /**
167
- * Style for the chart.
168
- */
169
- chart: IStyle;
170
- /**
171
- * Style for the chart Title.
172
- */
173
- chartTitle: IStyle;
174
- /**
175
- * Style for the legend container div
176
- */
177
- legendContainer: IStyle;
178
- /**
179
- * Style to change the opacity of bars in dataviz when we hover on a single bar or legends
180
- */
181
- opacityChangeOnHover: IStyle;
182
- /**
183
- * Style for the chart ratio numerator
184
- */
185
- ratioNumerator: IStyle;
186
- /**
187
- * Style for the chart ratio denominator
188
- */
189
- ratioDenominator: IStyle;
190
- /**
191
- * Style for the benchmark container
192
- */
193
- benchmarkContainer: IStyle;
194
- /**
195
- * Style for the benchmark triangle
196
- */
197
- benchmark: IStyle;
198
- /**
199
- * Style for the target triangle
200
- */
201
- target: IStyle;
202
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=StackedBarChart.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StackedBarChart.types.js","sourceRoot":"../src/","sources":["components/StackedBarChart/StackedBarChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { ILegendsProps } from '../Legends/index';\n\nexport interface IStackedBarChart {}\nimport { IChartProps, IChartDataPoint } from './index';\n\nexport interface IStackedBarChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IChartProps;\n\n /**\n * Benchmark Data to render in the chart.\n */\n benchmarkData?: IChartDataPoint;\n\n /**\n * Target Data to render in the chart.\n */\n targetData?: IChartDataPoint;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of each bar in the chart.\n */\n barHeight?: number;\n\n /**\n * Do not show the legend at the bottom of chart\n * when there are more than two datapoints\n *\n * @default false\n */\n hideLegend?: boolean;\n\n /**\n * Do not show number/ratio on top of bar\n *\n * @default false\n */\n hideNumberDisplay?: boolean;\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IStackedBarChartStyleProps, IStackedBarChartStyles>;\n\n /**\n * Color setting of bar background color, this will show while all data points value is 0\n */\n barBackgroundColor?: string;\n\n /**\n * Url that the data-viz needs to redirect to upon clicking on it\n */\n href?: string;\n\n /**\n * If this value is set, the fixed display pattern for less than 2 data points chart will be ignore\n */\n ignoreFixStyle?: boolean;\n\n /**\n * If this value is set to true the denominator will not be shown for the ratio above the chart\n */\n hideDenominator?: boolean;\n\n /**\n * Enable the legends to wrap lines if there is not enough space to show all legends on a single line\n */\n enabledLegendsWrapLines?: boolean;\n\n /**\n * overflow props for the legend\n */\n legendsOverflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * text for overflow legends string\n */\n legendsOverflowText?: string;\n\n /**\n * focus zone props in hover card for legends\n */\n focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;\n\n /**\n * props for the legends in the chart\n */\n legendProps?: Partial<ILegendsProps>;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\nexport interface IStackedBarChartStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of bar in the chart.\n */\n barHeight?: number;\n\n /**\n * prop to show data of the chart with appropriate legend color\n */\n legendColor?: string;\n\n /**\n * prop to check if the chart is selcted or hovered upon to determine opacity\n */\n shouldHighlight?: boolean;\n\n /**\n * prop to check which specific section of the stacked bar chart is selected or hovered upon\n */\n isChartSelected?: boolean;\n\n /**\n * prop to check to decide cursor type\n */\n href?: string;\n\n /**\n * the color for the benchmark triangle\n */\n benchmarkColor?: string;\n\n /**\n * the ratio position for the benchmark triangle\n */\n benchmarkRatio?: number;\n\n /**\n * the color for the target triangle\n */\n targetColor?: string;\n\n /**\n * the ratio position for the target triangle\n */\n targetRatio?: number;\n}\n\nexport interface IStackedBarChartStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n\n /**\n * Style for the chart.\n */\n chart: IStyle;\n\n /**\n * Style for the chart Title.\n */\n chartTitle: IStyle;\n\n /**\n * Style for the legend container div\n */\n legendContainer: IStyle;\n\n /**\n * Style to change the opacity of bars in dataviz when we hover on a single bar or legends\n */\n opacityChangeOnHover: IStyle;\n\n /**\n * Style for the chart ratio numerator\n */\n ratioNumerator: IStyle;\n\n /**\n * Style for the chart ratio denominator\n */\n ratioDenominator: IStyle;\n\n /**\n * Style for the benchmark container\n */\n benchmarkContainer: IStyle;\n\n /**\n * Style for the benchmark triangle\n */\n benchmark: IStyle;\n\n /**\n * Style for the target triangle\n */\n target: IStyle;\n}\n"]}
@@ -1,5 +0,0 @@
1
- export * from './StackedBarChart';
2
- export * from './MultiStackedBarChart';
3
- export * from './StackedBarChart.types';
4
- export * from './MultiStackedBarChart.types';
5
- export * from '../../types/index';
@@ -1,6 +0,0 @@
1
- export * from './StackedBarChart';
2
- export * from './MultiStackedBarChart';
3
- export * from './StackedBarChart.types';
4
- export * from './MultiStackedBarChart.types';
5
- export * from '../../types/index';
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/StackedBarChart/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './StackedBarChart';\nexport * from './MultiStackedBarChart';\nexport * from './StackedBarChart.types';\nexport * from './MultiStackedBarChart.types';\nexport * from '../../types/index';\n"]}
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- import { ITreeProps, ITreeState } from '../../index';
3
- export declare class TreeChartBase extends React.Component<ITreeProps, ITreeState> {
4
- private _treeData;
5
- private _width;
6
- private _height;
7
- private _composition;
8
- private _classNames;
9
- private _margin;
10
- private _nodeElements;
11
- private _linkElements;
12
- private _treeTraversal;
13
- constructor(props: ITreeProps);
14
- componentDidMount(): void;
15
- componentDidUpdate(prevProps: ITreeProps): void;
16
- createTreeChart(): void;
17
- render(): JSX.Element;
18
- }
@@ -1,303 +0,0 @@
1
- import { __extends } from "tslib";
2
- import * as React from 'react';
3
- import { hierarchy, tree } from 'd3-hierarchy';
4
- import { classNamesFunction } from '@fluentui/react/lib/Utilities';
5
- import { select, selectAll } from 'd3-selection';
6
- import { FocusZone } from '@fluentui/react-focus';
7
- import { max as d3Max, min as d3Min } from 'd3-array';
8
- var getClassNames = classNamesFunction();
9
- // Create a parent class for common tree components
10
- var StandardTree = /** @class */ (function () {
11
- function StandardTree(treeData, styleClassNames, _nodeElements, _linkElements) {
12
- if (_nodeElements === void 0) { _nodeElements = []; }
13
- if (_linkElements === void 0) { _linkElements = []; }
14
- this._nodeElements = [];
15
- this._linkElements = [];
16
- this.treeData = treeData;
17
- this.styleClassNames = styleClassNames;
18
- this._nodeElements = _nodeElements;
19
- this._linkElements = _linkElements;
20
- }
21
- StandardTree.prototype.truncateText = function (text, rectangleWidth, padding, styleClass) {
22
- var truncatedText = '';
23
- var words = text.split(/\s+/).reverse();
24
- var word = '';
25
- var tspan = select('.svgTree').append('text').attr('class', 'tempText').append('tspan').text(null);
26
- if (styleClass !== undefined) {
27
- tspan.attr('class', styleClass);
28
- }
29
- var line = [];
30
- while ((word = words.pop())) {
31
- line.push(word);
32
- tspan.text(line.join(' ') + ' ');
33
- if (tspan.node() !== null) {
34
- var w = tspan.node().getComputedTextLength();
35
- if (w > rectangleWidth - padding) {
36
- line.pop();
37
- line.push('...');
38
- break;
39
- }
40
- }
41
- }
42
- truncatedText = line.join(' ') + ' ';
43
- tspan.text(null);
44
- selectAll('.tempText').remove();
45
- return truncatedText;
46
- };
47
- // Append node elements
48
- // nodeId to create unique key
49
- StandardTree.prototype.addNodeShapetoSVG = function (name, subname, metricName, xCoordinate, yCoordinate, fillColor, rectangleWidth, rectangleHeight, nodeId, parentInfo) {
50
- var ariaLabel = "nodeId: " + nodeId + " \nnodeMainText: " + name + "\nsubText " + subname + " " + parentInfo;
51
- this._nodeElements.push(React.createElement("rect", { width: rectangleWidth, height: rectangleHeight, x: xCoordinate, y: yCoordinate, tabIndex: 0, role: 'text', "data-is-focusable": true, "aria-label": ariaLabel, className: this.styleClassNames.rectNode, stroke: fillColor, key: "" + nodeId + this.styleClassNames.rectNode }));
52
- if (subname !== undefined) {
53
- subname = this.truncateText(subname, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectSubText);
54
- }
55
- if (metricName !== undefined) {
56
- metricName = this.truncateText(metricName, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectmetricText);
57
- }
58
- name = this.truncateText(name, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectText);
59
- // Text position y = y + rectHeight/2, 2 is ratio for depth
60
- // Text position x = x + rectWidth/2, 2 is ratio for length
61
- // Sub-text position x = x + rectWidth/2, 2 is ratio for length
62
- var subValue = metricName !== undefined ? (React.createElement("tspan", { className: this.styleClassNames.rectmetricText, dy: "1.4em", x: xCoordinate + rectangleWidth / 2 }, metricName)) : (React.createElement("tspan", { className: this.styleClassNames.rectSubText, dy: "1.4em", x: xCoordinate + rectangleWidth / 2 }, subname));
63
- if (subname === undefined && metricName === undefined) {
64
- this._nodeElements.push(React.createElement("text", { textAnchor: "middle", className: this.styleClassNames.rectmetricText, dy: yCoordinate + rectangleHeight / 1.6, x: xCoordinate + rectangleWidth / 2, key: "" + nodeId + this.styleClassNames.rectText }, name));
65
- }
66
- else {
67
- this._nodeElements.push(React.createElement("text", { textAnchor: "middle", className: metricName !== undefined ? this.styleClassNames.rectSubText : this.styleClassNames.rectText, dy: metricName !== undefined ? yCoordinate + rectangleHeight / 2.5 : yCoordinate + rectangleHeight / 2, x: xCoordinate + rectangleWidth / 2, key: "" + nodeId + this.styleClassNames.rectText },
68
- name,
69
- subValue));
70
- }
71
- };
72
- // Create a rectangular path from parent to the child nodes
73
- StandardTree.prototype.createPathLink = function (parentX, parentY, childX, childY, leaf, rectWidth, rectHeight, gap, childXMax) {
74
- // gap adds ratio for parent.y to child.y
75
- var path = "M" + childX + "," + (childY - gap) + " H" + (childXMax + rectWidth) + " M" + (parentX + rectWidth / 2) + "," + (childY - gap) + "\n V" + (parentY + rectHeight + gap / 2);
76
- var leafpath = "M" + (parentX + rectWidth / 2) + "," + (parentY + rectHeight + gap / 2) + " V" + (parentY + gap * 5) + " H" + parentX + " H" + (parentX + rectWidth);
77
- // based on the type of node return leafpath or path element
78
- return leaf ? leafpath : path;
79
- };
80
- // Append path link element
81
- StandardTree.prototype.addLinktoSVG = function (nodeId, parentX, parentY, childX, childY, leaf, rectWidth, rectHeight, gap, childXMax) {
82
- if (childXMax === void 0) { childXMax = 0; }
83
- this._linkElements.push(React.createElement("path", { className: this.styleClassNames.link, d: this.createPathLink(parentX, parentY, childX, childY, leaf, rectWidth, rectHeight, gap, childXMax), key: "" + nodeId + this.styleClassNames.link }));
84
- };
85
- return StandardTree;
86
- }());
87
- // Create child class to Add Tree component based on treeHeight
88
- var LayeredTree = /** @class */ (function (_super) {
89
- __extends(LayeredTree, _super);
90
- function LayeredTree(treeData, composition, styleClassNames, _nodeElements, _linkElements, _treeTraversal) {
91
- if (_nodeElements === void 0) { _nodeElements = []; }
92
- if (_linkElements === void 0) { _linkElements = []; }
93
- var _this = _super.call(this, treeData, styleClassNames, _nodeElements, _linkElements) || this;
94
- _this.composition = composition;
95
- _this._treeTraversal = _treeTraversal;
96
- return _this;
97
- }
98
- LayeredTree.prototype.createTree = function (givenLayoutWidth, screenWidth) {
99
- var _a, _b, _c, _d, _e;
100
- if (givenLayoutWidth !== undefined) {
101
- if (givenLayoutWidth < 65) {
102
- givenLayoutWidth = 65;
103
- }
104
- if (givenLayoutWidth > 90) {
105
- givenLayoutWidth = 90;
106
- }
107
- }
108
- var layoutWidth = givenLayoutWidth || 75;
109
- var root = hierarchy(this.treeData, function (d) {
110
- return d.children;
111
- });
112
- // Find tree Height
113
- var treeHeight = (root === null || root === void 0 ? void 0 : root.height) + 1;
114
- // Create tree layout, width: layoutWidth, height: layoutWidth/1.5 and add node separation
115
- var treemap = tree()
116
- .nodeSize([layoutWidth, layoutWidth / 1.5])
117
- .separation(function (a, b) {
118
- return a.parent === root && b.parent === root ? 3.5 : 1;
119
- });
120
- // Assigns the x and y position for the nodes
121
- var treeData = treemap(root);
122
- // Compute the new tree layout.
123
- var nodes = treeData.descendants();
124
- // Normalize for fixed-depth and width
125
- // Normalise y coordinate by depth of each node by a factor of 130
126
- // Normalise x coordinate by start coordinate 0 with screenSize/3
127
- nodes.forEach(function (d) {
128
- d.y = d.depth === 0 ? 10 : d.depth * 130;
129
- d.x += screenWidth / 3;
130
- });
131
- // <------------------ Traversal section ------------------>
132
- // Create tree data structure
133
- var treeDataStructure = [];
134
- var TreeID = 0;
135
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
136
- var createTreeDataStructure = function (d) {
137
- var _a, _b;
138
- d.id = TreeID;
139
- treeDataStructure.push({
140
- id: TreeID,
141
- children: d.children,
142
- dataName: d.data.name,
143
- subName: d.data.subname,
144
- metricName: (_a = d.data) === null || _a === void 0 ? void 0 : _a.metric,
145
- fill: d.data.fill,
146
- x: d.x,
147
- y: d.y,
148
- parentID: (_b = d.parent) === null || _b === void 0 ? void 0 : _b.id,
149
- });
150
- TreeID++;
151
- };
152
- this._treeTraversal === 0
153
- ? root.each(function (d) {
154
- createTreeDataStructure(d);
155
- })
156
- : root.eachBefore(function (d) {
157
- createTreeDataStructure(d);
158
- });
159
- var rectWidth = layoutWidth * 3;
160
- var rectHeight = rectWidth / 3.45;
161
- var gap = 20;
162
- var parentSet = new Set();
163
- for (var _i = 0, treeDataStructure_1 = treeDataStructure; _i < treeDataStructure_1.length; _i++) {
164
- var d = treeDataStructure_1[_i];
165
- var parentInfo = d.id === 0
166
- ? 'Root Node'
167
- : "Parent info parentId: " + d.parentID + "\n " + treeDataStructure[d.parentID].dataName + "\n " + treeDataStructure[d.parentID].subName;
168
- // check for leaf nodes
169
- if (!d.children && !parentSet.has(d.parentID) && treeHeight === 3) {
170
- var newWidth = (rectWidth - gap) / 2;
171
- var newHeight = rectHeight;
172
- parentSet.add(d.parentID);
173
- // <------------------ Links section ------------------>
174
- this.addLinktoSVG(d.id, treeDataStructure[d.parentID].x, treeDataStructure[d.parentID].y, treeDataStructure[d.id].x, treeDataStructure[d.id].y, true, rectWidth, rectHeight, gap);
175
- // <------------------ Nodes section ------------------>
176
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
177
- var children = (_a = treeDataStructure[d.parentID]) === null || _a === void 0 ? void 0 : _a.children;
178
- var dx1 = (_b = treeDataStructure[d.parentID]) === null || _b === void 0 ? void 0 : _b.x;
179
- var dx2 = ((_c = treeDataStructure[d.parentID]) === null || _c === void 0 ? void 0 : _c.x) + newWidth + gap;
180
- var dy = (_d = children[0]) === null || _d === void 0 ? void 0 : _d.y;
181
- for (var itr = 0; itr < children.length; ++itr) {
182
- var child = children[itr];
183
- // Given Composition
184
- if (this.composition !== undefined) {
185
- // For compact compostion
186
- if (this.composition === 0) {
187
- this.addNodeShapetoSVG(child.data.name, child.data.subname, child.data.metricName, itr % 2 === 0 ? dx1 : dx2, dy, child.data.fill, children.length === 1 ? rectWidth : newWidth, rectHeight, child.id, parentInfo);
188
- if (itr % 2 === 1) {
189
- dy += newHeight + gap;
190
- }
191
- }
192
- // For long compostion
193
- else {
194
- this.addNodeShapetoSVG(child.data.name, child.data.subname, child.data.metricName, dx1, dy, child.data.fill, rectWidth, rectHeight, child.id, parentInfo);
195
- dy += newHeight + gap;
196
- }
197
- }
198
- // Automatic Node Composition
199
- else {
200
- if (children.length > 2) {
201
- this.addNodeShapetoSVG(child.data.name, child.data.subname, child.data.metricName, itr % 2 === 0 ? dx1 : dx2, dy, child.data.fill, children.length === 1 ? rectWidth : newWidth, rectHeight, child.id, parentInfo);
202
- if (itr % 2 === 1) {
203
- dy += newHeight + gap;
204
- }
205
- }
206
- else {
207
- this.addNodeShapetoSVG(child.data.name, child.data.subname, child.data.metricName, dx1, dy, child.data.fill, rectWidth, rectHeight, child.id, parentInfo);
208
- dy += newHeight + gap;
209
- }
210
- }
211
- }
212
- }
213
- if (d.children || treeHeight <= 2) {
214
- // <------------------ Nodes section ------------------>
215
- this.addNodeShapetoSVG(d.dataName, d.subName, d.metricName, d.x, d.y, d.fill, rectWidth, rectHeight, d.id, parentInfo);
216
- // <------------------ Links section ------------------>
217
- if (d.id === 0 && d.children) {
218
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
219
- var children = (_e = treeDataStructure[d.id]) === null || _e === void 0 ? void 0 : _e.children;
220
- var childXMin = d3Min(children, function (child) { return child.x; });
221
- var childXMax = d3Max(children, function (child) { return child.x; });
222
- this.addLinktoSVG(d.id, d.x, d.y, childXMin, d.children[0].y, false, rectWidth, rectHeight, gap, childXMax);
223
- }
224
- }
225
- }
226
- };
227
- return LayeredTree;
228
- }(StandardTree));
229
- var TreeChartBase = /** @class */ (function (_super) {
230
- __extends(TreeChartBase, _super);
231
- function TreeChartBase(props) {
232
- var _a;
233
- var _this = _super.call(this, props) || this;
234
- _this._nodeElements = [];
235
- _this._linkElements = [];
236
- _this._margin = { top: 30, right: 20, bottom: 30, left: 50 };
237
- _this._width = _this.props.width || 1500;
238
- _this._height = _this.props.height || 700;
239
- _this._treeData = _this.props.treeData;
240
- _this._composition = (_a = _this.props) === null || _a === void 0 ? void 0 : _a.composition;
241
- _this._treeTraversal = _this.props.treeTraversal;
242
- _this.state = {
243
- _width: _this._width,
244
- _height: _this._height,
245
- };
246
- return _this;
247
- }
248
- TreeChartBase.prototype.componentDidMount = function () {
249
- var _a = this.props, theme = _a.theme, className = _a.className, styles = _a.styles;
250
- // Get classNames to create component styling
251
- this._classNames = getClassNames(styles, {
252
- theme: theme,
253
- className: className,
254
- });
255
- // Call createTreeChart function in componentDidMount
256
- this.createTreeChart();
257
- this.setState({
258
- _width: this.props.width || 1500,
259
- _height: this.props.height || 700,
260
- });
261
- };
262
- TreeChartBase.prototype.componentDidUpdate = function (prevProps) {
263
- if (prevProps.layoutWidth !== this.props.layoutWidth) {
264
- var svgText = selectAll('text');
265
- var svgRect = selectAll('rect');
266
- var svgLink = selectAll('path');
267
- if (this._nodeElements.length === 0 && this._linkElements.length === 0) {
268
- svgText.remove();
269
- svgRect.remove();
270
- svgLink.remove();
271
- }
272
- this.createTreeChart();
273
- }
274
- };
275
- TreeChartBase.prototype.createTreeChart = function () {
276
- var nodeElements = [];
277
- var linkElements = [];
278
- // Create styleClass object to access it in parent class
279
- var styleClassNames = {
280
- link: this._classNames.link,
281
- rectNode: this._classNames.rectNode,
282
- rectText: this._classNames.rectText,
283
- rectSubText: this._classNames.rectSubText,
284
- rectmetricText: this._classNames.rectMetricText,
285
- };
286
- // Instantiate inherited class and call createTree function for the object
287
- var treeObject = new LayeredTree(this._treeData, this._composition, styleClassNames, nodeElements, linkElements, this._treeTraversal);
288
- treeObject.createTree(this.props.layoutWidth, this._width);
289
- this._nodeElements = nodeElements;
290
- this._linkElements = linkElements;
291
- };
292
- TreeChartBase.prototype.render = function () {
293
- var _a;
294
- return (React.createElement(FocusZone, null,
295
- React.createElement("div", { className: (_a = this._classNames) === null || _a === void 0 ? void 0 : _a.root },
296
- React.createElement("svg", { className: "svgTree", width: this.state._width - this._margin.left - this._margin.right, height: this.state._height - this._margin.top - this._margin.bottom },
297
- React.createElement("g", { className: "svgNode" }, this._nodeElements.map(function (element) { return element; })),
298
- React.createElement("g", { className: "svgLink" }, this._linkElements.map(function (element) { return element; }))))));
299
- };
300
- return TreeChartBase;
301
- }(React.Component));
302
- export { TreeChartBase };
303
- //# sourceMappingURL=TreeChart.base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TreeChart.base.js","sourceRoot":"../src/","sources":["components/TreeChart/TreeChart.base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,UAAU,CAAC;AAWtD,IAAM,aAAa,GAAG,kBAAkB,EAAgC,CAAC;AAEzE,mDAAmD;AACnD;IAYE,sBACE,QAA6B,EAC7B,eAAkH,EAClH,aAA0F,EAC1F,aAAyD;QADzD,8BAAA,EAAA,kBAA0F;QAC1F,8BAAA,EAAA,kBAAyD;QANnD,kBAAa,GAA2E,EAAE,CAAC;QAC3F,kBAAa,GAA0C,EAAE,CAAC;QAOhE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAEM,mCAAY,GAAnB,UAAoB,IAAY,EAAE,cAAsB,EAAE,OAAe,EAAE,UAA8B;QACvG,IAAI,aAAa,GAAG,EAAE,CAAC;QACvB,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CA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BACpC,6BACE,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EACjE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM;oBAEnE,2BAAG,SAAS,EAAC,SAAS,IAAE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,UAAA,OAAO,IAAI,OAAA,OAAO,EAAP,CAAO,CAAC,CAAK;oBACvE,2BAAG,SAAS,EAAC,SAAS,IAAE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,UAAA,OAAO,IAAI,OAAA,OAAO,EAAP,CAAO,CAAC,CAAK,CACnE,CACF,CACI,CACb,CAAC;IACJ,CAAC;IACH,oBAAC;AAAD,CAAC,AArGD,CAAmC,KAAK,CAAC,SAAS,GAqGjD","sourcesContent":["import * as React from 'react';\nimport { hierarchy, tree } from 'd3-hierarchy';\nimport { classNamesFunction } from '@fluentui/react/lib/Utilities';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\nimport { select, selectAll } from 'd3-selection';\nimport { FocusZone } from '@fluentui/react-focus';\nimport { max as d3Max, min as d3Min } from 'd3-array';\n\nimport {\n ITreeProps,\n ITreeState,\n ITreeDataStructure,\n ITreeChartDataPoint,\n ITreeStyleProps,\n ITreeStyles,\n} from '../../index';\n\nconst getClassNames = classNamesFunction<ITreeStyleProps, ITreeStyles>();\n\n// Create a parent class for common tree components\nclass StandardTree {\n public treeData: ITreeChartDataPoint;\n public styleClassNames: {\n rectmetricText: string | undefined;\n rectSubText: string | undefined;\n link: string;\n rectNode: string;\n rectText: string;\n };\n\n private _nodeElements: Array<React.SVGProps<SVGRectElement> | React.SVGProps<SVGTextElement>> = [];\n private _linkElements: Array<React.SVGProps<SVGPathElement>> = [];\n constructor(\n treeData: ITreeChartDataPoint,\n styleClassNames: { link: string; rectNode: string; rectText: string; rectSubText: string; rectmetricText: string },\n _nodeElements: Array<React.SVGProps<SVGRectElement> | React.SVGProps<SVGTextElement>> = [],\n _linkElements: Array<React.SVGProps<SVGPathElement>> = [],\n ) {\n this.treeData = treeData;\n this.styleClassNames = styleClassNames;\n this._nodeElements = _nodeElements;\n this._linkElements = _linkElements;\n }\n\n public truncateText(text: string, rectangleWidth: number, padding: number, styleClass: string | undefined) {\n let truncatedText = '';\n const words = text.split(/\\s+/).reverse();\n let word: string = '';\n const tspan = select('.svgTree').append('text').attr('class', 'tempText').append('tspan').text(null);\n\n if (styleClass !== undefined) {\n tspan.attr('class', styleClass);\n }\n\n const line: string[] = [];\n while ((word = words.pop()!)) {\n line.push(word);\n tspan.text(line.join(' ') + ' ');\n if (tspan.node() !== null) {\n const w = tspan.node()!.getComputedTextLength();\n if (w > rectangleWidth - padding) {\n line.pop();\n line.push('...');\n break;\n }\n }\n }\n\n truncatedText = line.join(' ') + ' ';\n tspan.text(null);\n selectAll('.tempText').remove();\n return truncatedText;\n }\n\n // Append node elements\n // nodeId to create unique key\n public addNodeShapetoSVG(\n name: string,\n subname: string | undefined,\n metricName: string | undefined,\n xCoordinate: number,\n yCoordinate: number,\n fillColor: string,\n rectangleWidth: number,\n rectangleHeight: number,\n nodeId: number,\n parentInfo: string,\n ) {\n const ariaLabel = `nodeId: ${nodeId} \\nnodeMainText: ${name}\\nsubText ${subname} ${parentInfo}`;\n this._nodeElements.push(\n <rect\n width={rectangleWidth}\n height={rectangleHeight}\n x={xCoordinate}\n y={yCoordinate}\n tabIndex={0}\n role={'text'}\n data-is-focusable={true}\n aria-label={ariaLabel}\n className={this.styleClassNames.rectNode}\n stroke={fillColor}\n key={`${nodeId}${this.styleClassNames.rectNode}`}\n />,\n );\n\n if (subname !== undefined) {\n subname = this.truncateText(subname, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectSubText);\n }\n if (metricName !== undefined) {\n metricName = this.truncateText(\n metricName,\n rectangleWidth,\n rectangleWidth / 4,\n this.styleClassNames.rectmetricText,\n );\n }\n name = this.truncateText(name, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectText);\n\n // Text position y = y + rectHeight/2, 2 is ratio for depth\n // Text position x = x + rectWidth/2, 2 is ratio for length\n // Sub-text position x = x + rectWidth/2, 2 is ratio for length\n\n const subValue =\n metricName !== undefined ? (\n <tspan className={this.styleClassNames.rectmetricText} dy=\"1.4em\" x={xCoordinate + rectangleWidth / 2}>\n {metricName}\n </tspan>\n ) : (\n <tspan className={this.styleClassNames.rectSubText} dy=\"1.4em\" x={xCoordinate + rectangleWidth / 2}>\n {subname}\n </tspan>\n );\n\n if (subname === undefined && metricName === undefined) {\n this._nodeElements.push(\n <text\n textAnchor=\"middle\"\n className={this.styleClassNames.rectmetricText}\n dy={yCoordinate + rectangleHeight / 1.6}\n x={xCoordinate + rectangleWidth / 2}\n key={`${nodeId}${this.styleClassNames.rectText}`}\n >\n {name}\n </text>,\n );\n } else {\n this._nodeElements.push(\n <text\n textAnchor=\"middle\"\n className={metricName !== undefined ? this.styleClassNames.rectSubText : this.styleClassNames.rectText}\n dy={metricName !== undefined ? yCoordinate + rectangleHeight / 2.5 : yCoordinate + rectangleHeight / 2}\n x={xCoordinate + rectangleWidth / 2}\n key={`${nodeId}${this.styleClassNames.rectText}`}\n >\n {name}\n {subValue}\n </text>,\n );\n }\n }\n // Create a rectangular path from parent to the child nodes\n public createPathLink(\n parentX: number,\n parentY: number,\n childX: number,\n childY: number,\n leaf: boolean,\n rectWidth: number,\n rectHeight: number,\n gap: number,\n childXMax: number,\n ): string {\n // gap adds ratio for parent.y to child.y\n\n const path = `M${childX},${childY - gap} H${childXMax + rectWidth} M${parentX + rectWidth / 2},${childY - gap}\n V${parentY + rectHeight + gap / 2}`;\n\n const leafpath = `M${parentX + rectWidth / 2},${parentY + rectHeight + gap / 2} V${\n parentY + gap * 5\n } H${parentX} H${parentX + rectWidth}`;\n\n // based on the type of node return leafpath or path element\n return leaf ? leafpath : path;\n }\n\n // Append path link element\n public addLinktoSVG(\n nodeId: number,\n parentX: number,\n parentY: number,\n childX: number,\n childY: number,\n leaf: boolean,\n rectWidth: number,\n rectHeight: number,\n gap: number,\n childXMax: number = 0,\n ) {\n this._linkElements.push(\n <path\n className={this.styleClassNames.link}\n d={this.createPathLink(parentX, parentY, childX, childY, leaf, rectWidth, rectHeight, gap, childXMax)}\n key={`${nodeId}${this.styleClassNames.link}`}\n />,\n );\n }\n}\n\n// Create child class to Add Tree component based on treeHeight\nclass LayeredTree extends StandardTree {\n public composition: number | undefined;\n private _treeTraversal: number | undefined;\n constructor(\n treeData: ITreeChartDataPoint,\n composition: number | undefined,\n styleClassNames: { link: string; rectNode: string; rectText: string; rectSubText: string; rectmetricText: string },\n _nodeElements: Array<React.SVGProps<SVGRectElement> | React.SVGProps<SVGTextElement>> = [],\n _linkElements: Array<React.SVGProps<SVGPathElement>> = [],\n _treeTraversal: number | undefined,\n ) {\n super(treeData, styleClassNames, _nodeElements, _linkElements);\n this.composition = composition;\n this._treeTraversal = _treeTraversal;\n }\n public createTree(givenLayoutWidth: number | undefined, screenWidth: number) {\n if (givenLayoutWidth !== undefined) {\n if (givenLayoutWidth < 65) {\n givenLayoutWidth = 65;\n }\n if (givenLayoutWidth > 90) {\n givenLayoutWidth = 90;\n }\n }\n const layoutWidth = givenLayoutWidth || 75;\n const root = hierarchy(this.treeData, d => {\n return d.children;\n });\n\n // Find tree Height\n const treeHeight = root?.height + 1;\n\n // Create tree layout, width: layoutWidth, height: layoutWidth/1.5 and add node separation\n const treemap = tree()\n .nodeSize([layoutWidth, layoutWidth / 1.5])\n .separation((a, b) => {\n return a.parent === root && b.parent === root ? 3.5 : 1;\n });\n\n // Assigns the x and y position for the nodes\n const treeData = treemap(root);\n\n // Compute the new tree layout.\n const nodes = treeData.descendants();\n\n // Normalize for fixed-depth and width\n // Normalise y coordinate by depth of each node by a factor of 130\n // Normalise x coordinate by start coordinate 0 with screenSize/3\n nodes.forEach(d => {\n d.y = d.depth === 0 ? 10 : d.depth * 130;\n d.x += screenWidth / 3;\n });\n\n // <------------------ Traversal section ------------------>\n\n // Create tree data structure\n const treeDataStructure: Array<ITreeDataStructure> = [];\n let TreeID: number = 0;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const createTreeDataStructure = (d: any) => {\n d.id = TreeID;\n treeDataStructure.push({\n id: TreeID,\n children: d.children,\n dataName: d.data.name,\n subName: d.data.subname,\n metricName: d.data?.metric,\n fill: d.data.fill,\n x: d.x,\n y: d.y,\n parentID: d.parent?.id,\n });\n TreeID++;\n };\n\n this._treeTraversal === 0\n ? root.each(d => {\n createTreeDataStructure(d);\n })\n : root.eachBefore(d => {\n createTreeDataStructure(d);\n });\n\n const rectWidth = layoutWidth * 3;\n const rectHeight = rectWidth / 3.45;\n const gap: number = 20;\n const parentSet = new Set();\n\n for (const d of treeDataStructure) {\n const parentInfo =\n d.id === 0\n ? 'Root Node'\n : `Parent info parentId: ${d.parentID}\n ${treeDataStructure[d.parentID].dataName}\n ${treeDataStructure[d.parentID].subName}`;\n\n // check for leaf nodes\n if (!d.children && !parentSet.has(d.parentID) && treeHeight === 3) {\n const newWidth = (rectWidth - gap) / 2;\n const newHeight = rectHeight;\n parentSet.add(d.parentID);\n\n // <------------------ Links section ------------------>\n this.addLinktoSVG(\n d.id,\n treeDataStructure[d.parentID].x,\n treeDataStructure[d.parentID].y,\n treeDataStructure[d.id].x,\n treeDataStructure[d.id].y,\n true,\n rectWidth,\n rectHeight,\n gap,\n );\n\n // <------------------ Nodes section ------------------>\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const children: any = treeDataStructure[d.parentID]?.children;\n\n const dx1: number = treeDataStructure[d.parentID]?.x;\n const dx2: number = treeDataStructure[d.parentID]?.x + newWidth + gap;\n let dy: number = children[0]?.y;\n\n for (let itr = 0; itr < children.length; ++itr) {\n const child = children[itr];\n\n // Given Composition\n if (this.composition !== undefined) {\n // For compact compostion\n if (this.composition === 0) {\n this.addNodeShapetoSVG(\n child.data.name,\n child.data.subname,\n child.data.metricName,\n itr % 2 === 0 ? dx1 : dx2,\n dy,\n child.data.fill,\n children.length === 1 ? rectWidth : newWidth,\n rectHeight,\n child.id,\n parentInfo,\n );\n if (itr % 2 === 1) {\n dy += newHeight + gap;\n }\n }\n // For long compostion\n else {\n this.addNodeShapetoSVG(\n child.data.name,\n child.data.subname,\n child.data.metricName,\n dx1,\n dy,\n child.data.fill,\n rectWidth,\n rectHeight,\n child.id,\n parentInfo,\n );\n dy += newHeight + gap;\n }\n }\n\n // Automatic Node Composition\n else {\n if (children.length > 2) {\n this.addNodeShapetoSVG(\n child.data.name,\n child.data.subname,\n child.data.metricName,\n itr % 2 === 0 ? dx1 : dx2,\n dy,\n child.data.fill,\n children.length === 1 ? rectWidth : newWidth,\n rectHeight,\n child.id,\n parentInfo,\n );\n if (itr % 2 === 1) {\n dy += newHeight + gap;\n }\n } else {\n this.addNodeShapetoSVG(\n child.data.name,\n child.data.subname,\n child.data.metricName,\n dx1,\n dy,\n child.data.fill,\n rectWidth,\n rectHeight,\n child.id,\n parentInfo,\n );\n dy += newHeight + gap;\n }\n }\n }\n }\n\n if (d.children || treeHeight <= 2) {\n // <------------------ Nodes section ------------------>\n this.addNodeShapetoSVG(\n d.dataName,\n d.subName,\n d.metricName,\n d.x,\n d.y,\n d.fill,\n rectWidth,\n rectHeight,\n d.id,\n parentInfo,\n );\n\n // <------------------ Links section ------------------>\n if (d.id === 0 && d.children) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const children: any = treeDataStructure[d.id]?.children;\n const childXMin = d3Min(children, (child: ITreeDataStructure) => child.x as number)!;\n const childXMax = d3Max(children, (child: ITreeDataStructure) => child.x as number)!;\n this.addLinktoSVG(d.id, d.x, d.y, childXMin, d.children[0].y, false, rectWidth, rectHeight, gap, childXMax);\n }\n }\n }\n }\n}\n\nexport class TreeChartBase extends React.Component<ITreeProps, ITreeState> {\n private _treeData: ITreeChartDataPoint;\n private _width: number;\n private _height: number;\n private _composition: number | undefined;\n private _classNames: IProcessedStyleSet<ITreeStyles>;\n private _margin: { left: number; right: number; top: number; bottom: number };\n private _nodeElements: Array<React.SVGProps<SVGRectElement> | React.SVGProps<SVGTextElement>> = [];\n private _linkElements: Array<React.SVGProps<SVGPathElement>> = [];\n private _treeTraversal: number | undefined;\n\n constructor(props: ITreeProps) {\n super(props);\n this._margin = { top: 30, right: 20, bottom: 30, left: 50 };\n this._width = this.props.width || 1500;\n this._height = this.props.height || 700;\n this._treeData = this.props.treeData;\n this._composition = this.props?.composition;\n this._treeTraversal = this.props.treeTraversal;\n\n this.state = {\n _width: this._width,\n _height: this._height,\n };\n }\n\n public componentDidMount() {\n const { theme, className, styles } = this.props;\n\n // Get classNames to create component styling\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n });\n\n // Call createTreeChart function in componentDidMount\n this.createTreeChart();\n\n this.setState({\n _width: this.props.width || 1500,\n _height: this.props.height || 700,\n });\n }\n\n public componentDidUpdate(prevProps: ITreeProps): void {\n if (prevProps.layoutWidth !== this.props.layoutWidth) {\n const svgText = selectAll('text');\n const svgRect = selectAll('rect');\n const svgLink = selectAll('path');\n\n if (this._nodeElements.length === 0 && this._linkElements.length === 0) {\n svgText.remove();\n svgRect.remove();\n svgLink.remove();\n }\n\n this.createTreeChart();\n }\n }\n public createTreeChart() {\n const nodeElements: Array<React.SVGProps<SVGRectElement> | React.SVGProps<SVGTextElement>> = [];\n const linkElements: Array<React.SVGProps<SVGPathElement>> = [];\n\n // Create styleClass object to access it in parent class\n const styleClassNames = {\n link: this._classNames.link,\n rectNode: this._classNames.rectNode,\n rectText: this._classNames.rectText,\n rectSubText: this._classNames.rectSubText,\n rectmetricText: this._classNames.rectMetricText,\n };\n // Instantiate inherited class and call createTree function for the object\n const treeObject = new LayeredTree(\n this._treeData,\n this._composition,\n styleClassNames,\n nodeElements,\n linkElements,\n this._treeTraversal,\n );\n treeObject.createTree(this.props.layoutWidth, this._width);\n this._nodeElements = nodeElements;\n this._linkElements = linkElements;\n }\n\n public render(): JSX.Element {\n return (\n <FocusZone>\n <div className={this._classNames?.root}>\n <svg\n className=\"svgTree\"\n width={this.state._width - this._margin.left - this._margin.right}\n height={this.state._height - this._margin.top - this._margin.bottom}\n >\n <g className=\"svgNode\">{this._nodeElements.map(element => element)}</g>\n <g className=\"svgLink\">{this._linkElements.map(element => element)}</g>\n </svg>\n </div>\n </FocusZone>\n );\n }\n}\n"]}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { ITreeProps } from './TreeChart.types';
3
- export declare const TreeChart: React.FunctionComponent<ITreeProps>;
@@ -1,5 +0,0 @@
1
- import { styled } from '@fluentui/react/lib/Utilities';
2
- import { TreeChartBase } from './TreeChart.base';
3
- import { getStyles } from './TreeChart.styles';
4
- export var TreeChart = styled(TreeChartBase, getStyles);
5
- //# sourceMappingURL=TreeChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TreeChart.js","sourceRoot":"../src/","sources":["components/TreeChart/TreeChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,CAAC,IAAM,SAAS,GAAwC,MAAM,CAClE,aAAa,EACb,SAAS,CACV,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ITreeStyles, ITreeProps, ITreeStyleProps } from './TreeChart.types';\nimport { TreeChartBase } from './TreeChart.base';\nimport { getStyles } from './TreeChart.styles';\n\nexport const TreeChart: React.FunctionComponent<ITreeProps> = styled<ITreeProps, ITreeStyleProps, ITreeStyles>(\n TreeChartBase,\n getStyles,\n);\n"]}