@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,930 +0,0 @@
1
- define(["require", "exports", "tslib", "@fluentui/react-focus", "@fluentui/react/lib/Callout", "@fluentui/react/lib/Utilities", "d3-array", "d3-sankey", "d3-selection", "d3-shape", "react", "../../utilities/ChartHoverCard/ChartHoverCard"], function (require, exports, tslib_1, react_focus_1, Callout_1, Utilities_1, d3_array_1, d3_sankey_1, d3_selection_1, d3_shape_1, React, ChartHoverCard_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.SankeyChartBase = exports.preRenderLayout = exports.adjustPadding = exports.groupNodesByColumn = void 0;
5
- var getClassNames = (0, Utilities_1.classNamesFunction)();
6
- var PADDING_PERCENTAGE = 0.3;
7
- var NON_SELECTED_NODE_AND_STREAM_COLOR = '#757575';
8
- var DEFAULT_NODE_COLORS = [
9
- { fillColor: '#00758F', borderColor: '#002E39' },
10
- { fillColor: '#77004D', borderColor: '#43002C' },
11
- { fillColor: '#4F6BED', borderColor: '#3B52B4' },
12
- { fillColor: '#937600', borderColor: '#6D5700' },
13
- { fillColor: '#286EA8', borderColor: '#00457E' },
14
- { fillColor: '#A43FB1', borderColor: '#7C158A' },
15
- { fillColor: '#CC3595', borderColor: '#7F215D' },
16
- { fillColor: '#0E7878', borderColor: '#004E4E' },
17
- { fillColor: '#8764B8', borderColor: '#4B3867' },
18
- { fillColor: '#9C663F', borderColor: '#6D4123' },
19
- ];
20
- var MIN_HEIGHT_FOR_DOUBLINE_TYPE = 36;
21
- var MIN_HEIGHT_FOR_TYPE = 24;
22
- var REST_STREAM_OPACITY = 1;
23
- var NON_SELECTED_OPACITY = 1;
24
- var SELECTED_STREAM_OPACITY = 0.3;
25
- var NON_SELECTED_STREAM_BORDER_OPACITY = 0.5;
26
- var DEFAULT_TEXT_COLOR = '#323130';
27
- var NON_SELECTED_TEXT_COLOR = '#FFFFFF';
28
- var NODE_WIDTH = 124;
29
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
30
- function getSelectedNodes(selectedLinks) {
31
- var nodes = [];
32
- selectedLinks.forEach(function (link) {
33
- nodes.push(link.target);
34
- if (nodes.indexOf(link.source) === -1) {
35
- nodes.push(link.source);
36
- }
37
- });
38
- return nodes;
39
- }
40
- function getSelectedLinks(singleNode) {
41
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, no-array-constructor
42
- var q = new Array();
43
- var finalLinks = new Set();
44
- singleNode.sourceLinks.forEach(function (link) {
45
- q.push(link);
46
- finalLinks.add(link);
47
- });
48
- while (q.length > 0) {
49
- var poppedLink = q.shift();
50
- var node = poppedLink.target;
51
- if (node && node.sourceLinks) {
52
- node.sourceLinks.forEach(function (link) {
53
- finalLinks.add(link);
54
- q.push(link);
55
- });
56
- }
57
- }
58
- if (singleNode.targetLinks) {
59
- singleNode.targetLinks.forEach(function (link) {
60
- q.push(link);
61
- finalLinks.add(link);
62
- });
63
- }
64
- while (q.length > 0) {
65
- var poppedLink = q.shift();
66
- var node = poppedLink.source;
67
- if (node && node.targetLinks) {
68
- node.targetLinks.forEach(function (link) {
69
- finalLinks.add(link);
70
- q.push(link);
71
- });
72
- }
73
- }
74
- return finalLinks;
75
- }
76
- function getSelectedLinksforStreamHover(singleLink) {
77
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, no-array-constructor
78
- var q = new Array();
79
- var finalLinks = new Set();
80
- var finalNodes = new Set();
81
- q.push(singleLink.source);
82
- finalLinks.add(singleLink);
83
- while (q.length > 0) {
84
- var poppedNode = q.shift();
85
- finalNodes.add(poppedNode);
86
- if (poppedNode.targetLinks && poppedNode.targetLinks.length > 0) {
87
- poppedNode.targetLinks.forEach(function (link) {
88
- q.push(link.source);
89
- finalLinks.add(link);
90
- });
91
- }
92
- }
93
- q.push(singleLink.target);
94
- while (q.length > 0) {
95
- var poppedNode = q.shift();
96
- finalNodes.add(poppedNode);
97
- if (poppedNode.sourceLinks && poppedNode.sourceLinks.length > 0) {
98
- poppedNode.sourceLinks.forEach(function (link) {
99
- q.push(link.target);
100
- finalLinks.add(link);
101
- });
102
- }
103
- }
104
- return {
105
- selectedLinks: finalLinks,
106
- selectedNodes: finalNodes,
107
- };
108
- }
109
- /**
110
- * This is used to group nodes by column index.
111
- */
112
- // This is exported for unit tests.
113
- function groupNodesByColumn(graph) {
114
- var nodesInColumn = {};
115
- graph.nodes.forEach(function (node) {
116
- var columnId = node.layer;
117
- if (nodesInColumn[columnId]) {
118
- nodesInColumn[columnId].push(node);
119
- }
120
- else {
121
- nodesInColumn[columnId] = [node];
122
- }
123
- });
124
- return nodesInColumn;
125
- }
126
- exports.groupNodesByColumn = groupNodesByColumn;
127
- /**
128
- * This is used to normalize the nodes value whose value is less than 1% of the total column value.
129
- */
130
- function adjustOnePercentHeightNodes(nodesInColumn, computedNodes, originalLinks) {
131
- var totalColumnValue = Object.values(nodesInColumn).map(function (column) {
132
- return (0, d3_array_1.sum)(column, function (node) { return node.value; });
133
- });
134
- totalColumnValue.forEach(function (columnValue, index) {
135
- var totalPercentage = 0;
136
- var onePercent = 0.01 * columnValue;
137
- var columnNodes = nodesInColumn[index];
138
- columnNodes.forEach(function (node) {
139
- var value = computedNodes[node.nodeId];
140
- var nodePercentage = (value / columnValue) * 100;
141
- node.actualValue = value;
142
- //if the value is less than 1% then we are making it as 1% of total .
143
- if (nodePercentage < 1) {
144
- node.value = onePercent;
145
- totalPercentage = totalPercentage + 1;
146
- }
147
- else {
148
- totalPercentage = totalPercentage + nodePercentage;
149
- }
150
- });
151
- //since we have adjusted the value to be 1% but we need to keep the sum of the percentage value under 100.
152
- var scalingRatio = totalPercentage !== 0 ? totalPercentage / 100 : 1;
153
- if (scalingRatio > 1) {
154
- // Loop through each node in that column and scale that node--and its incoming and outgoing links--by the
155
- // scaling ratio. We need the sankey diagram to re-layout the nodes and links after we do this.
156
- columnNodes.forEach(function (node) {
157
- var normalized = (node.value = node.value / scalingRatio);
158
- // Which Original Value? and Which Normalized Value is needed, here? The Node? The Link? Both?
159
- changeColumnValue(node, computedNodes[node.nodeId], normalized, originalLinks);
160
- });
161
- }
162
- });
163
- }
164
- /**
165
- * This is used for normalizing each link's value to reflect the normalized node value.
166
- */
167
- function changeColumnValue(node, originalNodeValue, normalizedNodeValue, linkValues) {
168
- // For each link in the source and target, compute the proportion that this link contributes to the total
169
- // then adjust the link's value to reflect its proportion of the normalized node value.
170
- var updateLinkValue = function (link) {
171
- var value = linkValue(linkValues, link);
172
- link.unnormalizedValue = value;
173
- var linkRatio = value / originalNodeValue;
174
- link.value = Math.max(normalizedNodeValue * linkRatio, link.value);
175
- };
176
- node.sourceLinks.forEach(updateLinkValue);
177
- node.targetLinks.forEach(updateLinkValue);
178
- }
179
- /**
180
- * This is used for calculating the node non normalized value based on link non normalized value.
181
- * The links have the original weights. Computed nodes have the total weight of all incoming and outgoing links.
182
- */
183
- function populateNodeActualValue(data, computedNodes, originalLinks) {
184
- data.links.forEach(function (link) {
185
- if (!link.unnormalizedValue) {
186
- link.unnormalizedValue = linkValue(originalLinks, link);
187
- }
188
- });
189
- data.nodes.forEach(function (node) {
190
- node.actualValue = computedNodes[node.nodeId];
191
- });
192
- }
193
- /**
194
- * This is used to introduce dynamic padding for cases where the number of nodes in a column is huge
195
- * so that we maintain a node to space ratio for such columns as if we fail to do so the
196
- * chart is devoid of nodes and only shows links.
197
- */
198
- // This is exported for unit tests
199
- function adjustPadding(sankey, height, nodesInColumn) {
200
- var padding = sankey.nodePadding();
201
- var minPadding = PADDING_PERCENTAGE * height;
202
- Object.values(nodesInColumn).forEach(function (column) {
203
- var totalPaddingInColumn = height - (0, d3_array_1.sum)(column, function (node) { return node.y1 - node.y0; });
204
- if (minPadding < totalPaddingInColumn) {
205
- // Here we are calculating the min of default and calculated padding, we will not increase the padding
206
- // in any scenario.
207
- padding = Math.min(padding, minPadding / (column.length - 1));
208
- }
209
- });
210
- sankey.nodePadding(padding);
211
- }
212
- exports.adjustPadding = adjustPadding;
213
- function idFromNumberOrSNode(node) {
214
- if (typeof node === 'number') {
215
- return node;
216
- }
217
- return node.nodeId;
218
- }
219
- /**
220
- * Duplicates the supplied chart data so that we do not alter the original.
221
- * @param data The data to duplicate.
222
- * @returns The duplicated data.
223
- */
224
- function duplicateData(data) {
225
- return {
226
- nodes: data.nodes.map(function (node) { return (tslib_1.__assign({}, node)); }),
227
- links: data.links.map(function (link) { return (tslib_1.__assign({}, link)); }),
228
- };
229
- }
230
- function valuesOfNodes(nodes) {
231
- var result = {};
232
- nodes.forEach(function (node) {
233
- result[node.nodeId] = node.value;
234
- });
235
- return result;
236
- }
237
- function valuesOfLinks(links) {
238
- var result = {};
239
- links.forEach(function (link) {
240
- var sourceId = idFromNumberOrSNode(link.source);
241
- var sourceToTarget = result[sourceId];
242
- if (!sourceToTarget) {
243
- sourceToTarget = {};
244
- result[sourceId] = sourceToTarget;
245
- }
246
- sourceToTarget[idFromNumberOrSNode(link.target)] = link.value;
247
- });
248
- return result;
249
- }
250
- function linkValue(originalLinks, link) {
251
- return originalLinks[idFromNumberOrSNode(link.source)][idFromNumberOrSNode(link.target)];
252
- }
253
- // This is exported for unit tests.
254
- function preRenderLayout(margins, containerWidth, containerHeight, isRtl) {
255
- var left = margins.left, right = margins.right, top = margins.top, bottom = margins.bottom;
256
- var width = containerWidth - right;
257
- var height = containerHeight - bottom > 0 ? containerHeight - bottom : 0;
258
- var sankey = (0, d3_sankey_1.sankey)()
259
- .nodeWidth(NODE_WIDTH)
260
- .extent([
261
- [left, top],
262
- [width - 1, height - 6],
263
- ])
264
- .nodeAlign(isRtl ? d3_sankey_1.sankeyRight : d3_sankey_1.sankeyJustify);
265
- return { sankey: sankey, height: height, width: width };
266
- }
267
- exports.preRenderLayout = preRenderLayout;
268
- var elipsis = '...';
269
- /**
270
- * This is used to assign node fillcolors and borderColor cyclically when the user doesnt
271
- * provide color to individual node.
272
- */
273
- function assignNodeColors(nodes, colorsForNodes, borderColorsForNodes) {
274
- var colors;
275
- var borders;
276
- if (colorsForNodes && borderColorsForNodes) {
277
- colors = colorsForNodes;
278
- borders = borderColorsForNodes;
279
- }
280
- else {
281
- colors = DEFAULT_NODE_COLORS.map(function (color) { return color.fillColor; });
282
- borders = DEFAULT_NODE_COLORS.map(function (color) { return color.borderColor; });
283
- }
284
- var currentIndex = 0;
285
- nodes.forEach(function (node) {
286
- if (!node.color && !node.borderColor) {
287
- node.color = colors[currentIndex];
288
- node.borderColor = borders[currentIndex];
289
- }
290
- else if (node.color && !node.borderColor) {
291
- node.borderColor = '#757575';
292
- }
293
- else if (node.borderColor && !node.color) {
294
- node.color = '#F5F5F5';
295
- }
296
- currentIndex = (currentIndex + 1) % colors.length;
297
- });
298
- }
299
- /**
300
- * Takes in the display name for the node and potentially returns a trimmed version of the name.
301
- * @param tspan the `tspan` element to use for text visual length measurement
302
- * @param text is the text which we will potentially truncate
303
- * @param rectangleWidth is the width of the rectangle which will contain the text
304
- * @param padding is the space we need to leave between the rect lines and other text
305
- * @returns the name to show on the node which might be the truncated `text` if the `text` is too long
306
- */
307
- function truncateText(tspan, text, rectangleWidth, padding) {
308
- // NOTE: This method is the most-expensive in terms of rerendering components.
309
- var textLengthForNodeName = rectangleWidth - padding; // This can likely be computed once and passed in.
310
- // The following `select` statement injects a `tempText` element into the DOM. This injection
311
- // (and subsequent removal) is causing a layout recalculation. This is a performance issue.
312
- // Note that this code will always inject a `tempText` element, but doesn't always remove it. This is a bug.
313
- if (fitsWithinNode(tspan, text, textLengthForNodeName)) {
314
- return text;
315
- }
316
- // Computing the size of elipsis is performed with each node. This should be computed once and used everywhere.
317
- // TODO: Compute the size of the elipsis once and use it everywhere.
318
- var elipsisLength = computeElipsisLength(tspan);
319
- var line = '';
320
- // Calculate how much of the original text to show.
321
- // TODO: The folllowing is O(n). We could use a binary search to make this faster: O(log(n)).
322
- for (var i = 0; i < text.length; i++) {
323
- line += text[i];
324
- tspan.text(line);
325
- var currentNode = tspan.node();
326
- if (currentNode !== null) {
327
- var w = currentNode.getComputedTextLength();
328
- if (w >= textLengthForNodeName - elipsisLength) {
329
- line = line.slice(0, -1);
330
- line += elipsis;
331
- break;
332
- }
333
- }
334
- }
335
- tspan.text(null);
336
- return line;
337
- }
338
- function fitsWithinNode(tspan, text, textLengthForNodeName) {
339
- var measurement = measureText(tspan, text);
340
- if (measurement === undefined) {
341
- return false;
342
- }
343
- return measurement <= textLengthForNodeName;
344
- }
345
- function measureText(tspan, text) {
346
- var _a;
347
- try {
348
- tspan.text(text);
349
- return (_a = tspan.node()) === null || _a === void 0 ? void 0 : _a.getComputedTextLength();
350
- }
351
- finally {
352
- tspan.text(null);
353
- }
354
- }
355
- function computeElipsisLength(tspan) {
356
- var measurement = measureText(tspan, elipsis);
357
- return measurement === undefined ? 0 : measurement;
358
- }
359
- function computeLinkAttributes(links, linkFrom, linkAriaLabel) {
360
- var result = {};
361
- links.forEach(function (link) {
362
- var sourceId = idFromNumberOrSNode(link.source);
363
- var sourceToTarget = result[sourceId];
364
- if (!sourceToTarget) {
365
- sourceToTarget = {};
366
- result[sourceId] = sourceToTarget;
367
- }
368
- sourceToTarget[idFromNumberOrSNode(link.target)] = {
369
- reactId: (0, Utilities_1.getId)('link'),
370
- from: linkFrom(link.source),
371
- aria: linkAriaLabel(link),
372
- };
373
- });
374
- return result;
375
- }
376
- var linkToDataPoints = function (d) {
377
- var halfWidth = d.width * 0.5;
378
- var y0 = d.y0;
379
- var y1 = d.y1;
380
- return [
381
- { x: d.source.x1, y0: y0 + halfWidth, y1: y0 - halfWidth },
382
- { x: d.target.x0, y0: y1 + halfWidth, y1: y1 - halfWidth },
383
- ];
384
- };
385
- var linkArea = (0, d3_shape_1.area)()
386
- .x(function (p) { return p.x; })
387
- .y0(function (p) { return p.y0; })
388
- .y1(function (p) { return p.y1; })
389
- .curve(d3_shape_1.curveBumpX);
390
- function nodeTextColor(state, singleNode) {
391
- return !(!state.selectedState ||
392
- (state.selectedNodes.has(singleNode.index) && state.selectedNode) ||
393
- !state.selectedNode)
394
- ? DEFAULT_TEXT_COLOR
395
- : NON_SELECTED_TEXT_COLOR;
396
- }
397
- // NOTE: To start employing React.useMemo properly, we need to convert this code from a React.Component
398
- // to a function component. This will require a significant refactor of the code in this file.
399
- // https://stackoverflow.com/questions/60223362/fast-way-to-convert-react-class-component-to-functional-component
400
- // I am concerned that doing so would break this contract, making it difficult for consuming code.
401
- var SankeyChartBase = exports.SankeyChartBase = /** @class */ (function (_super) {
402
- tslib_1.__extends(SankeyChartBase, _super);
403
- function SankeyChartBase(props) {
404
- var _this = _super.call(this, props) || this;
405
- _this._isRtl = (0, Utilities_1.getRTL)();
406
- _this._numColumns = 0;
407
- _this._onCloseCallout = function () {
408
- _this.setState({
409
- isCalloutVisible: false,
410
- refSelected: undefined,
411
- descriptionMessage: '',
412
- });
413
- };
414
- _this._onBlur = function () {
415
- /**/
416
- };
417
- _this._fillNodeColors = function (singleNode) {
418
- var state = _this.state;
419
- if (!state.selectedState) {
420
- return singleNode.color;
421
- }
422
- else {
423
- var selectedNode = state.selectedNode;
424
- if (selectedNode && state.selectedNodes.has(singleNode.index)) {
425
- return selectedNode.color;
426
- }
427
- else if (!selectedNode) {
428
- return singleNode.color;
429
- }
430
- }
431
- };
432
- _this._fillNodeBorder = function (singleNode) {
433
- var state = _this.state;
434
- if (!state.selectedState) {
435
- return singleNode.borderColor;
436
- }
437
- else {
438
- if (state.selectedNodes.has(singleNode.index)) {
439
- var selectedNode = state.selectedNode;
440
- return selectedNode ? selectedNode.borderColor : singleNode.borderColor;
441
- }
442
- return singleNode.borderColor;
443
- }
444
- };
445
- _this._calculateChartMinWidth = function () {
446
- return (_this._margins.left +
447
- _this._margins.right +
448
- // total width of all node columns
449
- _this._numColumns * NODE_WIDTH +
450
- // minimum total width of all column gaps
451
- (_this._numColumns - 1) * (NODE_WIDTH / 2));
452
- };
453
- _this.state = {
454
- containerHeight: 468,
455
- containerWidth: 912,
456
- selectedState: false,
457
- selectedLinks: new Set(),
458
- selectedNodes: new Set(),
459
- shouldOverflow: false,
460
- isCalloutVisible: false,
461
- };
462
- _this._calloutId = (0, Utilities_1.getId)('callout');
463
- _this._linkId = (0, Utilities_1.getId)('link');
464
- _this._chartId = (0, Utilities_1.getId)('sankeyChart');
465
- _this._emptyChartId = (0, Utilities_1.getId)('_SankeyChart_empty');
466
- _this._labelTooltipId = (0, Utilities_1.getId)('tooltip');
467
- _this._margins = { top: 36, right: 48, bottom: 32, left: 48 };
468
- // We memo-ize creation so that we only create a new object when any of the fields change.
469
- _this._computeClassNamesProps = (0, Utilities_1.memoizeFunction)(function (theme, pathColor, className, containerWidth, containerHeight) { return ({
470
- theme: theme,
471
- width: containerWidth,
472
- height: containerHeight,
473
- pathColor: pathColor,
474
- className: className,
475
- }); });
476
- // `getClassNames` is memoized underneath, so it only recomputes when the `styles` or `classNamesProps` change.
477
- // We memoize `classNamesProps` so that we only create new class names when absolutely necessary,
478
- // and so that we can memoize the `_createNodes` method.
479
- _this._computeClassNames = (0, Utilities_1.memoizeFunction)(function (styles, classNamesProps) { return getClassNames(styles, classNamesProps); });
480
- _this._normalizeData = (0, Utilities_1.memoizeFunction)(function (data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes) { return _this._normalizeSankeyData(data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes); });
481
- _this._fetchTooltip = (0, Utilities_1.memoizeFunction)(function (classNames) {
482
- return _this._labelTooltipDiv(classNames);
483
- });
484
- // Prepare the localization utilities
485
- _this._strings = (0, Utilities_1.memoizeFunction)(function (strings) {
486
- var fromString = (strings === null || strings === void 0 ? void 0 : strings.linkFrom) || 'From {0}';
487
- // NOTE: The `node` parameter is the sankey-generated node on the link, and not the original `node` supplied
488
- // by the caller.
489
- return {
490
- linkFrom: function (node) { return (0, Utilities_1.format)(fromString, node.name); },
491
- };
492
- })(props.strings);
493
- _this._accessibility = (0, Utilities_1.memoizeFunction)(function (accessibility) {
494
- var linkString = (accessibility === null || accessibility === void 0 ? void 0 : accessibility.linkAriaLabel) || 'link from {0} to {1} with weight {2}';
495
- var nodeString = (accessibility === null || accessibility === void 0 ? void 0 : accessibility.nodeAriaLabel) || 'node {0} with weight {1}';
496
- return {
497
- emptyAriaLabel: (accessibility === null || accessibility === void 0 ? void 0 : accessibility.emptyAriaLabel) || 'Graph has no data to display',
498
- linkAriaLabel: function (link) {
499
- return (0, Utilities_1.format)(linkString, link.source.name, link.target.name, link.unnormalizedValue ? _this._formatNumber(link.unnormalizedValue) : link.unnormalizedValue);
500
- },
501
- nodeAriaLabel: function (node, weight) { return (0, Utilities_1.format)(nodeString, node.name, _this._formatNumber(weight)); },
502
- };
503
- })(props.accessibility);
504
- // NOTE: Memoizing the `_createNodes` and `_createLinks` methods would break the hoverability of the chart
505
- // because the nodes are currently created differently based on the layout information. Hence why we do not
506
- // memoize these methods (but have stubs for memoizing as the `_fetchNodes` and `_fetchLinks` methods).
507
- _this._nodeAttributes = (0, Utilities_1.memoizeFunction)(function (nodes, nodeAriaLabel) {
508
- return _this._computeNodeAttributes(nodes, nodeAriaLabel);
509
- });
510
- _this._fetchNodes = function (classNames, nodes, nodeAttributes, tooltipDiv) { return _this._createNodes(classNames, nodes, nodeAttributes, tooltipDiv); };
511
- _this._linkAttributes = (0, Utilities_1.memoizeFunction)(function (links, linkFrom, linkAriaLabel) {
512
- return computeLinkAttributes(links, linkFrom, linkAriaLabel);
513
- });
514
- _this._fetchLinks = function (links, linkAttributes) {
515
- return _this._createLinks(links, linkAttributes);
516
- };
517
- return _this;
518
- // Our shorter path to performance is to pre-compute the truncated labels of each node because
519
- // that should not change based on the position of the mouse. This is a shorter path becase the code which
520
- // computes the truncated labels creates and destroys a `tempText` element in the DOM. This is causing a
521
- // reflow and repaint of the entire chart. This is a performance issue, and so computing the truncated labels
522
- // once will help to mitigate this issue.
523
- }
524
- SankeyChartBase.prototype.componentDidMount = function () {
525
- this._fitParentContainer();
526
- };
527
- SankeyChartBase.prototype.componentDidUpdate = function (prevProps) {
528
- if (prevProps.shouldResize !== this.props.shouldResize) {
529
- this._fitParentContainer();
530
- }
531
- };
532
- SankeyChartBase.prototype.componentWillUnmount = function () {
533
- cancelAnimationFrame(this._reqID);
534
- };
535
- SankeyChartBase.prototype.render = function () {
536
- var _a, _b;
537
- var _this = this;
538
- if (!this._isChartEmpty()) {
539
- var theme = (_a = this.props, _a.theme), className = _a.className, styles = _a.styles, pathColor = _a.pathColor, colorsForNodes = _a.colorsForNodes, borderColorsForNodes = _a.borderColorsForNodes;
540
- var state = this.state;
541
- var classNamesProps = this._computeClassNamesProps(theme, pathColor, className, state.containerWidth, state.containerHeight);
542
- var classNames_1 = this._computeClassNames(styles, classNamesProps);
543
- // Compute the position of each node and link
544
- 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;
545
- // In FocusZone, the focus order is determined by the rendering order of the elements. We need to find
546
- // a rendering order such that the focus moves through the nodes and links in a logical sequence.
547
- // Rendering the nodes and links layer by layer in a vertical order seems to be the most effective solution
548
- // with FocusZone. Although this focus order may not be entirely logical, it ensures that the focus moves
549
- // sequentially and prevents links (especially skip layer links) from being rendered over the nodes.
550
- var nodeLinkDomOrderArray_1 = [];
551
- nodes_1.sort(function (a, b) {
552
- if (a.x0 !== b.x0) {
553
- return a.x0 - b.x0;
554
- }
555
- return a.y0 - b.y0;
556
- });
557
- nodes_1.forEach(function (item, index) {
558
- nodeLinkDomOrderArray_1.push({ layer: item.layer, type: 'node', index: index });
559
- });
560
- links_1.sort(function (a, b) {
561
- var asx0 = a.source.x0;
562
- var bsx0 = b.source.x0;
563
- if (asx0 !== bsx0) {
564
- return asx0 - bsx0;
565
- }
566
- return a.y0 - b.y0;
567
- });
568
- links_1.forEach(function (item, index) {
569
- nodeLinkDomOrderArray_1.push({ layer: item.source.layer, type: 'link', index: index });
570
- });
571
- nodeLinkDomOrderArray_1.sort(function (a, b) {
572
- if (a.layer !== b.layer) {
573
- return a.layer - b.layer;
574
- }
575
- if (a.type > b.type) {
576
- return -1;
577
- }
578
- if (a.type < b.type) {
579
- return 1;
580
- }
581
- return 0;
582
- });
583
- // NOTE: I don't love this approach to caching the "select" result. Is it still valid from render-to-render?
584
- // although local testing seems to indicate so, I do not trust that React will always support that instance.
585
- // It might be better to perform this `fetch` within the `_showTooltip` and `_hideTooltip` methods.
586
- var tooltipDiv = this._fetchTooltip(classNames_1);
587
- // Pre-compute some important attributes about nodes, specifically text
588
- var nodeAttributes = this._nodeAttributes(nodes_1, this._accessibility.nodeAriaLabel);
589
- // Build the nodes and links as rendered in the UX.
590
- var nodeData_1 = this._fetchNodes(classNames_1, nodes_1, nodeAttributes, tooltipDiv);
591
- var linkAttributes = this._linkAttributes(links_1, this._strings.linkFrom, this._accessibility.linkAriaLabel);
592
- var linkData_1 = this._fetchLinks(links_1, linkAttributes);
593
- var calloutProps = {
594
- isCalloutVisible: state.isCalloutVisible,
595
- directionalHint: Callout_1.DirectionalHint.topAutoEdge,
596
- id: "toolTip".concat(this._calloutId),
597
- target: state.refSelected,
598
- color: state.color,
599
- XValue: state.xCalloutValue,
600
- YValue: state.yCalloutValue ? state.yCalloutValue : state.dataForHoverCard,
601
- descriptionMessage: state.descriptionMessage,
602
- isBeakVisible: false,
603
- gapSpace: 15,
604
- onDismiss: this._onCloseCallout,
605
- className: classNames_1.calloutContentRoot,
606
- preventDismissOnLostFocus: true,
607
- };
608
- return (React.createElement("div", { className: classNames_1.root, role: 'presentation', ref: function (rootElem) { return (_this.chartContainer = rootElem); }, onMouseLeave: this._onCloseCallout },
609
- React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.vertical, className: classNames_1.chartWrapper },
610
- React.createElement("svg", { width: width, height: height, id: this._chartId },
611
- nodeLinkDomOrderArray_1.map(function (item) {
612
- if (item.type === 'node') {
613
- return (React.createElement("g", { key: nodes_1[item.index].nodeId, className: classNames_1.nodes }, nodeData_1[item.index]));
614
- }
615
- else {
616
- 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]));
617
- }
618
- }),
619
- calloutProps.isCalloutVisible && (React.createElement(Callout_1.Callout, tslib_1.__assign({}, calloutProps),
620
- React.createElement(ChartHoverCard_1.ChartHoverCard, { XValue: calloutProps.XValue, YValue: calloutProps.YValue, color: calloutProps.color, descriptionMessage: calloutProps.descriptionMessage ? calloutProps.descriptionMessage : '' })))))));
621
- }
622
- return (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": this._accessibility.emptyAriaLabel }));
623
- };
624
- SankeyChartBase.prototype._computeNodeAttributes = function (nodes, nodeAriaLabel) {
625
- var _this = this;
626
- var result = {};
627
- var weightSpan = (0, d3_selection_1.select)('.nodeName').append('text').attr('class', 'tempText').append('tspan').text(null);
628
- var nameSpan = (0, d3_selection_1.select)('.nodeName')
629
- .append('text')
630
- .attr('class', 'tempText')
631
- .attr('font-size', '10')
632
- .append('tspan')
633
- .text(null);
634
- nodes.forEach(function (singleNode) {
635
- var height = Math.max(singleNode.y1 - singleNode.y0, 0);
636
- var padding = 8;
637
- var textLengthForNodeWeight = 0;
638
- var nodeValue = singleNode.actualValue;
639
- // If the nodeWeight is in the same line as node description an extra padding
640
- // of 6 px is required between node description and node weight.
641
- if (height < MIN_HEIGHT_FOR_DOUBLINE_TYPE) {
642
- padding = padding + 6;
643
- // The following `select` statement injects a `tempText` element into the DOM. This injection
644
- // (and subsequent removal) is causing a layout recalculation. This is a performance issue.
645
- var measurement = measureText(weightSpan, _this._formatNumber(nodeValue));
646
- if (measurement !== undefined) {
647
- textLengthForNodeWeight = measurement;
648
- padding = padding + textLengthForNodeWeight;
649
- }
650
- }
651
- // Since the total width of the node is 124 and we are giving margin of 8px from the left .
652
- // So the actual value on which it will be truncated is 124-8=116.
653
- var truncatedname = truncateText(nameSpan, singleNode.name, NODE_WIDTH - 8, padding);
654
- var isTruncated = truncatedname.slice(-3) === elipsis;
655
- result[singleNode.nodeId] = {
656
- reactId: (0, Utilities_1.getId)('nodeBar'),
657
- gElementId: (0, Utilities_1.getId)('nodeGElement'),
658
- name: truncatedname,
659
- aria: nodeAriaLabel(singleNode, nodeValue),
660
- trimmed: isTruncated,
661
- height: height,
662
- weightOffset: textLengthForNodeWeight,
663
- };
664
- });
665
- (0, d3_selection_1.selectAll)('.tempText').remove();
666
- return result;
667
- };
668
- SankeyChartBase.prototype._linkCalloutAttributes = function (singleLink, from) {
669
- return {
670
- selectedLink: singleLink,
671
- isCalloutVisible: true,
672
- color: singleLink.source.color,
673
- xCalloutValue: singleLink.target.name,
674
- yCalloutValue: this._formatNumber(singleLink.unnormalizedValue),
675
- descriptionMessage: from,
676
- };
677
- };
678
- SankeyChartBase.prototype._normalizeSankeyData = function (data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes) {
679
- var _a;
680
- var sankey = (_a = preRenderLayout(this._margins, containerWidth, containerHeight, this._isRtl), _a.sankey), height = _a.height, width = _a.width;
681
- // Clone the data before mutating it (via the SankeyLayoutGenerator) so that we don't mutate the original data.
682
- var transformed = duplicateData(data);
683
- sankey(transformed);
684
- // NOTE: After the prior line, `transformed` is now a more-complex object than the incoming `ISankeyChartData`.
685
- // `transformed` should be cast to a more-specific type. This is a breaking change because we would be eliminating
686
- // fields from `ISankeyChartData` and putting those fields on a now-local type. But doing so makes it clearer what
687
- // the caller needs to supply and why. For example, the `actualValue` and `layer` fields of `ISNodeExtra` should
688
- // both be moved. Similarly for `unnormalizedValue` in `ISLinkExtra`.
689
- // `SankeyNodeMinimal` and `SankeyLinkMinimal` are both the types after `sankey(transformed)`, but have almost no
690
- // bearing on the data before `sankey(transformed)` (which is basically nodes with ids and names along with links
691
- // with source index, target index, and value).
692
- var nodesInColumn = groupNodesByColumn(transformed);
693
- this._numColumns = Object.keys(nodesInColumn).length;
694
- // Keep track of the original values of the links and their acccumulated values in the nodes
695
- // Setting these in external objects so they cannot be mutated by other code.
696
- // The IDs of nodes can be numbers or strings. But, the IDs of links are always the index into the "nodes" array.
697
- // After the sankey layout is computed, the each link's `source` and `target` will have the ID of the node in the
698
- // type originally specified in the Nodes array. Consequently, we get the values of those links after the sankey
699
- // transformation.
700
- var nodeValues = valuesOfNodes(transformed.nodes);
701
- var linkValues = valuesOfLinks(transformed.links);
702
- adjustOnePercentHeightNodes(nodesInColumn, nodeValues, linkValues);
703
- adjustPadding(sankey, height - 6, nodesInColumn);
704
- // `sankey` is called a second time, probably to re-layout the nodes with the one-percent adjusted weights.
705
- // NOTE: The second call to `sankey` is required to allow links to be hoverable.
706
- // Without the second call, the links are not hoverable.
707
- sankey(transformed);
708
- populateNodeActualValue(transformed, nodeValues, linkValues);
709
- assignNodeColors(transformed.nodes, colorsForNodes, borderColorsForNodes);
710
- return {
711
- width: width,
712
- height: height,
713
- nodes: transformed.nodes,
714
- links: transformed.links,
715
- };
716
- };
717
- SankeyChartBase.prototype._labelTooltipDiv = function (classNames) {
718
- // find the tooltip div. If it doesn't exist, then create it.
719
- var tooltipDiv = (0, d3_selection_1.select)("#".concat(this._labelTooltipId));
720
- if (tooltipDiv.empty()) {
721
- tooltipDiv = (0, d3_selection_1.select)('body')
722
- .append('div')
723
- .attr('id', this._labelTooltipId)
724
- .attr('class', classNames.toolTip)
725
- .style('opacity', 0);
726
- }
727
- // If the div exists, then `classNames` has changed; update the `class` on the `div`.
728
- tooltipDiv.attr('class', classNames.toolTip);
729
- return tooltipDiv;
730
- };
731
- SankeyChartBase.prototype._createLinks = function (dataLinks, linkAttributes) {
732
- var _this = this;
733
- if (dataLinks) {
734
- var linkId_1 = this._linkId;
735
- return dataLinks.map(function (singleLink, index) {
736
- var _a;
737
- var onMouseOut = function () {
738
- _this._onStreamLeave(singleLink);
739
- };
740
- var reactId = (_a = linkValue(linkAttributes, singleLink), _a.reactId), from = _a.from, aria = _a.aria;
741
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
742
- var dataPoints = linkToDataPoints(singleLink);
743
- var key = "".concat(linkId_1, "-").concat(index);
744
- var gradientId = "gradient-".concat(key);
745
- var gradientUrl = "url(#".concat(gradientId, ")");
746
- var source = singleLink.source;
747
- var target = singleLink.target;
748
- // TODO: localize the aria-label string
749
- return (React.createElement("g", { key: key },
750
- React.createElement("defs", null,
751
- React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "0%" },
752
- React.createElement("stop", { offset: "0", stopColor: source.color }),
753
- React.createElement("stop", { offset: "100%", stopColor: target.color }))),
754
- 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" })));
755
- });
756
- }
757
- return [];
758
- };
759
- SankeyChartBase.prototype._createNodes = function (classNames, dataNodes, nodeAttributes, tooltipDiv) {
760
- var _this = this;
761
- if (dataNodes) {
762
- var state_1 = this.state;
763
- var textAnchor_1 = this._isRtl ? 'end' : 'start';
764
- return dataNodes.map(function (singleNode, index) {
765
- var _a;
766
- var onMouseOut = function () {
767
- _this._onLeave(singleNode);
768
- };
769
- 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;
770
- var tooTall = height > MIN_HEIGHT_FOR_DOUBLINE_TYPE;
771
- var name = singleNode.name, actualValue = singleNode.actualValue, x0 = singleNode.x0, x1 = singleNode.x1, y0 = singleNode.y0;
772
- var textColor = nodeTextColor(state_1, singleNode);
773
- return (React.createElement("g", { key: index, id: gElementId },
774
- 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" }),
775
- height > MIN_HEIGHT_FOR_TYPE && (React.createElement("g", { className: classNames.nodeTextContainer },
776
- React.createElement("g", { className: "nodeName" },
777
- 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)),
778
- 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)))));
779
- });
780
- }
781
- };
782
- SankeyChartBase.prototype._onLeave = function (singleNode) {
783
- if (this.state.selectedState) {
784
- this.setState({
785
- selectedState: false,
786
- selectedNodes: new Set(),
787
- selectedLinks: new Set(),
788
- selectedNode: undefined,
789
- });
790
- }
791
- };
792
- SankeyChartBase.prototype._onHover = function (singleNode, mouseEvent) {
793
- mouseEvent.persist();
794
- this._onCloseCallout();
795
- if (!this.state.selectedState) {
796
- var selectedLinks = getSelectedLinks(singleNode);
797
- var selectedNodes = getSelectedNodes(selectedLinks);
798
- selectedNodes.push(singleNode);
799
- this.setState({
800
- selectedState: true,
801
- selectedNodes: new Set(Array.from(selectedNodes).map(function (node) { return node.index; })),
802
- selectedLinks: new Set(Array.from(selectedLinks).map(function (link) { return link.index; })),
803
- selectedNode: singleNode,
804
- refSelected: mouseEvent,
805
- isCalloutVisible: singleNode.y1 - singleNode.y0 < MIN_HEIGHT_FOR_TYPE,
806
- color: singleNode.color,
807
- xCalloutValue: singleNode.name,
808
- yCalloutValue: this._formatNumber(singleNode.actualValue),
809
- });
810
- }
811
- };
812
- SankeyChartBase.prototype._formatNumber = function (value) {
813
- return this.props.formatNumberOptions
814
- ? value.toLocaleString(undefined, this.props.formatNumberOptions)
815
- : value.toString();
816
- };
817
- SankeyChartBase.prototype._onStreamHover = function (mouseEvent, singleLink, from) {
818
- var _a;
819
- mouseEvent.persist();
820
- this._onCloseCallout();
821
- if (!this.state.selectedState) {
822
- var selectedLinks = (_a = getSelectedLinksforStreamHover(singleLink), _a.selectedLinks), selectedNodes = _a.selectedNodes;
823
- 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)));
824
- }
825
- };
826
- SankeyChartBase.prototype._onStreamLeave = function (singleLink) {
827
- if (this.state.selectedState) {
828
- this.setState({
829
- selectedState: false,
830
- selectedNodes: new Set(),
831
- selectedLinks: new Set(),
832
- selectedLink: undefined,
833
- });
834
- }
835
- };
836
- SankeyChartBase.prototype._onFocusLink = function (element, singleLink, from) {
837
- // There is a big difference in how "Tab" and the "Arrow keys" are handled in this diagram.
838
- // In particular, I would expect the "Down" key to be like "Tab", but it jumps a little wildly. I'm not sure
839
- // if this behavior is an accessiblity violation, but it we might want to investigate it.
840
- element.persist();
841
- this._onCloseCallout();
842
- this.setState(tslib_1.__assign({ refSelected: element.currentTarget }, this._linkCalloutAttributes(singleLink, from)));
843
- };
844
- SankeyChartBase.prototype._fillStreamColors = function (singleLink, gradientUrl) {
845
- var state = this.state;
846
- if (state.selectedState && state.selectedLinks.has(singleLink.index)) {
847
- var selectedNode = state.selectedNode;
848
- return selectedNode ? selectedNode.color : gradientUrl;
849
- }
850
- };
851
- SankeyChartBase.prototype._fillStreamBorder = function (singleLink, gradientUrl) {
852
- var state = this.state;
853
- if (!state.selectedState) {
854
- return NON_SELECTED_NODE_AND_STREAM_COLOR;
855
- }
856
- else {
857
- if (state.selectedLinks.has(singleLink.index)) {
858
- var selectedNode = state.selectedNode;
859
- return selectedNode ? selectedNode.borderColor : gradientUrl;
860
- }
861
- return NON_SELECTED_NODE_AND_STREAM_COLOR;
862
- }
863
- };
864
- SankeyChartBase.prototype._getOpacityStream = function (singleLink) {
865
- var state = this.state;
866
- if (state.selectedState) {
867
- if (!state.selectedLinks.has(singleLink.index)) {
868
- return NON_SELECTED_OPACITY;
869
- }
870
- else if (!state.selectedNode) {
871
- return SELECTED_STREAM_OPACITY;
872
- }
873
- }
874
- return REST_STREAM_OPACITY;
875
- };
876
- SankeyChartBase.prototype._getOpacityStreamBorder = function (singleLink) {
877
- var state = this.state;
878
- if (state.selectedState && !state.selectedLinks.has(singleLink.index) && !state.selectedNode) {
879
- return NON_SELECTED_STREAM_BORDER_OPACITY;
880
- }
881
- return NON_SELECTED_OPACITY;
882
- };
883
- SankeyChartBase.prototype._fitParentContainer = function () {
884
- var _a;
885
- var _this = this;
886
- var containerWidth = (_a = this.state, _a.containerWidth), containerHeight = _a.containerHeight;
887
- this._reqID = requestAnimationFrame(function () {
888
- // NOTE: Calls to this method trigger a re-render.
889
- var container = _this.props.parentRef ? _this.props.parentRef : _this.chartContainer;
890
- var currentContainerWidth = container &&
891
- (_this.props.enableReflow
892
- ? Math.max(container.getBoundingClientRect().width, _this._calculateChartMinWidth())
893
- : container.getBoundingClientRect().width);
894
- var currentContainerHeight = container && container.getBoundingClientRect().height;
895
- var shouldResize = containerWidth !== currentContainerWidth || containerHeight !== currentContainerHeight;
896
- if (shouldResize) {
897
- _this.setState({
898
- containerWidth: currentContainerWidth,
899
- containerHeight: currentContainerHeight,
900
- });
901
- }
902
- });
903
- };
904
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
905
- SankeyChartBase.prototype._showTooltip = function (text, checkTrcuncated, div, evt) {
906
- if (checkTrcuncated) {
907
- //Fixing tooltip position by attaching it to the element rather than page
908
- div.style('opacity', 0.9);
909
- div
910
- .html(text)
911
- .style('left', evt.pageX + 'px')
912
- .style('top', evt.pageY - 28 + 'px');
913
- }
914
- };
915
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
916
- SankeyChartBase.prototype._hideTooltip = function (div) {
917
- div.style('opacity', 0);
918
- };
919
- SankeyChartBase.prototype._isChartEmpty = function () {
920
- var _a;
921
- var sankeyChartData = (_a = this.props.data) === null || _a === void 0 ? void 0 : _a.SankeyChartData;
922
- return !(sankeyChartData && sankeyChartData.nodes.length > 0 && sankeyChartData.links.length > 0);
923
- };
924
- SankeyChartBase.defaultProps = {
925
- enableReflow: true,
926
- };
927
- return SankeyChartBase;
928
- }(React.Component));
929
- });
930
- //# sourceMappingURL=SankeyChart.base.js.map