@fluentui/react-charting 5.23.12 → 5.23.14

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 (1338) hide show
  1. package/CHANGELOG.json +43 -1
  2. package/CHANGELOG.md +22 -2
  3. package/package.json +3 -3
  4. package/dist/react-charting.d.ts +0 -4292
  5. package/dist/react-charting.js +0 -1
  6. package/dist/react-charting.min.js +0 -1
  7. package/lib/AreaChart.d.ts +0 -1
  8. package/lib/AreaChart.js +0 -2
  9. package/lib/AreaChart.js.map +0 -1
  10. package/lib/CartesianChart.d.ts +0 -1
  11. package/lib/CartesianChart.js +0 -2
  12. package/lib/CartesianChart.js.map +0 -1
  13. package/lib/DonutChart.d.ts +0 -1
  14. package/lib/DonutChart.js +0 -2
  15. package/lib/DonutChart.js.map +0 -1
  16. package/lib/GaugeChart.d.ts +0 -1
  17. package/lib/GaugeChart.js +0 -2
  18. package/lib/GaugeChart.js.map +0 -1
  19. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  20. package/lib/GroupedVerticalBarChart.js +0 -2
  21. package/lib/GroupedVerticalBarChart.js.map +0 -1
  22. package/lib/HeatMapChart.d.ts +0 -1
  23. package/lib/HeatMapChart.js +0 -2
  24. package/lib/HeatMapChart.js.map +0 -1
  25. package/lib/HorizontalBarChart.d.ts +0 -1
  26. package/lib/HorizontalBarChart.js +0 -2
  27. package/lib/HorizontalBarChart.js.map +0 -1
  28. package/lib/HorizontalBarChartWithAxis.d.ts +0 -1
  29. package/lib/HorizontalBarChartWithAxis.js +0 -2
  30. package/lib/HorizontalBarChartWithAxis.js.map +0 -1
  31. package/lib/Legends.d.ts +0 -1
  32. package/lib/Legends.js +0 -2
  33. package/lib/Legends.js.map +0 -1
  34. package/lib/LineChart.d.ts +0 -1
  35. package/lib/LineChart.js +0 -2
  36. package/lib/LineChart.js.map +0 -1
  37. package/lib/PieChart.d.ts +0 -1
  38. package/lib/PieChart.js +0 -2
  39. package/lib/PieChart.js.map +0 -1
  40. package/lib/SankeyChart.d.ts +0 -1
  41. package/lib/SankeyChart.js +0 -2
  42. package/lib/SankeyChart.js.map +0 -1
  43. package/lib/Sparkline.d.ts +0 -1
  44. package/lib/Sparkline.js +0 -2
  45. package/lib/Sparkline.js.map +0 -1
  46. package/lib/StackedBarChart.d.ts +0 -1
  47. package/lib/StackedBarChart.js +0 -2
  48. package/lib/StackedBarChart.js.map +0 -1
  49. package/lib/Styling.d.ts +0 -2
  50. package/lib/Styling.js +0 -8
  51. package/lib/Styling.js.map +0 -1
  52. package/lib/TreeChart.d.ts +0 -1
  53. package/lib/TreeChart.js +0 -2
  54. package/lib/TreeChart.js.map +0 -1
  55. package/lib/Utilities.d.ts +0 -2
  56. package/lib/Utilities.js +0 -20
  57. package/lib/Utilities.js.map +0 -1
  58. package/lib/VerticalBarChart.d.ts +0 -1
  59. package/lib/VerticalBarChart.js +0 -2
  60. package/lib/VerticalBarChart.js.map +0 -1
  61. package/lib/VerticalStackedBarChart.d.ts +0 -1
  62. package/lib/VerticalStackedBarChart.js +0 -2
  63. package/lib/VerticalStackedBarChart.js.map +0 -1
  64. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -103
  65. package/lib/components/AreaChart/AreaChart.base.js +0 -659
  66. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  67. package/lib/components/AreaChart/AreaChart.d.ts +0 -7
  68. package/lib/components/AreaChart/AreaChart.js +0 -10
  69. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  70. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  71. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  72. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  73. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -59
  74. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  75. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  76. package/lib/components/AreaChart/index.d.ts +0 -2
  77. package/lib/components/AreaChart/index.js +0 -3
  78. package/lib/components/AreaChart/index.js.map +0 -1
  79. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  80. package/lib/components/CommonComponents/CartesianChart.base.js +0 -598
  81. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  82. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -7
  83. package/lib/components/CommonComponents/CartesianChart.js +0 -9
  84. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  85. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  86. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -177
  87. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  88. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  89. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  90. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  91. package/lib/components/CommonComponents/index.d.ts +0 -2
  92. package/lib/components/CommonComponents/index.js +0 -3
  93. package/lib/components/CommonComponents/index.js.map +0 -1
  94. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
  95. package/lib/components/DonutChart/Arc/Arc.js +0 -101
  96. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  97. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  98. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -35
  99. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  100. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  101. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  102. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  103. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  104. package/lib/components/DonutChart/Arc/index.js +0 -3
  105. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  106. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -54
  107. package/lib/components/DonutChart/DonutChart.base.js +0 -254
  108. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  109. package/lib/components/DonutChart/DonutChart.d.ts +0 -7
  110. package/lib/components/DonutChart/DonutChart.js +0 -10
  111. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  112. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  113. package/lib/components/DonutChart/DonutChart.styles.js +0 -30
  114. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  115. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -85
  116. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  117. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  118. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
  119. package/lib/components/DonutChart/Pie/Pie.js +0 -75
  120. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  121. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  122. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
  123. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  124. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  125. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  126. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  127. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  128. package/lib/components/DonutChart/Pie/index.js +0 -3
  129. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  130. package/lib/components/DonutChart/index.d.ts +0 -3
  131. package/lib/components/DonutChart/index.js +0 -4
  132. package/lib/components/DonutChart/index.js.map +0 -1
  133. package/lib/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  134. package/lib/components/GaugeChart/GaugeChart.base.js +0 -438
  135. package/lib/components/GaugeChart/GaugeChart.base.js.map +0 -1
  136. package/lib/components/GaugeChart/GaugeChart.d.ts +0 -7
  137. package/lib/components/GaugeChart/GaugeChart.js +0 -9
  138. package/lib/components/GaugeChart/GaugeChart.js.map +0 -1
  139. package/lib/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  140. package/lib/components/GaugeChart/GaugeChart.styles.js +0 -126
  141. package/lib/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  142. package/lib/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  143. package/lib/components/GaugeChart/GaugeChart.types.js +0 -17
  144. package/lib/components/GaugeChart/GaugeChart.types.js.map +0 -1
  145. package/lib/components/GaugeChart/index.d.ts +0 -2
  146. package/lib/components/GaugeChart/index.js +0 -3
  147. package/lib/components/GaugeChart/index.js.map +0 -1
  148. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  149. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -453
  150. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  151. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  152. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -10
  153. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  154. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  155. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
  156. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  157. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  158. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  159. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  160. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  161. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  162. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  163. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  164. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -545
  165. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  166. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  167. package/lib/components/HeatMapChart/HeatMapChart.js +0 -9
  168. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  169. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  170. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
  171. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  172. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  173. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  174. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  175. package/lib/components/HeatMapChart/index.d.ts +0 -2
  176. package/lib/components/HeatMapChart/index.js +0 -3
  177. package/lib/components/HeatMapChart/index.js.map +0 -1
  178. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  179. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -291
  180. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  181. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  182. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -10
  183. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  184. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  185. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -66
  186. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  187. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  188. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -9
  189. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  190. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  191. package/lib/components/HorizontalBarChart/index.js +0 -4
  192. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  193. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  194. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -550
  195. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  196. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  197. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -10
  198. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  199. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  200. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -12
  201. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  202. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  203. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -2
  204. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  205. package/lib/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  206. package/lib/components/HorizontalBarChartWithAxis/index.js +0 -3
  207. package/lib/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  208. package/lib/components/Legends/Legends.base.d.ts +0 -43
  209. package/lib/components/Legends/Legends.base.js +0 -311
  210. package/lib/components/Legends/Legends.base.js.map +0 -1
  211. package/lib/components/Legends/Legends.d.ts +0 -7
  212. package/lib/components/Legends/Legends.js +0 -9
  213. package/lib/components/Legends/Legends.js.map +0 -1
  214. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  215. package/lib/components/Legends/Legends.styles.js +0 -107
  216. package/lib/components/Legends/Legends.styles.js.map +0 -1
  217. package/lib/components/Legends/Legends.types.d.ts +0 -210
  218. package/lib/components/Legends/Legends.types.js +0 -2
  219. package/lib/components/Legends/Legends.types.js.map +0 -1
  220. package/lib/components/Legends/index.d.ts +0 -3
  221. package/lib/components/Legends/index.js +0 -4
  222. package/lib/components/Legends/index.js.map +0 -1
  223. package/lib/components/Legends/shape.d.ts +0 -9
  224. package/lib/components/Legends/shape.js +0 -24
  225. package/lib/components/Legends/shape.js.map +0 -1
  226. package/lib/components/LineChart/LineChart.base.d.ts +0 -92
  227. package/lib/components/LineChart/LineChart.base.js +0 -867
  228. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  229. package/lib/components/LineChart/LineChart.d.ts +0 -7
  230. package/lib/components/LineChart/LineChart.js +0 -10
  231. package/lib/components/LineChart/LineChart.js.map +0 -1
  232. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  233. package/lib/components/LineChart/LineChart.styles.js +0 -7
  234. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  235. package/lib/components/LineChart/LineChart.types.d.ts +0 -98
  236. package/lib/components/LineChart/LineChart.types.js +0 -2
  237. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  238. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  239. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -96
  240. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  241. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  242. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  243. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  244. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  245. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  246. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  247. package/lib/components/LineChart/index.d.ts +0 -3
  248. package/lib/components/LineChart/index.js +0 -4
  249. package/lib/components/LineChart/index.js.map +0 -1
  250. package/lib/components/PieChart/Arc/Arc.d.ts +0 -17
  251. package/lib/components/PieChart/Arc/Arc.js +0 -88
  252. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  253. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  254. package/lib/components/PieChart/Arc/Arc.styles.js +0 -11
  255. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  256. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -73
  257. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  258. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  259. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  260. package/lib/components/PieChart/Arc/index.js +0 -3
  261. package/lib/components/PieChart/Arc/index.js.map +0 -1
  262. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  263. package/lib/components/PieChart/Pie/Pie.js +0 -45
  264. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  265. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  266. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  267. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  268. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -47
  269. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  270. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  271. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  272. package/lib/components/PieChart/Pie/index.js +0 -3
  273. package/lib/components/PieChart/Pie/index.js.map +0 -1
  274. package/lib/components/PieChart/PieChart.base.d.ts +0 -10
  275. package/lib/components/PieChart/PieChart.base.js +0 -45
  276. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  277. package/lib/components/PieChart/PieChart.d.ts +0 -7
  278. package/lib/components/PieChart/PieChart.js +0 -10
  279. package/lib/components/PieChart/PieChart.js.map +0 -1
  280. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  281. package/lib/components/PieChart/PieChart.styles.js +0 -29
  282. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  283. package/lib/components/PieChart/PieChart.types.d.ts +0 -75
  284. package/lib/components/PieChart/PieChart.types.js +0 -2
  285. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  286. package/lib/components/PieChart/index.d.ts +0 -2
  287. package/lib/components/PieChart/index.js +0 -3
  288. package/lib/components/PieChart/index.js.map +0 -1
  289. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  290. package/lib/components/SankeyChart/SankeyChart.base.js +0 -932
  291. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  292. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -7
  293. package/lib/components/SankeyChart/SankeyChart.js +0 -10
  294. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  295. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  296. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -61
  297. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  298. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  299. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  300. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  301. package/lib/components/SankeyChart/index.d.ts +0 -2
  302. package/lib/components/SankeyChart/index.js +0 -3
  303. package/lib/components/SankeyChart/index.js.map +0 -1
  304. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -23
  305. package/lib/components/Sparkline/Sparkline.base.js +0 -86
  306. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  307. package/lib/components/Sparkline/Sparkline.d.ts +0 -7
  308. package/lib/components/Sparkline/Sparkline.js +0 -10
  309. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  310. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  311. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  312. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  313. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -59
  314. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  315. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  316. package/lib/components/Sparkline/index.d.ts +0 -2
  317. package/lib/components/Sparkline/index.js +0 -3
  318. package/lib/components/Sparkline/index.js.map +0 -1
  319. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  320. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -436
  321. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  322. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  323. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -10
  324. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  325. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  326. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -86
  327. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  328. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  329. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -9
  330. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  331. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  332. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -364
  333. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  334. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  335. package/lib/components/StackedBarChart/StackedBarChart.js +0 -10
  336. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  337. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  338. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -103
  339. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  340. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  341. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  342. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  343. package/lib/components/StackedBarChart/index.d.ts +0 -5
  344. package/lib/components/StackedBarChart/index.js +0 -6
  345. package/lib/components/StackedBarChart/index.js.map +0 -1
  346. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  347. package/lib/components/TreeChart/TreeChart.base.js +0 -322
  348. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  349. package/lib/components/TreeChart/TreeChart.d.ts +0 -7
  350. package/lib/components/TreeChart/TreeChart.js +0 -9
  351. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  352. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  353. package/lib/components/TreeChart/TreeChart.styles.js +0 -29
  354. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  355. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -216
  356. package/lib/components/TreeChart/TreeChart.types.js +0 -29
  357. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  358. package/lib/components/TreeChart/index.d.ts +0 -2
  359. package/lib/components/TreeChart/index.js +0 -3
  360. package/lib/components/TreeChart/index.js.map +0 -1
  361. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  362. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -809
  363. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  364. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  365. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -10
  366. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  367. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  368. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
  369. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  370. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  371. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  372. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  373. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  374. package/lib/components/VerticalBarChart/index.js +0 -3
  375. package/lib/components/VerticalBarChart/index.js.map +0 -1
  376. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  377. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -782
  378. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  379. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  380. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -10
  381. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  382. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  383. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
  384. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  385. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  386. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  387. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  388. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  389. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  390. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  391. package/lib/index.d.ts +0 -40
  392. package/lib/index.js +0 -22
  393. package/lib/index.js.map +0 -1
  394. package/lib/types/IDataPoint.d.ts +0 -712
  395. package/lib/types/IDataPoint.js +0 -2
  396. package/lib/types/IDataPoint.js.map +0 -1
  397. package/lib/types/IEventAnnotation.d.ts +0 -6
  398. package/lib/types/IEventAnnotation.js +0 -2
  399. package/lib/types/IEventAnnotation.js.map +0 -1
  400. package/lib/types/ILegendDataItem.d.ts +0 -10
  401. package/lib/types/ILegendDataItem.js +0 -2
  402. package/lib/types/ILegendDataItem.js.map +0 -1
  403. package/lib/types/index.d.ts +0 -2
  404. package/lib/types/index.js +0 -3
  405. package/lib/types/index.js.map +0 -1
  406. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  407. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  408. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  409. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  410. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  411. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  412. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  413. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -98
  414. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  415. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  416. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  417. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  418. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  419. package/lib/utilities/ChartHoverCard/index.js +0 -4
  420. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  421. package/lib/utilities/FocusableTooltipText.d.ts +0 -27
  422. package/lib/utilities/FocusableTooltipText.js +0 -54
  423. package/lib/utilities/FocusableTooltipText.js.map +0 -1
  424. package/lib/utilities/SVGTooltipText.d.ts +0 -95
  425. package/lib/utilities/SVGTooltipText.js +0 -174
  426. package/lib/utilities/SVGTooltipText.js.map +0 -1
  427. package/lib/utilities/colors.d.ts +0 -51
  428. package/lib/utilities/colors.js +0 -132
  429. package/lib/utilities/colors.js.map +0 -1
  430. package/lib/utilities/gradients.d.ts +0 -30
  431. package/lib/utilities/gradients.js +0 -173
  432. package/lib/utilities/gradients.js.map +0 -1
  433. package/lib/utilities/index.d.ts +0 -5
  434. package/lib/utilities/index.js +0 -6
  435. package/lib/utilities/index.js.map +0 -1
  436. package/lib/utilities/locale-util.d.ts +0 -3
  437. package/lib/utilities/locale-util.js +0 -18
  438. package/lib/utilities/locale-util.js.map +0 -1
  439. package/lib/utilities/test-data.d.ts +0 -27
  440. package/lib/utilities/test-data.js +0 -210
  441. package/lib/utilities/test-data.js.map +0 -1
  442. package/lib/utilities/utilities.d.ts +0 -411
  443. package/lib/utilities/utilities.js +0 -1052
  444. package/lib/utilities/utilities.js.map +0 -1
  445. package/lib/utilities/vbc-utils.d.ts +0 -2
  446. package/lib/utilities/vbc-utils.js +0 -31
  447. package/lib/utilities/vbc-utils.js.map +0 -1
  448. package/lib/version.d.ts +0 -1
  449. package/lib/version.js +0 -5
  450. package/lib/version.js.map +0 -1
  451. package/lib-amd/AreaChart.d.ts +0 -1
  452. package/lib-amd/AreaChart.js +0 -6
  453. package/lib-amd/AreaChart.js.map +0 -1
  454. package/lib-amd/CartesianChart.d.ts +0 -1
  455. package/lib-amd/CartesianChart.js +0 -6
  456. package/lib-amd/CartesianChart.js.map +0 -1
  457. package/lib-amd/DonutChart.d.ts +0 -1
  458. package/lib-amd/DonutChart.js +0 -6
  459. package/lib-amd/DonutChart.js.map +0 -1
  460. package/lib-amd/GaugeChart.d.ts +0 -1
  461. package/lib-amd/GaugeChart.js +0 -6
  462. package/lib-amd/GaugeChart.js.map +0 -1
  463. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  464. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  465. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  466. package/lib-amd/HeatMapChart.d.ts +0 -1
  467. package/lib-amd/HeatMapChart.js +0 -6
  468. package/lib-amd/HeatMapChart.js.map +0 -1
  469. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  470. package/lib-amd/HorizontalBarChart.js +0 -6
  471. package/lib-amd/HorizontalBarChart.js.map +0 -1
  472. package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
  473. package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
  474. package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
  475. package/lib-amd/Legends.d.ts +0 -1
  476. package/lib-amd/Legends.js +0 -6
  477. package/lib-amd/Legends.js.map +0 -1
  478. package/lib-amd/LineChart.d.ts +0 -1
  479. package/lib-amd/LineChart.js +0 -6
  480. package/lib-amd/LineChart.js.map +0 -1
  481. package/lib-amd/PieChart.d.ts +0 -1
  482. package/lib-amd/PieChart.js +0 -6
  483. package/lib-amd/PieChart.js.map +0 -1
  484. package/lib-amd/SankeyChart.d.ts +0 -1
  485. package/lib-amd/SankeyChart.js +0 -6
  486. package/lib-amd/SankeyChart.js.map +0 -1
  487. package/lib-amd/Sparkline.d.ts +0 -1
  488. package/lib-amd/Sparkline.js +0 -6
  489. package/lib-amd/Sparkline.js.map +0 -1
  490. package/lib-amd/StackedBarChart.d.ts +0 -1
  491. package/lib-amd/StackedBarChart.js +0 -6
  492. package/lib-amd/StackedBarChart.js.map +0 -1
  493. package/lib-amd/Styling.d.ts +0 -2
  494. package/lib-amd/Styling.js +0 -75
  495. package/lib-amd/Styling.js.map +0 -1
  496. package/lib-amd/TreeChart.d.ts +0 -1
  497. package/lib-amd/TreeChart.js +0 -6
  498. package/lib-amd/TreeChart.js.map +0 -1
  499. package/lib-amd/Utilities.d.ts +0 -2
  500. package/lib-amd/Utilities.js +0 -183
  501. package/lib-amd/Utilities.js.map +0 -1
  502. package/lib-amd/VerticalBarChart.d.ts +0 -1
  503. package/lib-amd/VerticalBarChart.js +0 -6
  504. package/lib-amd/VerticalBarChart.js.map +0 -1
  505. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  506. package/lib-amd/VerticalStackedBarChart.js +0 -6
  507. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  508. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -103
  509. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -652
  510. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  511. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
  512. package/lib-amd/components/AreaChart/AreaChart.js +0 -12
  513. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  514. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  515. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  516. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  517. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -59
  518. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  519. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  520. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  521. package/lib-amd/components/AreaChart/index.js +0 -7
  522. package/lib-amd/components/AreaChart/index.js.map +0 -1
  523. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  524. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -593
  525. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  526. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
  527. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
  528. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  529. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  530. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -180
  531. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  532. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  533. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  534. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  535. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  536. package/lib-amd/components/CommonComponents/index.js +0 -7
  537. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  538. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  539. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -99
  540. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  541. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  542. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -40
  543. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  544. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  545. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  546. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  547. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  548. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  549. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  550. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -54
  551. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -250
  552. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  553. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
  554. package/lib-amd/components/DonutChart/DonutChart.js +0 -12
  555. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  556. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  557. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  558. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  559. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -85
  560. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  561. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  562. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  563. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -73
  564. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  565. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  566. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  567. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  568. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  569. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  570. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  571. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  572. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  573. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  574. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  575. package/lib-amd/components/DonutChart/index.js +0 -8
  576. package/lib-amd/components/DonutChart/index.js.map +0 -1
  577. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  578. package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -434
  579. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
  580. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
  581. package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
  582. package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
  583. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  584. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -130
  585. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  586. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  587. package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
  588. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
  589. package/lib-amd/components/GaugeChart/index.d.ts +0 -2
  590. package/lib-amd/components/GaugeChart/index.js +0 -7
  591. package/lib-amd/components/GaugeChart/index.js.map +0 -1
  592. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  593. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -448
  594. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  595. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  596. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
  597. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  598. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  599. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  600. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  601. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  602. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  603. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  604. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  605. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  606. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  607. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  608. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -538
  609. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  610. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  611. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
  612. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  613. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  614. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  615. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  616. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  617. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  618. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  619. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  620. package/lib-amd/components/HeatMapChart/index.js +0 -7
  621. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  622. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  623. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -287
  624. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  625. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  626. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
  627. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  628. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  629. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  630. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  631. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  632. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
  633. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  634. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  635. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  636. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  637. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  638. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -544
  639. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  640. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  641. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
  642. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  643. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  644. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
  645. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  646. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  647. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
  648. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  649. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  650. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
  651. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  652. package/lib-amd/components/Legends/Legends.base.d.ts +0 -43
  653. package/lib-amd/components/Legends/Legends.base.js +0 -308
  654. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  655. package/lib-amd/components/Legends/Legends.d.ts +0 -7
  656. package/lib-amd/components/Legends/Legends.js +0 -11
  657. package/lib-amd/components/Legends/Legends.js.map +0 -1
  658. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  659. package/lib-amd/components/Legends/Legends.styles.js +0 -111
  660. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  661. package/lib-amd/components/Legends/Legends.types.d.ts +0 -210
  662. package/lib-amd/components/Legends/Legends.types.js +0 -5
  663. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  664. package/lib-amd/components/Legends/index.d.ts +0 -3
  665. package/lib-amd/components/Legends/index.js +0 -8
  666. package/lib-amd/components/Legends/index.js.map +0 -1
  667. package/lib-amd/components/Legends/shape.d.ts +0 -9
  668. package/lib-amd/components/Legends/shape.js +0 -27
  669. package/lib-amd/components/Legends/shape.js.map +0 -1
  670. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -92
  671. package/lib-amd/components/LineChart/LineChart.base.js +0 -861
  672. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  673. package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
  674. package/lib-amd/components/LineChart/LineChart.js +0 -12
  675. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  676. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  677. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  678. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  679. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -98
  680. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  681. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  682. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  683. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  684. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  685. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  686. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
  687. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  688. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  689. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  690. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  691. package/lib-amd/components/LineChart/index.d.ts +0 -3
  692. package/lib-amd/components/LineChart/index.js +0 -8
  693. package/lib-amd/components/LineChart/index.js.map +0 -1
  694. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
  695. package/lib-amd/components/PieChart/Arc/Arc.js +0 -85
  696. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  697. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  698. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
  699. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  700. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
  701. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  702. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  703. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  704. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  705. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  706. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  707. package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
  708. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  709. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  710. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  711. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  712. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
  713. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  714. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  715. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  716. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  717. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  718. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
  719. package/lib-amd/components/PieChart/PieChart.base.js +0 -46
  720. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  721. package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
  722. package/lib-amd/components/PieChart/PieChart.js +0 -12
  723. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  724. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  725. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  726. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  727. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
  728. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  729. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  730. package/lib-amd/components/PieChart/index.d.ts +0 -2
  731. package/lib-amd/components/PieChart/index.js +0 -7
  732. package/lib-amd/components/PieChart/index.js.map +0 -1
  733. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  734. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -930
  735. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  736. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
  737. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
  738. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  739. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  740. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -65
  741. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  742. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  743. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  744. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  745. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  746. package/lib-amd/components/SankeyChart/index.js +0 -7
  747. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  748. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
  749. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
  750. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  751. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
  752. package/lib-amd/components/Sparkline/Sparkline.js +0 -12
  753. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  754. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  755. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  756. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  757. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
  758. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  759. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  760. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  761. package/lib-amd/components/Sparkline/index.js +0 -7
  762. package/lib-amd/components/Sparkline/index.js.map +0 -1
  763. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  764. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -431
  765. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  766. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  767. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
  768. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  769. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  770. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
  771. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  772. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  773. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
  774. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  775. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  776. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -360
  777. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  778. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  779. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
  780. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  781. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  782. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  783. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  784. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  785. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  786. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  787. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  788. package/lib-amd/components/StackedBarChart/index.js +0 -10
  789. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  790. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  791. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -320
  792. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  793. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
  794. package/lib-amd/components/TreeChart/TreeChart.js +0 -11
  795. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  796. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  797. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  798. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  799. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
  800. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
  801. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  802. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  803. package/lib-amd/components/TreeChart/index.js +0 -7
  804. package/lib-amd/components/TreeChart/index.js.map +0 -1
  805. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  806. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -803
  807. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  808. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  809. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
  810. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  811. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  812. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  813. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  814. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  815. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  816. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  817. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  818. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  819. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  820. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  821. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -776
  822. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  823. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  824. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
  825. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  826. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  827. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  828. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  829. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  830. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  831. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  832. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  833. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  834. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  835. package/lib-amd/index.d.ts +0 -40
  836. package/lib-amd/index.js +0 -40
  837. package/lib-amd/index.js.map +0 -1
  838. package/lib-amd/types/IDataPoint.d.ts +0 -712
  839. package/lib-amd/types/IDataPoint.js +0 -5
  840. package/lib-amd/types/IDataPoint.js.map +0 -1
  841. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  842. package/lib-amd/types/IEventAnnotation.js +0 -5
  843. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  844. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  845. package/lib-amd/types/ILegendDataItem.js +0 -5
  846. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  847. package/lib-amd/types/index.d.ts +0 -2
  848. package/lib-amd/types/index.js +0 -7
  849. package/lib-amd/types/index.js.map +0 -1
  850. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  851. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  852. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  853. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  854. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  855. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  856. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  857. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
  858. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  859. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  860. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  861. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  862. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  863. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  864. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  865. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  866. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  867. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  868. package/lib-amd/utilities/SVGTooltipText.d.ts +0 -95
  869. package/lib-amd/utilities/SVGTooltipText.js +0 -175
  870. package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
  871. package/lib-amd/utilities/colors.d.ts +0 -51
  872. package/lib-amd/utilities/colors.js +0 -139
  873. package/lib-amd/utilities/colors.js.map +0 -1
  874. package/lib-amd/utilities/gradients.d.ts +0 -30
  875. package/lib-amd/utilities/gradients.js +0 -180
  876. package/lib-amd/utilities/gradients.js.map +0 -1
  877. package/lib-amd/utilities/index.d.ts +0 -5
  878. package/lib-amd/utilities/index.js +0 -10
  879. package/lib-amd/utilities/index.js.map +0 -1
  880. package/lib-amd/utilities/locale-util.d.ts +0 -3
  881. package/lib-amd/utilities/locale-util.js +0 -24
  882. package/lib-amd/utilities/locale-util.js.map +0 -1
  883. package/lib-amd/utilities/test-data.d.ts +0 -27
  884. package/lib-amd/utilities/test-data.js +0 -214
  885. package/lib-amd/utilities/test-data.js.map +0 -1
  886. package/lib-amd/utilities/utilities.d.ts +0 -411
  887. package/lib-amd/utilities/utilities.js +0 -1085
  888. package/lib-amd/utilities/utilities.js.map +0 -1
  889. package/lib-amd/utilities/vbc-utils.d.ts +0 -2
  890. package/lib-amd/utilities/vbc-utils.js +0 -38
  891. package/lib-amd/utilities/vbc-utils.js.map +0 -1
  892. package/lib-amd/version.d.ts +0 -1
  893. package/lib-amd/version.js +0 -6
  894. package/lib-amd/version.js.map +0 -1
  895. package/lib-commonjs/AreaChart.d.ts +0 -1
  896. package/lib-commonjs/AreaChart.js +0 -5
  897. package/lib-commonjs/AreaChart.js.map +0 -1
  898. package/lib-commonjs/CartesianChart.d.ts +0 -1
  899. package/lib-commonjs/CartesianChart.js +0 -5
  900. package/lib-commonjs/CartesianChart.js.map +0 -1
  901. package/lib-commonjs/DonutChart.d.ts +0 -1
  902. package/lib-commonjs/DonutChart.js +0 -5
  903. package/lib-commonjs/DonutChart.js.map +0 -1
  904. package/lib-commonjs/GaugeChart.d.ts +0 -1
  905. package/lib-commonjs/GaugeChart.js +0 -5
  906. package/lib-commonjs/GaugeChart.js.map +0 -1
  907. package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
  908. package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
  909. package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
  910. package/lib-commonjs/HeatMapChart.d.ts +0 -1
  911. package/lib-commonjs/HeatMapChart.js +0 -5
  912. package/lib-commonjs/HeatMapChart.js.map +0 -1
  913. package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
  914. package/lib-commonjs/HorizontalBarChart.js +0 -5
  915. package/lib-commonjs/HorizontalBarChart.js.map +0 -1
  916. package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +0 -1
  917. package/lib-commonjs/HorizontalBarChartWithAxis.js +0 -5
  918. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +0 -1
  919. package/lib-commonjs/Legends.d.ts +0 -1
  920. package/lib-commonjs/Legends.js +0 -5
  921. package/lib-commonjs/Legends.js.map +0 -1
  922. package/lib-commonjs/LineChart.d.ts +0 -1
  923. package/lib-commonjs/LineChart.js +0 -5
  924. package/lib-commonjs/LineChart.js.map +0 -1
  925. package/lib-commonjs/PieChart.d.ts +0 -1
  926. package/lib-commonjs/PieChart.js +0 -5
  927. package/lib-commonjs/PieChart.js.map +0 -1
  928. package/lib-commonjs/SankeyChart.d.ts +0 -1
  929. package/lib-commonjs/SankeyChart.js +0 -5
  930. package/lib-commonjs/SankeyChart.js.map +0 -1
  931. package/lib-commonjs/Sparkline.d.ts +0 -1
  932. package/lib-commonjs/Sparkline.js +0 -5
  933. package/lib-commonjs/Sparkline.js.map +0 -1
  934. package/lib-commonjs/StackedBarChart.d.ts +0 -1
  935. package/lib-commonjs/StackedBarChart.js +0 -5
  936. package/lib-commonjs/StackedBarChart.js.map +0 -1
  937. package/lib-commonjs/Styling.d.ts +0 -2
  938. package/lib-commonjs/Styling.js +0 -75
  939. package/lib-commonjs/Styling.js.map +0 -1
  940. package/lib-commonjs/TreeChart.d.ts +0 -1
  941. package/lib-commonjs/TreeChart.js +0 -5
  942. package/lib-commonjs/TreeChart.js.map +0 -1
  943. package/lib-commonjs/Utilities.d.ts +0 -2
  944. package/lib-commonjs/Utilities.js +0 -185
  945. package/lib-commonjs/Utilities.js.map +0 -1
  946. package/lib-commonjs/VerticalBarChart.d.ts +0 -1
  947. package/lib-commonjs/VerticalBarChart.js +0 -5
  948. package/lib-commonjs/VerticalBarChart.js.map +0 -1
  949. package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
  950. package/lib-commonjs/VerticalStackedBarChart.js +0 -5
  951. package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
  952. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -103
  953. package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -662
  954. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
  955. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -7
  956. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -13
  957. package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
  958. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
  959. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
  960. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
  961. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -59
  962. package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
  963. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
  964. package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
  965. package/lib-commonjs/components/AreaChart/index.js +0 -6
  966. package/lib-commonjs/components/AreaChart/index.js.map +0 -1
  967. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  968. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -601
  969. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
  970. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -7
  971. package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -12
  972. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
  973. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  974. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -181
  975. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  976. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  977. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
  978. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
  979. package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
  980. package/lib-commonjs/components/CommonComponents/index.js +0 -6
  981. package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
  982. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -21
  983. package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -104
  984. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
  985. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  986. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -39
  987. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  988. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  989. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
  990. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
  991. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
  992. package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
  993. package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
  994. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -54
  995. package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -257
  996. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
  997. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -7
  998. package/lib-commonjs/components/DonutChart/DonutChart.js +0 -13
  999. package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
  1000. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
  1001. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -34
  1002. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
  1003. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -85
  1004. package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
  1005. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
  1006. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -15
  1007. package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -78
  1008. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
  1009. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  1010. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -23
  1011. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  1012. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  1013. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
  1014. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
  1015. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
  1016. package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
  1017. package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
  1018. package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
  1019. package/lib-commonjs/components/DonutChart/index.js +0 -7
  1020. package/lib-commonjs/components/DonutChart/index.js.map +0 -1
  1021. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  1022. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +0 -444
  1023. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +0 -1
  1024. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +0 -7
  1025. package/lib-commonjs/components/GaugeChart/GaugeChart.js +0 -12
  1026. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +0 -1
  1027. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  1028. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +0 -130
  1029. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  1030. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  1031. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +0 -20
  1032. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +0 -1
  1033. package/lib-commonjs/components/GaugeChart/index.d.ts +0 -2
  1034. package/lib-commonjs/components/GaugeChart/index.js +0 -6
  1035. package/lib-commonjs/components/GaugeChart/index.js.map +0 -1
  1036. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  1037. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -456
  1038. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  1039. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  1040. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -13
  1041. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  1042. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  1043. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  1044. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  1045. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  1046. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
  1047. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  1048. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
  1049. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
  1050. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
  1051. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  1052. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -548
  1053. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  1054. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  1055. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -12
  1056. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
  1057. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  1058. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -28
  1059. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  1060. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  1061. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
  1062. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  1063. package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
  1064. package/lib-commonjs/components/HeatMapChart/index.js +0 -6
  1065. package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
  1066. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  1067. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -294
  1068. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  1069. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  1070. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -13
  1071. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  1072. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  1073. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -70
  1074. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  1075. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  1076. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -12
  1077. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  1078. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
  1079. package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
  1080. package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
  1081. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  1082. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -553
  1083. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  1084. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  1085. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -13
  1086. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  1087. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  1088. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -16
  1089. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  1090. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  1091. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -3
  1092. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  1093. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  1094. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +0 -6
  1095. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  1096. package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -43
  1097. package/lib-commonjs/components/Legends/Legends.base.js +0 -314
  1098. package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
  1099. package/lib-commonjs/components/Legends/Legends.d.ts +0 -7
  1100. package/lib-commonjs/components/Legends/Legends.js +0 -12
  1101. package/lib-commonjs/components/Legends/Legends.js.map +0 -1
  1102. package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -2
  1103. package/lib-commonjs/components/Legends/Legends.styles.js +0 -111
  1104. package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
  1105. package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -210
  1106. package/lib-commonjs/components/Legends/Legends.types.js +0 -3
  1107. package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
  1108. package/lib-commonjs/components/Legends/index.d.ts +0 -3
  1109. package/lib-commonjs/components/Legends/index.js +0 -7
  1110. package/lib-commonjs/components/Legends/index.js.map +0 -1
  1111. package/lib-commonjs/components/Legends/shape.d.ts +0 -9
  1112. package/lib-commonjs/components/Legends/shape.js +0 -28
  1113. package/lib-commonjs/components/Legends/shape.js.map +0 -1
  1114. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -92
  1115. package/lib-commonjs/components/LineChart/LineChart.base.js +0 -870
  1116. package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
  1117. package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -7
  1118. package/lib-commonjs/components/LineChart/LineChart.js +0 -13
  1119. package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
  1120. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
  1121. package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
  1122. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
  1123. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -98
  1124. package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
  1125. package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
  1126. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  1127. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -100
  1128. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  1129. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  1130. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -44
  1131. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  1132. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  1133. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -41
  1134. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  1135. package/lib-commonjs/components/LineChart/index.d.ts +0 -3
  1136. package/lib-commonjs/components/LineChart/index.js +0 -7
  1137. package/lib-commonjs/components/LineChart/index.js.map +0 -1
  1138. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -17
  1139. package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -91
  1140. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
  1141. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  1142. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -15
  1143. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
  1144. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -73
  1145. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
  1146. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
  1147. package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
  1148. package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
  1149. package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
  1150. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
  1151. package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -48
  1152. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
  1153. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  1154. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
  1155. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
  1156. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -47
  1157. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
  1158. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
  1159. package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
  1160. package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
  1161. package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
  1162. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -10
  1163. package/lib-commonjs/components/PieChart/PieChart.base.js +0 -48
  1164. package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
  1165. package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -7
  1166. package/lib-commonjs/components/PieChart/PieChart.js +0 -13
  1167. package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
  1168. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
  1169. package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
  1170. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
  1171. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -75
  1172. package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
  1173. package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
  1174. package/lib-commonjs/components/PieChart/index.d.ts +0 -2
  1175. package/lib-commonjs/components/PieChart/index.js +0 -6
  1176. package/lib-commonjs/components/PieChart/index.js.map +0 -1
  1177. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  1178. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -938
  1179. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
  1180. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -7
  1181. package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -13
  1182. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
  1183. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  1184. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -65
  1185. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  1186. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  1187. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
  1188. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
  1189. package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
  1190. package/lib-commonjs/components/SankeyChart/index.js +0 -6
  1191. package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
  1192. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -23
  1193. package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -89
  1194. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
  1195. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -7
  1196. package/lib-commonjs/components/Sparkline/Sparkline.js +0 -13
  1197. package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
  1198. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
  1199. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
  1200. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
  1201. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -59
  1202. package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
  1203. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
  1204. package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
  1205. package/lib-commonjs/components/Sparkline/index.js +0 -6
  1206. package/lib-commonjs/components/Sparkline/index.js.map +0 -1
  1207. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  1208. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -439
  1209. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  1210. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  1211. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -13
  1212. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  1213. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  1214. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
  1215. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  1216. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  1217. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -12
  1218. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  1219. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  1220. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -367
  1221. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  1222. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  1223. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -13
  1224. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
  1225. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  1226. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  1227. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  1228. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  1229. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
  1230. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  1231. package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
  1232. package/lib-commonjs/components/StackedBarChart/index.js +0 -9
  1233. package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
  1234. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
  1235. package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -325
  1236. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
  1237. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -7
  1238. package/lib-commonjs/components/TreeChart/TreeChart.js +0 -12
  1239. package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
  1240. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
  1241. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -33
  1242. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
  1243. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -216
  1244. package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -32
  1245. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
  1246. package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
  1247. package/lib-commonjs/components/TreeChart/index.js +0 -6
  1248. package/lib-commonjs/components/TreeChart/index.js.map +0 -1
  1249. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  1250. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -812
  1251. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  1252. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  1253. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -13
  1254. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  1255. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  1256. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  1257. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  1258. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  1259. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
  1260. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  1261. package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
  1262. package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
  1263. package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
  1264. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  1265. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -785
  1266. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  1267. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  1268. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -13
  1269. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  1270. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  1271. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  1272. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  1273. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  1274. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
  1275. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  1276. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
  1277. package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
  1278. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
  1279. package/lib-commonjs/index.d.ts +0 -40
  1280. package/lib-commonjs/index.js +0 -59
  1281. package/lib-commonjs/index.js.map +0 -1
  1282. package/lib-commonjs/types/IDataPoint.d.ts +0 -712
  1283. package/lib-commonjs/types/IDataPoint.js +0 -3
  1284. package/lib-commonjs/types/IDataPoint.js.map +0 -1
  1285. package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
  1286. package/lib-commonjs/types/IEventAnnotation.js +0 -3
  1287. package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
  1288. package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
  1289. package/lib-commonjs/types/ILegendDataItem.js +0 -3
  1290. package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
  1291. package/lib-commonjs/types/index.d.ts +0 -2
  1292. package/lib-commonjs/types/index.js +0 -6
  1293. package/lib-commonjs/types/index.js.map +0 -1
  1294. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  1295. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
  1296. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  1297. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  1298. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
  1299. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  1300. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  1301. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -102
  1302. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  1303. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  1304. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
  1305. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  1306. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
  1307. package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
  1308. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
  1309. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +0 -27
  1310. package/lib-commonjs/utilities/FocusableTooltipText.js +0 -57
  1311. package/lib-commonjs/utilities/FocusableTooltipText.js.map +0 -1
  1312. package/lib-commonjs/utilities/SVGTooltipText.d.ts +0 -95
  1313. package/lib-commonjs/utilities/SVGTooltipText.js +0 -177
  1314. package/lib-commonjs/utilities/SVGTooltipText.js.map +0 -1
  1315. package/lib-commonjs/utilities/colors.d.ts +0 -51
  1316. package/lib-commonjs/utilities/colors.js +0 -137
  1317. package/lib-commonjs/utilities/colors.js.map +0 -1
  1318. package/lib-commonjs/utilities/gradients.d.ts +0 -30
  1319. package/lib-commonjs/utilities/gradients.js +0 -178
  1320. package/lib-commonjs/utilities/gradients.js.map +0 -1
  1321. package/lib-commonjs/utilities/index.d.ts +0 -5
  1322. package/lib-commonjs/utilities/index.js +0 -9
  1323. package/lib-commonjs/utilities/index.js.map +0 -1
  1324. package/lib-commonjs/utilities/locale-util.d.ts +0 -3
  1325. package/lib-commonjs/utilities/locale-util.js +0 -22
  1326. package/lib-commonjs/utilities/locale-util.js.map +0 -1
  1327. package/lib-commonjs/utilities/test-data.d.ts +0 -27
  1328. package/lib-commonjs/utilities/test-data.js +0 -213
  1329. package/lib-commonjs/utilities/test-data.js.map +0 -1
  1330. package/lib-commonjs/utilities/utilities.d.ts +0 -411
  1331. package/lib-commonjs/utilities/utilities.js +0 -1092
  1332. package/lib-commonjs/utilities/utilities.js.map +0 -1
  1333. package/lib-commonjs/utilities/vbc-utils.d.ts +0 -2
  1334. package/lib-commonjs/utilities/vbc-utils.js +0 -36
  1335. package/lib-commonjs/utilities/vbc-utils.js.map +0 -1
  1336. package/lib-commonjs/version.d.ts +0 -1
  1337. package/lib-commonjs/version.js +0 -7
  1338. package/lib-commonjs/version.js.map +0 -1
@@ -1,938 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SankeyChartBase = exports.preRenderLayout = exports.adjustPadding = exports.groupNodesByColumn = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_focus_1 = require("@fluentui/react-focus");
6
- var Callout_1 = require("@fluentui/react/lib/Callout");
7
- var Utilities_1 = require("@fluentui/react/lib/Utilities");
8
- var d3_array_1 = require("d3-array");
9
- var d3_sankey_1 = require("d3-sankey");
10
- var d3_selection_1 = require("d3-selection");
11
- var d3_shape_1 = require("d3-shape");
12
- var React = require("react");
13
- var ChartHoverCard_1 = require("../../utilities/ChartHoverCard/ChartHoverCard");
14
- var getClassNames = (0, Utilities_1.classNamesFunction)();
15
- var PADDING_PERCENTAGE = 0.3;
16
- var NON_SELECTED_NODE_AND_STREAM_COLOR = '#757575';
17
- var DEFAULT_NODE_COLORS = [
18
- { fillColor: '#00758F', borderColor: '#002E39' },
19
- { fillColor: '#77004D', borderColor: '#43002C' },
20
- { fillColor: '#4F6BED', borderColor: '#3B52B4' },
21
- { fillColor: '#937600', borderColor: '#6D5700' },
22
- { fillColor: '#286EA8', borderColor: '#00457E' },
23
- { fillColor: '#A43FB1', borderColor: '#7C158A' },
24
- { fillColor: '#CC3595', borderColor: '#7F215D' },
25
- { fillColor: '#0E7878', borderColor: '#004E4E' },
26
- { fillColor: '#8764B8', borderColor: '#4B3867' },
27
- { fillColor: '#9C663F', borderColor: '#6D4123' },
28
- ];
29
- var MIN_HEIGHT_FOR_DOUBLINE_TYPE = 36;
30
- var MIN_HEIGHT_FOR_TYPE = 24;
31
- var REST_STREAM_OPACITY = 1;
32
- var NON_SELECTED_OPACITY = 1;
33
- var SELECTED_STREAM_OPACITY = 0.3;
34
- var NON_SELECTED_STREAM_BORDER_OPACITY = 0.5;
35
- var DEFAULT_TEXT_COLOR = '#323130';
36
- var NON_SELECTED_TEXT_COLOR = '#FFFFFF';
37
- var NODE_WIDTH = 124;
38
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
39
- function getSelectedNodes(selectedLinks) {
40
- var nodes = [];
41
- selectedLinks.forEach(function (link) {
42
- nodes.push(link.target);
43
- if (nodes.indexOf(link.source) === -1) {
44
- nodes.push(link.source);
45
- }
46
- });
47
- return nodes;
48
- }
49
- function getSelectedLinks(singleNode) {
50
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, no-array-constructor
51
- var q = new Array();
52
- var finalLinks = new Set();
53
- singleNode.sourceLinks.forEach(function (link) {
54
- q.push(link);
55
- finalLinks.add(link);
56
- });
57
- while (q.length > 0) {
58
- var poppedLink = q.shift();
59
- var node = poppedLink.target;
60
- if (node && node.sourceLinks) {
61
- node.sourceLinks.forEach(function (link) {
62
- finalLinks.add(link);
63
- q.push(link);
64
- });
65
- }
66
- }
67
- if (singleNode.targetLinks) {
68
- singleNode.targetLinks.forEach(function (link) {
69
- q.push(link);
70
- finalLinks.add(link);
71
- });
72
- }
73
- while (q.length > 0) {
74
- var poppedLink = q.shift();
75
- var node = poppedLink.source;
76
- if (node && node.targetLinks) {
77
- node.targetLinks.forEach(function (link) {
78
- finalLinks.add(link);
79
- q.push(link);
80
- });
81
- }
82
- }
83
- return finalLinks;
84
- }
85
- function getSelectedLinksforStreamHover(singleLink) {
86
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, no-array-constructor
87
- var q = new Array();
88
- var finalLinks = new Set();
89
- var finalNodes = new Set();
90
- q.push(singleLink.source);
91
- finalLinks.add(singleLink);
92
- while (q.length > 0) {
93
- var poppedNode = q.shift();
94
- finalNodes.add(poppedNode);
95
- if (poppedNode.targetLinks && poppedNode.targetLinks.length > 0) {
96
- poppedNode.targetLinks.forEach(function (link) {
97
- q.push(link.source);
98
- finalLinks.add(link);
99
- });
100
- }
101
- }
102
- q.push(singleLink.target);
103
- while (q.length > 0) {
104
- var poppedNode = q.shift();
105
- finalNodes.add(poppedNode);
106
- if (poppedNode.sourceLinks && poppedNode.sourceLinks.length > 0) {
107
- poppedNode.sourceLinks.forEach(function (link) {
108
- q.push(link.target);
109
- finalLinks.add(link);
110
- });
111
- }
112
- }
113
- return {
114
- selectedLinks: finalLinks,
115
- selectedNodes: finalNodes,
116
- };
117
- }
118
- /**
119
- * This is used to group nodes by column index.
120
- */
121
- // This is exported for unit tests.
122
- function groupNodesByColumn(graph) {
123
- var nodesInColumn = {};
124
- graph.nodes.forEach(function (node) {
125
- var columnId = node.layer;
126
- if (nodesInColumn[columnId]) {
127
- nodesInColumn[columnId].push(node);
128
- }
129
- else {
130
- nodesInColumn[columnId] = [node];
131
- }
132
- });
133
- return nodesInColumn;
134
- }
135
- exports.groupNodesByColumn = groupNodesByColumn;
136
- /**
137
- * This is used to normalize the nodes value whose value is less than 1% of the total column value.
138
- */
139
- function adjustOnePercentHeightNodes(nodesInColumn, computedNodes, originalLinks) {
140
- var totalColumnValue = Object.values(nodesInColumn).map(function (column) {
141
- return (0, d3_array_1.sum)(column, function (node) { return node.value; });
142
- });
143
- totalColumnValue.forEach(function (columnValue, index) {
144
- var totalPercentage = 0;
145
- var onePercent = 0.01 * columnValue;
146
- var columnNodes = nodesInColumn[index];
147
- columnNodes.forEach(function (node) {
148
- var value = computedNodes[node.nodeId];
149
- var nodePercentage = (value / columnValue) * 100;
150
- node.actualValue = value;
151
- //if the value is less than 1% then we are making it as 1% of total .
152
- if (nodePercentage < 1) {
153
- node.value = onePercent;
154
- totalPercentage = totalPercentage + 1;
155
- }
156
- else {
157
- totalPercentage = totalPercentage + nodePercentage;
158
- }
159
- });
160
- //since we have adjusted the value to be 1% but we need to keep the sum of the percentage value under 100.
161
- var scalingRatio = totalPercentage !== 0 ? totalPercentage / 100 : 1;
162
- if (scalingRatio > 1) {
163
- // Loop through each node in that column and scale that node--and its incoming and outgoing links--by the
164
- // scaling ratio. We need the sankey diagram to re-layout the nodes and links after we do this.
165
- columnNodes.forEach(function (node) {
166
- var normalized = (node.value = node.value / scalingRatio);
167
- // Which Original Value? and Which Normalized Value is needed, here? The Node? The Link? Both?
168
- changeColumnValue(node, computedNodes[node.nodeId], normalized, originalLinks);
169
- });
170
- }
171
- });
172
- }
173
- /**
174
- * This is used for normalizing each link's value to reflect the normalized node value.
175
- */
176
- function changeColumnValue(node, originalNodeValue, normalizedNodeValue, linkValues) {
177
- // For each link in the source and target, compute the proportion that this link contributes to the total
178
- // then adjust the link's value to reflect its proportion of the normalized node value.
179
- var updateLinkValue = function (link) {
180
- var value = linkValue(linkValues, link);
181
- link.unnormalizedValue = value;
182
- var linkRatio = value / originalNodeValue;
183
- link.value = Math.max(normalizedNodeValue * linkRatio, link.value);
184
- };
185
- node.sourceLinks.forEach(updateLinkValue);
186
- node.targetLinks.forEach(updateLinkValue);
187
- }
188
- /**
189
- * This is used for calculating the node non normalized value based on link non normalized value.
190
- * The links have the original weights. Computed nodes have the total weight of all incoming and outgoing links.
191
- */
192
- function populateNodeActualValue(data, computedNodes, originalLinks) {
193
- data.links.forEach(function (link) {
194
- if (!link.unnormalizedValue) {
195
- link.unnormalizedValue = linkValue(originalLinks, link);
196
- }
197
- });
198
- data.nodes.forEach(function (node) {
199
- node.actualValue = computedNodes[node.nodeId];
200
- });
201
- }
202
- /**
203
- * This is used to introduce dynamic padding for cases where the number of nodes in a column is huge
204
- * so that we maintain a node to space ratio for such columns as if we fail to do so the
205
- * chart is devoid of nodes and only shows links.
206
- */
207
- // This is exported for unit tests
208
- function adjustPadding(sankey, height, nodesInColumn) {
209
- var padding = sankey.nodePadding();
210
- var minPadding = PADDING_PERCENTAGE * height;
211
- Object.values(nodesInColumn).forEach(function (column) {
212
- var totalPaddingInColumn = height - (0, d3_array_1.sum)(column, function (node) { return node.y1 - node.y0; });
213
- if (minPadding < totalPaddingInColumn) {
214
- // Here we are calculating the min of default and calculated padding, we will not increase the padding
215
- // in any scenario.
216
- padding = Math.min(padding, minPadding / (column.length - 1));
217
- }
218
- });
219
- sankey.nodePadding(padding);
220
- }
221
- exports.adjustPadding = adjustPadding;
222
- function idFromNumberOrSNode(node) {
223
- if (typeof node === 'number') {
224
- return node;
225
- }
226
- return node.nodeId;
227
- }
228
- /**
229
- * Duplicates the supplied chart data so that we do not alter the original.
230
- * @param data The data to duplicate.
231
- * @returns The duplicated data.
232
- */
233
- function duplicateData(data) {
234
- return {
235
- nodes: data.nodes.map(function (node) { return (tslib_1.__assign({}, node)); }),
236
- links: data.links.map(function (link) { return (tslib_1.__assign({}, link)); }),
237
- };
238
- }
239
- function valuesOfNodes(nodes) {
240
- var result = {};
241
- nodes.forEach(function (node) {
242
- result[node.nodeId] = node.value;
243
- });
244
- return result;
245
- }
246
- function valuesOfLinks(links) {
247
- var result = {};
248
- links.forEach(function (link) {
249
- var sourceId = idFromNumberOrSNode(link.source);
250
- var sourceToTarget = result[sourceId];
251
- if (!sourceToTarget) {
252
- sourceToTarget = {};
253
- result[sourceId] = sourceToTarget;
254
- }
255
- sourceToTarget[idFromNumberOrSNode(link.target)] = link.value;
256
- });
257
- return result;
258
- }
259
- function linkValue(originalLinks, link) {
260
- return originalLinks[idFromNumberOrSNode(link.source)][idFromNumberOrSNode(link.target)];
261
- }
262
- // This is exported for unit tests.
263
- function preRenderLayout(margins, containerWidth, containerHeight, isRtl) {
264
- var left = margins.left, right = margins.right, top = margins.top, bottom = margins.bottom;
265
- var width = containerWidth - right;
266
- var height = containerHeight - bottom > 0 ? containerHeight - bottom : 0;
267
- var sankey = (0, d3_sankey_1.sankey)()
268
- .nodeWidth(NODE_WIDTH)
269
- .extent([
270
- [left, top],
271
- [width - 1, height - 6],
272
- ])
273
- .nodeAlign(isRtl ? d3_sankey_1.sankeyRight : d3_sankey_1.sankeyJustify);
274
- return { sankey: sankey, height: height, width: width };
275
- }
276
- exports.preRenderLayout = preRenderLayout;
277
- var elipsis = '...';
278
- /**
279
- * This is used to assign node fillcolors and borderColor cyclically when the user doesnt
280
- * provide color to individual node.
281
- */
282
- function assignNodeColors(nodes, colorsForNodes, borderColorsForNodes) {
283
- var colors;
284
- var borders;
285
- if (colorsForNodes && borderColorsForNodes) {
286
- colors = colorsForNodes;
287
- borders = borderColorsForNodes;
288
- }
289
- else {
290
- colors = DEFAULT_NODE_COLORS.map(function (color) { return color.fillColor; });
291
- borders = DEFAULT_NODE_COLORS.map(function (color) { return color.borderColor; });
292
- }
293
- var currentIndex = 0;
294
- nodes.forEach(function (node) {
295
- if (!node.color && !node.borderColor) {
296
- node.color = colors[currentIndex];
297
- node.borderColor = borders[currentIndex];
298
- }
299
- else if (node.color && !node.borderColor) {
300
- node.borderColor = '#757575';
301
- }
302
- else if (node.borderColor && !node.color) {
303
- node.color = '#F5F5F5';
304
- }
305
- currentIndex = (currentIndex + 1) % colors.length;
306
- });
307
- }
308
- /**
309
- * Takes in the display name for the node and potentially returns a trimmed version of the name.
310
- * @param tspan the `tspan` element to use for text visual length measurement
311
- * @param text is the text which we will potentially truncate
312
- * @param rectangleWidth is the width of the rectangle which will contain the text
313
- * @param padding is the space we need to leave between the rect lines and other text
314
- * @returns the name to show on the node which might be the truncated `text` if the `text` is too long
315
- */
316
- function truncateText(tspan, text, rectangleWidth, padding) {
317
- // NOTE: This method is the most-expensive in terms of rerendering components.
318
- var textLengthForNodeName = rectangleWidth - padding; // This can likely be computed once and passed in.
319
- // The following `select` statement injects a `tempText` element into the DOM. This injection
320
- // (and subsequent removal) is causing a layout recalculation. This is a performance issue.
321
- // Note that this code will always inject a `tempText` element, but doesn't always remove it. This is a bug.
322
- if (fitsWithinNode(tspan, text, textLengthForNodeName)) {
323
- return text;
324
- }
325
- // Computing the size of elipsis is performed with each node. This should be computed once and used everywhere.
326
- // TODO: Compute the size of the elipsis once and use it everywhere.
327
- var elipsisLength = computeElipsisLength(tspan);
328
- var line = '';
329
- // Calculate how much of the original text to show.
330
- // TODO: The folllowing is O(n). We could use a binary search to make this faster: O(log(n)).
331
- for (var i = 0; i < text.length; i++) {
332
- line += text[i];
333
- tspan.text(line);
334
- var currentNode = tspan.node();
335
- if (currentNode !== null) {
336
- var w = currentNode.getComputedTextLength();
337
- if (w >= textLengthForNodeName - elipsisLength) {
338
- line = line.slice(0, -1);
339
- line += elipsis;
340
- break;
341
- }
342
- }
343
- }
344
- tspan.text(null);
345
- return line;
346
- }
347
- function fitsWithinNode(tspan, text, textLengthForNodeName) {
348
- var measurement = measureText(tspan, text);
349
- if (measurement === undefined) {
350
- return false;
351
- }
352
- return measurement <= textLengthForNodeName;
353
- }
354
- function measureText(tspan, text) {
355
- var _a;
356
- try {
357
- tspan.text(text);
358
- return (_a = tspan.node()) === null || _a === void 0 ? void 0 : _a.getComputedTextLength();
359
- }
360
- finally {
361
- tspan.text(null);
362
- }
363
- }
364
- function computeElipsisLength(tspan) {
365
- var measurement = measureText(tspan, elipsis);
366
- return measurement === undefined ? 0 : measurement;
367
- }
368
- function computeLinkAttributes(links, linkFrom, linkAriaLabel) {
369
- var result = {};
370
- links.forEach(function (link) {
371
- var sourceId = idFromNumberOrSNode(link.source);
372
- var sourceToTarget = result[sourceId];
373
- if (!sourceToTarget) {
374
- sourceToTarget = {};
375
- result[sourceId] = sourceToTarget;
376
- }
377
- sourceToTarget[idFromNumberOrSNode(link.target)] = {
378
- reactId: (0, Utilities_1.getId)('link'),
379
- from: linkFrom(link.source),
380
- aria: linkAriaLabel(link),
381
- };
382
- });
383
- return result;
384
- }
385
- var linkToDataPoints = function (d) {
386
- var halfWidth = d.width * 0.5;
387
- var y0 = d.y0;
388
- var y1 = d.y1;
389
- return [
390
- { x: d.source.x1, y0: y0 + halfWidth, y1: y0 - halfWidth },
391
- { x: d.target.x0, y0: y1 + halfWidth, y1: y1 - halfWidth },
392
- ];
393
- };
394
- var linkArea = (0, d3_shape_1.area)()
395
- .x(function (p) { return p.x; })
396
- .y0(function (p) { return p.y0; })
397
- .y1(function (p) { return p.y1; })
398
- .curve(d3_shape_1.curveBumpX);
399
- function nodeTextColor(state, singleNode) {
400
- return !(!state.selectedState ||
401
- (state.selectedNodes.has(singleNode.index) && state.selectedNode) ||
402
- !state.selectedNode)
403
- ? DEFAULT_TEXT_COLOR
404
- : NON_SELECTED_TEXT_COLOR;
405
- }
406
- // NOTE: To start employing React.useMemo properly, we need to convert this code from a React.Component
407
- // to a function component. This will require a significant refactor of the code in this file.
408
- // https://stackoverflow.com/questions/60223362/fast-way-to-convert-react-class-component-to-functional-component
409
- // I am concerned that doing so would break this contract, making it difficult for consuming code.
410
- var SankeyChartBase = exports.SankeyChartBase = /** @class */ (function (_super) {
411
- tslib_1.__extends(SankeyChartBase, _super);
412
- function SankeyChartBase(props) {
413
- var _this = _super.call(this, props) || this;
414
- _this._isRtl = (0, Utilities_1.getRTL)();
415
- _this._numColumns = 0;
416
- _this._onCloseCallout = function () {
417
- _this.setState({
418
- isCalloutVisible: false,
419
- refSelected: undefined,
420
- descriptionMessage: '',
421
- });
422
- };
423
- _this._onBlur = function () {
424
- /**/
425
- };
426
- _this._fillNodeColors = function (singleNode) {
427
- var state = _this.state;
428
- if (!state.selectedState) {
429
- return singleNode.color;
430
- }
431
- else {
432
- var selectedNode = state.selectedNode;
433
- if (selectedNode && state.selectedNodes.has(singleNode.index)) {
434
- return selectedNode.color;
435
- }
436
- else if (!selectedNode) {
437
- return singleNode.color;
438
- }
439
- }
440
- };
441
- _this._fillNodeBorder = function (singleNode) {
442
- var state = _this.state;
443
- if (!state.selectedState) {
444
- return singleNode.borderColor;
445
- }
446
- else {
447
- if (state.selectedNodes.has(singleNode.index)) {
448
- var selectedNode = state.selectedNode;
449
- return selectedNode ? selectedNode.borderColor : singleNode.borderColor;
450
- }
451
- return singleNode.borderColor;
452
- }
453
- };
454
- _this._calculateChartMinWidth = function () {
455
- return (_this._margins.left +
456
- _this._margins.right +
457
- // total width of all node columns
458
- _this._numColumns * NODE_WIDTH +
459
- // minimum total width of all column gaps
460
- (_this._numColumns - 1) * (NODE_WIDTH / 2));
461
- };
462
- _this.state = {
463
- containerHeight: 468,
464
- containerWidth: 912,
465
- selectedState: false,
466
- selectedLinks: new Set(),
467
- selectedNodes: new Set(),
468
- shouldOverflow: false,
469
- isCalloutVisible: false,
470
- };
471
- _this._calloutId = (0, Utilities_1.getId)('callout');
472
- _this._linkId = (0, Utilities_1.getId)('link');
473
- _this._chartId = (0, Utilities_1.getId)('sankeyChart');
474
- _this._emptyChartId = (0, Utilities_1.getId)('_SankeyChart_empty');
475
- _this._labelTooltipId = (0, Utilities_1.getId)('tooltip');
476
- _this._margins = { top: 36, right: 48, bottom: 32, left: 48 };
477
- // We memo-ize creation so that we only create a new object when any of the fields change.
478
- _this._computeClassNamesProps = (0, Utilities_1.memoizeFunction)(function (theme, pathColor, className, containerWidth, containerHeight) { return ({
479
- theme: theme,
480
- width: containerWidth,
481
- height: containerHeight,
482
- pathColor: pathColor,
483
- className: className,
484
- }); });
485
- // `getClassNames` is memoized underneath, so it only recomputes when the `styles` or `classNamesProps` change.
486
- // We memoize `classNamesProps` so that we only create new class names when absolutely necessary,
487
- // and so that we can memoize the `_createNodes` method.
488
- _this._computeClassNames = (0, Utilities_1.memoizeFunction)(function (styles, classNamesProps) { return getClassNames(styles, classNamesProps); });
489
- _this._normalizeData = (0, Utilities_1.memoizeFunction)(function (data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes) { return _this._normalizeSankeyData(data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes); });
490
- _this._fetchTooltip = (0, Utilities_1.memoizeFunction)(function (classNames) {
491
- return _this._labelTooltipDiv(classNames);
492
- });
493
- // Prepare the localization utilities
494
- _this._strings = (0, Utilities_1.memoizeFunction)(function (strings) {
495
- var fromString = (strings === null || strings === void 0 ? void 0 : strings.linkFrom) || 'From {0}';
496
- // NOTE: The `node` parameter is the sankey-generated node on the link, and not the original `node` supplied
497
- // by the caller.
498
- return {
499
- linkFrom: function (node) { return (0, Utilities_1.format)(fromString, node.name); },
500
- };
501
- })(props.strings);
502
- _this._accessibility = (0, Utilities_1.memoizeFunction)(function (accessibility) {
503
- var linkString = (accessibility === null || accessibility === void 0 ? void 0 : accessibility.linkAriaLabel) || 'link from {0} to {1} with weight {2}';
504
- var nodeString = (accessibility === null || accessibility === void 0 ? void 0 : accessibility.nodeAriaLabel) || 'node {0} with weight {1}';
505
- return {
506
- emptyAriaLabel: (accessibility === null || accessibility === void 0 ? void 0 : accessibility.emptyAriaLabel) || 'Graph has no data to display',
507
- linkAriaLabel: function (link) {
508
- return (0, Utilities_1.format)(linkString, link.source.name, link.target.name, link.unnormalizedValue ? _this._formatNumber(link.unnormalizedValue) : link.unnormalizedValue);
509
- },
510
- nodeAriaLabel: function (node, weight) { return (0, Utilities_1.format)(nodeString, node.name, _this._formatNumber(weight)); },
511
- };
512
- })(props.accessibility);
513
- // NOTE: Memoizing the `_createNodes` and `_createLinks` methods would break the hoverability of the chart
514
- // because the nodes are currently created differently based on the layout information. Hence why we do not
515
- // memoize these methods (but have stubs for memoizing as the `_fetchNodes` and `_fetchLinks` methods).
516
- _this._nodeAttributes = (0, Utilities_1.memoizeFunction)(function (nodes, nodeAriaLabel) {
517
- return _this._computeNodeAttributes(nodes, nodeAriaLabel);
518
- });
519
- _this._fetchNodes = function (classNames, nodes, nodeAttributes, tooltipDiv) { return _this._createNodes(classNames, nodes, nodeAttributes, tooltipDiv); };
520
- _this._linkAttributes = (0, Utilities_1.memoizeFunction)(function (links, linkFrom, linkAriaLabel) {
521
- return computeLinkAttributes(links, linkFrom, linkAriaLabel);
522
- });
523
- _this._fetchLinks = function (links, linkAttributes) {
524
- return _this._createLinks(links, linkAttributes);
525
- };
526
- return _this;
527
- // Our shorter path to performance is to pre-compute the truncated labels of each node because
528
- // that should not change based on the position of the mouse. This is a shorter path becase the code which
529
- // computes the truncated labels creates and destroys a `tempText` element in the DOM. This is causing a
530
- // reflow and repaint of the entire chart. This is a performance issue, and so computing the truncated labels
531
- // once will help to mitigate this issue.
532
- }
533
- SankeyChartBase.prototype.componentDidMount = function () {
534
- this._fitParentContainer();
535
- };
536
- SankeyChartBase.prototype.componentDidUpdate = function (prevProps) {
537
- if (prevProps.shouldResize !== this.props.shouldResize) {
538
- this._fitParentContainer();
539
- }
540
- };
541
- SankeyChartBase.prototype.componentWillUnmount = function () {
542
- cancelAnimationFrame(this._reqID);
543
- };
544
- SankeyChartBase.prototype.render = function () {
545
- var _a, _b;
546
- var _this = this;
547
- if (!this._isChartEmpty()) {
548
- var theme = (_a = this.props, _a.theme), className = _a.className, styles = _a.styles, pathColor = _a.pathColor, colorsForNodes = _a.colorsForNodes, borderColorsForNodes = _a.borderColorsForNodes;
549
- var state = this.state;
550
- var classNamesProps = this._computeClassNamesProps(theme, pathColor, className, state.containerWidth, state.containerHeight);
551
- var classNames_1 = this._computeClassNames(styles, classNamesProps);
552
- // Compute the position of each node and link
553
- var nodes_1 = (_b = this._normalizeData(this.props.data.SankeyChartData, state.containerWidth, state.containerHeight, colorsForNodes, borderColorsForNodes), _b.nodes), links_1 = _b.links, width = _b.width, height = _b.height;
554
- // In FocusZone, the focus order is determined by the rendering order of the elements. We need to find
555
- // a rendering order such that the focus moves through the nodes and links in a logical sequence.
556
- // Rendering the nodes and links layer by layer in a vertical order seems to be the most effective solution
557
- // with FocusZone. Although this focus order may not be entirely logical, it ensures that the focus moves
558
- // sequentially and prevents links (especially skip layer links) from being rendered over the nodes.
559
- var nodeLinkDomOrderArray_1 = [];
560
- nodes_1.sort(function (a, b) {
561
- if (a.x0 !== b.x0) {
562
- return a.x0 - b.x0;
563
- }
564
- return a.y0 - b.y0;
565
- });
566
- nodes_1.forEach(function (item, index) {
567
- nodeLinkDomOrderArray_1.push({ layer: item.layer, type: 'node', index: index });
568
- });
569
- links_1.sort(function (a, b) {
570
- var asx0 = a.source.x0;
571
- var bsx0 = b.source.x0;
572
- if (asx0 !== bsx0) {
573
- return asx0 - bsx0;
574
- }
575
- return a.y0 - b.y0;
576
- });
577
- links_1.forEach(function (item, index) {
578
- nodeLinkDomOrderArray_1.push({ layer: item.source.layer, type: 'link', index: index });
579
- });
580
- nodeLinkDomOrderArray_1.sort(function (a, b) {
581
- if (a.layer !== b.layer) {
582
- return a.layer - b.layer;
583
- }
584
- if (a.type > b.type) {
585
- return -1;
586
- }
587
- if (a.type < b.type) {
588
- return 1;
589
- }
590
- return 0;
591
- });
592
- // NOTE: I don't love this approach to caching the "select" result. Is it still valid from render-to-render?
593
- // although local testing seems to indicate so, I do not trust that React will always support that instance.
594
- // It might be better to perform this `fetch` within the `_showTooltip` and `_hideTooltip` methods.
595
- var tooltipDiv = this._fetchTooltip(classNames_1);
596
- // Pre-compute some important attributes about nodes, specifically text
597
- var nodeAttributes = this._nodeAttributes(nodes_1, this._accessibility.nodeAriaLabel);
598
- // Build the nodes and links as rendered in the UX.
599
- var nodeData_1 = this._fetchNodes(classNames_1, nodes_1, nodeAttributes, tooltipDiv);
600
- var linkAttributes = this._linkAttributes(links_1, this._strings.linkFrom, this._accessibility.linkAriaLabel);
601
- var linkData_1 = this._fetchLinks(links_1, linkAttributes);
602
- var calloutProps = {
603
- isCalloutVisible: state.isCalloutVisible,
604
- directionalHint: Callout_1.DirectionalHint.topAutoEdge,
605
- id: "toolTip".concat(this._calloutId),
606
- target: state.refSelected,
607
- color: state.color,
608
- XValue: state.xCalloutValue,
609
- YValue: state.yCalloutValue ? state.yCalloutValue : state.dataForHoverCard,
610
- descriptionMessage: state.descriptionMessage,
611
- isBeakVisible: false,
612
- gapSpace: 15,
613
- onDismiss: this._onCloseCallout,
614
- className: classNames_1.calloutContentRoot,
615
- preventDismissOnLostFocus: true,
616
- };
617
- return (React.createElement("div", { className: classNames_1.root, role: 'presentation', ref: function (rootElem) { return (_this.chartContainer = rootElem); }, onMouseLeave: this._onCloseCallout },
618
- React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.vertical, className: classNames_1.chartWrapper },
619
- React.createElement("svg", { width: width, height: height, id: this._chartId },
620
- nodeLinkDomOrderArray_1.map(function (item) {
621
- if (item.type === 'node') {
622
- return (React.createElement("g", { key: nodes_1[item.index].nodeId, className: classNames_1.nodes }, nodeData_1[item.index]));
623
- }
624
- else {
625
- return (React.createElement("g", { key: "".concat(links_1[item.index].source.nodeId, "-").concat(links_1[item.index].target.nodeId), className: classNames_1.links, strokeOpacity: 1 }, linkData_1[item.index]));
626
- }
627
- }),
628
- calloutProps.isCalloutVisible && (React.createElement(Callout_1.Callout, tslib_1.__assign({}, calloutProps),
629
- React.createElement(ChartHoverCard_1.ChartHoverCard, { XValue: calloutProps.XValue, YValue: calloutProps.YValue, color: calloutProps.color, descriptionMessage: calloutProps.descriptionMessage ? calloutProps.descriptionMessage : '' })))))));
630
- }
631
- return (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": this._accessibility.emptyAriaLabel }));
632
- };
633
- SankeyChartBase.prototype._computeNodeAttributes = function (nodes, nodeAriaLabel) {
634
- var _this = this;
635
- var result = {};
636
- var weightSpan = (0, d3_selection_1.select)('.nodeName').append('text').attr('class', 'tempText').append('tspan').text(null);
637
- var nameSpan = (0, d3_selection_1.select)('.nodeName')
638
- .append('text')
639
- .attr('class', 'tempText')
640
- .attr('font-size', '10')
641
- .append('tspan')
642
- .text(null);
643
- nodes.forEach(function (singleNode) {
644
- var height = Math.max(singleNode.y1 - singleNode.y0, 0);
645
- var padding = 8;
646
- var textLengthForNodeWeight = 0;
647
- var nodeValue = singleNode.actualValue;
648
- // If the nodeWeight is in the same line as node description an extra padding
649
- // of 6 px is required between node description and node weight.
650
- if (height < MIN_HEIGHT_FOR_DOUBLINE_TYPE) {
651
- padding = padding + 6;
652
- // The following `select` statement injects a `tempText` element into the DOM. This injection
653
- // (and subsequent removal) is causing a layout recalculation. This is a performance issue.
654
- var measurement = measureText(weightSpan, _this._formatNumber(nodeValue));
655
- if (measurement !== undefined) {
656
- textLengthForNodeWeight = measurement;
657
- padding = padding + textLengthForNodeWeight;
658
- }
659
- }
660
- // Since the total width of the node is 124 and we are giving margin of 8px from the left .
661
- // So the actual value on which it will be truncated is 124-8=116.
662
- var truncatedname = truncateText(nameSpan, singleNode.name, NODE_WIDTH - 8, padding);
663
- var isTruncated = truncatedname.slice(-3) === elipsis;
664
- result[singleNode.nodeId] = {
665
- reactId: (0, Utilities_1.getId)('nodeBar'),
666
- gElementId: (0, Utilities_1.getId)('nodeGElement'),
667
- name: truncatedname,
668
- aria: nodeAriaLabel(singleNode, nodeValue),
669
- trimmed: isTruncated,
670
- height: height,
671
- weightOffset: textLengthForNodeWeight,
672
- };
673
- });
674
- (0, d3_selection_1.selectAll)('.tempText').remove();
675
- return result;
676
- };
677
- SankeyChartBase.prototype._linkCalloutAttributes = function (singleLink, from) {
678
- return {
679
- selectedLink: singleLink,
680
- isCalloutVisible: true,
681
- color: singleLink.source.color,
682
- xCalloutValue: singleLink.target.name,
683
- yCalloutValue: this._formatNumber(singleLink.unnormalizedValue),
684
- descriptionMessage: from,
685
- };
686
- };
687
- SankeyChartBase.prototype._normalizeSankeyData = function (data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes) {
688
- var _a;
689
- var sankey = (_a = preRenderLayout(this._margins, containerWidth, containerHeight, this._isRtl), _a.sankey), height = _a.height, width = _a.width;
690
- // Clone the data before mutating it (via the SankeyLayoutGenerator) so that we don't mutate the original data.
691
- var transformed = duplicateData(data);
692
- sankey(transformed);
693
- // NOTE: After the prior line, `transformed` is now a more-complex object than the incoming `ISankeyChartData`.
694
- // `transformed` should be cast to a more-specific type. This is a breaking change because we would be eliminating
695
- // fields from `ISankeyChartData` and putting those fields on a now-local type. But doing so makes it clearer what
696
- // the caller needs to supply and why. For example, the `actualValue` and `layer` fields of `ISNodeExtra` should
697
- // both be moved. Similarly for `unnormalizedValue` in `ISLinkExtra`.
698
- // `SankeyNodeMinimal` and `SankeyLinkMinimal` are both the types after `sankey(transformed)`, but have almost no
699
- // bearing on the data before `sankey(transformed)` (which is basically nodes with ids and names along with links
700
- // with source index, target index, and value).
701
- var nodesInColumn = groupNodesByColumn(transformed);
702
- this._numColumns = Object.keys(nodesInColumn).length;
703
- // Keep track of the original values of the links and their acccumulated values in the nodes
704
- // Setting these in external objects so they cannot be mutated by other code.
705
- // The IDs of nodes can be numbers or strings. But, the IDs of links are always the index into the "nodes" array.
706
- // After the sankey layout is computed, the each link's `source` and `target` will have the ID of the node in the
707
- // type originally specified in the Nodes array. Consequently, we get the values of those links after the sankey
708
- // transformation.
709
- var nodeValues = valuesOfNodes(transformed.nodes);
710
- var linkValues = valuesOfLinks(transformed.links);
711
- adjustOnePercentHeightNodes(nodesInColumn, nodeValues, linkValues);
712
- adjustPadding(sankey, height - 6, nodesInColumn);
713
- // `sankey` is called a second time, probably to re-layout the nodes with the one-percent adjusted weights.
714
- // NOTE: The second call to `sankey` is required to allow links to be hoverable.
715
- // Without the second call, the links are not hoverable.
716
- sankey(transformed);
717
- populateNodeActualValue(transformed, nodeValues, linkValues);
718
- assignNodeColors(transformed.nodes, colorsForNodes, borderColorsForNodes);
719
- return {
720
- width: width,
721
- height: height,
722
- nodes: transformed.nodes,
723
- links: transformed.links,
724
- };
725
- };
726
- SankeyChartBase.prototype._labelTooltipDiv = function (classNames) {
727
- // find the tooltip div. If it doesn't exist, then create it.
728
- var tooltipDiv = (0, d3_selection_1.select)("#".concat(this._labelTooltipId));
729
- if (tooltipDiv.empty()) {
730
- tooltipDiv = (0, d3_selection_1.select)('body')
731
- .append('div')
732
- .attr('id', this._labelTooltipId)
733
- .attr('class', classNames.toolTip)
734
- .style('opacity', 0);
735
- }
736
- // If the div exists, then `classNames` has changed; update the `class` on the `div`.
737
- tooltipDiv.attr('class', classNames.toolTip);
738
- return tooltipDiv;
739
- };
740
- SankeyChartBase.prototype._createLinks = function (dataLinks, linkAttributes) {
741
- var _this = this;
742
- if (dataLinks) {
743
- var linkId_1 = this._linkId;
744
- return dataLinks.map(function (singleLink, index) {
745
- var _a;
746
- var onMouseOut = function () {
747
- _this._onStreamLeave(singleLink);
748
- };
749
- var reactId = (_a = linkValue(linkAttributes, singleLink), _a.reactId), from = _a.from, aria = _a.aria;
750
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
751
- var dataPoints = linkToDataPoints(singleLink);
752
- var key = "".concat(linkId_1, "-").concat(index);
753
- var gradientId = "gradient-".concat(key);
754
- var gradientUrl = "url(#".concat(gradientId, ")");
755
- var source = singleLink.source;
756
- var target = singleLink.target;
757
- // TODO: localize the aria-label string
758
- return (React.createElement("g", { key: key },
759
- React.createElement("defs", null,
760
- React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "0%" },
761
- React.createElement("stop", { offset: "0", stopColor: source.color }),
762
- React.createElement("stop", { offset: "100%", stopColor: target.color }))),
763
- React.createElement("path", { d: linkArea(dataPoints), id: reactId, fill: _this._fillStreamColors(singleLink, gradientUrl), stroke: _this._fillStreamBorder(singleLink, gradientUrl), strokeWidth: "2", strokeOpacity: _this._getOpacityStreamBorder(singleLink), onMouseOver: function (event) { return _this._onStreamHover(event, singleLink, from); }, onMouseOut: onMouseOut, onFocus: function (event) { return _this._onFocusLink(event, singleLink, from); }, onBlur: _this._onBlur, fillOpacity: _this._getOpacityStream(singleLink), "data-is-focusable": true, "aria-label": aria, role: "img" })));
764
- });
765
- }
766
- return [];
767
- };
768
- SankeyChartBase.prototype._createNodes = function (classNames, dataNodes, nodeAttributes, tooltipDiv) {
769
- var _this = this;
770
- if (dataNodes) {
771
- var state_1 = this.state;
772
- var textAnchor_1 = this._isRtl ? 'end' : 'start';
773
- return dataNodes.map(function (singleNode, index) {
774
- var _a;
775
- var onMouseOut = function () {
776
- _this._onLeave(singleNode);
777
- };
778
- var nodeId = (_a = nodeAttributes[singleNode.nodeId], _a.reactId), gElementId = _a.gElementId, height = _a.height, isTruncated = _a.trimmed, truncatedName = _a.name, textLengthForNodeWeight = _a.weightOffset, aria = _a.aria;
779
- var tooTall = height > MIN_HEIGHT_FOR_DOUBLINE_TYPE;
780
- var name = singleNode.name, actualValue = singleNode.actualValue, x0 = singleNode.x0, x1 = singleNode.x1, y0 = singleNode.y0;
781
- var textColor = nodeTextColor(state_1, singleNode);
782
- return (React.createElement("g", { key: index, id: gElementId },
783
- React.createElement("rect", { x: x0, y: y0, height: height, width: x1 - x0, fill: _this._fillNodeColors(singleNode), id: nodeId, onMouseOver: _this._onHover.bind(_this, singleNode), onMouseOut: onMouseOut, onFocus: _this._onCloseCallout.bind(_this), stroke: _this._fillNodeBorder(singleNode), strokeWidth: "2", opacity: "1", "data-is-focusable": true, "aria-label": aria, role: "img" }),
784
- height > MIN_HEIGHT_FOR_TYPE && (React.createElement("g", { className: classNames.nodeTextContainer },
785
- React.createElement("g", { className: "nodeName" },
786
- React.createElement("text", { id: "".concat(nodeId, "-name"), x: x0, y: y0, dy: '1.2em', dx: '0.4em', textAnchor: textAnchor_1, fontWeight: "regular", "aria-hidden": "true", fill: textColor, fontSize: 10, onMouseOver: _this._showTooltip.bind(_this, name, isTruncated, tooltipDiv), onMouseOut: _this._hideTooltip.bind(_this, tooltipDiv) }, truncatedName)),
787
- React.createElement("text", { x: tooTall ? x0 : x1 - textLengthForNodeWeight - 8, y: y0, dy: tooTall ? '2em' : '1em', dx: tooTall ? '0.4em' : '0em', textAnchor: textAnchor_1, fontWeight: "bold", "aria-hidden": "true", fill: textColor, fontSize: 14 }, actualValue ? _this._formatNumber(actualValue) : actualValue)))));
788
- });
789
- }
790
- };
791
- SankeyChartBase.prototype._onLeave = function (singleNode) {
792
- if (this.state.selectedState) {
793
- this.setState({
794
- selectedState: false,
795
- selectedNodes: new Set(),
796
- selectedLinks: new Set(),
797
- selectedNode: undefined,
798
- });
799
- }
800
- };
801
- SankeyChartBase.prototype._onHover = function (singleNode, mouseEvent) {
802
- mouseEvent.persist();
803
- this._onCloseCallout();
804
- if (!this.state.selectedState) {
805
- var selectedLinks = getSelectedLinks(singleNode);
806
- var selectedNodes = getSelectedNodes(selectedLinks);
807
- selectedNodes.push(singleNode);
808
- this.setState({
809
- selectedState: true,
810
- selectedNodes: new Set(Array.from(selectedNodes).map(function (node) { return node.index; })),
811
- selectedLinks: new Set(Array.from(selectedLinks).map(function (link) { return link.index; })),
812
- selectedNode: singleNode,
813
- refSelected: mouseEvent,
814
- isCalloutVisible: singleNode.y1 - singleNode.y0 < MIN_HEIGHT_FOR_TYPE,
815
- color: singleNode.color,
816
- xCalloutValue: singleNode.name,
817
- yCalloutValue: this._formatNumber(singleNode.actualValue),
818
- });
819
- }
820
- };
821
- SankeyChartBase.prototype._formatNumber = function (value) {
822
- return this.props.formatNumberOptions
823
- ? value.toLocaleString(undefined, this.props.formatNumberOptions)
824
- : value.toString();
825
- };
826
- SankeyChartBase.prototype._onStreamHover = function (mouseEvent, singleLink, from) {
827
- var _a;
828
- mouseEvent.persist();
829
- this._onCloseCallout();
830
- if (!this.state.selectedState) {
831
- var selectedLinks = (_a = getSelectedLinksforStreamHover(singleLink), _a.selectedLinks), selectedNodes = _a.selectedNodes;
832
- this.setState(tslib_1.__assign({ selectedState: true, selectedNodes: new Set(Array.from(selectedNodes).map(function (node) { return node.index; })), selectedLinks: new Set(Array.from(selectedLinks).map(function (link) { return link.index; })), refSelected: mouseEvent }, this._linkCalloutAttributes(singleLink, from)));
833
- }
834
- };
835
- SankeyChartBase.prototype._onStreamLeave = function (singleLink) {
836
- if (this.state.selectedState) {
837
- this.setState({
838
- selectedState: false,
839
- selectedNodes: new Set(),
840
- selectedLinks: new Set(),
841
- selectedLink: undefined,
842
- });
843
- }
844
- };
845
- SankeyChartBase.prototype._onFocusLink = function (element, singleLink, from) {
846
- // There is a big difference in how "Tab" and the "Arrow keys" are handled in this diagram.
847
- // In particular, I would expect the "Down" key to be like "Tab", but it jumps a little wildly. I'm not sure
848
- // if this behavior is an accessiblity violation, but it we might want to investigate it.
849
- element.persist();
850
- this._onCloseCallout();
851
- this.setState(tslib_1.__assign({ refSelected: element.currentTarget }, this._linkCalloutAttributes(singleLink, from)));
852
- };
853
- SankeyChartBase.prototype._fillStreamColors = function (singleLink, gradientUrl) {
854
- var state = this.state;
855
- if (state.selectedState && state.selectedLinks.has(singleLink.index)) {
856
- var selectedNode = state.selectedNode;
857
- return selectedNode ? selectedNode.color : gradientUrl;
858
- }
859
- };
860
- SankeyChartBase.prototype._fillStreamBorder = function (singleLink, gradientUrl) {
861
- var state = this.state;
862
- if (!state.selectedState) {
863
- return NON_SELECTED_NODE_AND_STREAM_COLOR;
864
- }
865
- else {
866
- if (state.selectedLinks.has(singleLink.index)) {
867
- var selectedNode = state.selectedNode;
868
- return selectedNode ? selectedNode.borderColor : gradientUrl;
869
- }
870
- return NON_SELECTED_NODE_AND_STREAM_COLOR;
871
- }
872
- };
873
- SankeyChartBase.prototype._getOpacityStream = function (singleLink) {
874
- var state = this.state;
875
- if (state.selectedState) {
876
- if (!state.selectedLinks.has(singleLink.index)) {
877
- return NON_SELECTED_OPACITY;
878
- }
879
- else if (!state.selectedNode) {
880
- return SELECTED_STREAM_OPACITY;
881
- }
882
- }
883
- return REST_STREAM_OPACITY;
884
- };
885
- SankeyChartBase.prototype._getOpacityStreamBorder = function (singleLink) {
886
- var state = this.state;
887
- if (state.selectedState && !state.selectedLinks.has(singleLink.index) && !state.selectedNode) {
888
- return NON_SELECTED_STREAM_BORDER_OPACITY;
889
- }
890
- return NON_SELECTED_OPACITY;
891
- };
892
- SankeyChartBase.prototype._fitParentContainer = function () {
893
- var _a;
894
- var _this = this;
895
- var containerWidth = (_a = this.state, _a.containerWidth), containerHeight = _a.containerHeight;
896
- this._reqID = requestAnimationFrame(function () {
897
- // NOTE: Calls to this method trigger a re-render.
898
- var container = _this.props.parentRef ? _this.props.parentRef : _this.chartContainer;
899
- var currentContainerWidth = container &&
900
- (_this.props.enableReflow
901
- ? Math.max(container.getBoundingClientRect().width, _this._calculateChartMinWidth())
902
- : container.getBoundingClientRect().width);
903
- var currentContainerHeight = container && container.getBoundingClientRect().height;
904
- var shouldResize = containerWidth !== currentContainerWidth || containerHeight !== currentContainerHeight;
905
- if (shouldResize) {
906
- _this.setState({
907
- containerWidth: currentContainerWidth,
908
- containerHeight: currentContainerHeight,
909
- });
910
- }
911
- });
912
- };
913
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
914
- SankeyChartBase.prototype._showTooltip = function (text, checkTrcuncated, div, evt) {
915
- if (checkTrcuncated) {
916
- //Fixing tooltip position by attaching it to the element rather than page
917
- div.style('opacity', 0.9);
918
- div
919
- .html(text)
920
- .style('left', evt.pageX + 'px')
921
- .style('top', evt.pageY - 28 + 'px');
922
- }
923
- };
924
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
925
- SankeyChartBase.prototype._hideTooltip = function (div) {
926
- div.style('opacity', 0);
927
- };
928
- SankeyChartBase.prototype._isChartEmpty = function () {
929
- var _a;
930
- var sankeyChartData = (_a = this.props.data) === null || _a === void 0 ? void 0 : _a.SankeyChartData;
931
- return !(sankeyChartData && sankeyChartData.nodes.length > 0 && sankeyChartData.links.length > 0);
932
- };
933
- SankeyChartBase.defaultProps = {
934
- enableReflow: true,
935
- };
936
- return SankeyChartBase;
937
- }(React.Component));
938
- //# sourceMappingURL=SankeyChart.base.js.map