@fluentui/react-charting 5.16.23 → 5.16.25

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 (794) hide show
  1. package/CHANGELOG.json +75 -1
  2. package/CHANGELOG.md +26 -2
  3. package/config/setup-env.js +1 -0
  4. package/docs/TestPlans/BasicDonutChart.png +0 -0
  5. package/docs/TestPlans/DonutChart/ComponentTests.md +35 -0
  6. package/lib/AreaChart.d.ts +1 -0
  7. package/lib/AreaChart.js +2 -0
  8. package/lib/AreaChart.js.map +1 -0
  9. package/lib/CartesianChart.d.ts +1 -0
  10. package/lib/CartesianChart.js +2 -0
  11. package/lib/CartesianChart.js.map +1 -0
  12. package/lib/DonutChart.d.ts +1 -0
  13. package/lib/DonutChart.js +2 -0
  14. package/lib/DonutChart.js.map +1 -0
  15. package/lib/GroupedVerticalBarChart.d.ts +1 -0
  16. package/lib/GroupedVerticalBarChart.js +2 -0
  17. package/lib/GroupedVerticalBarChart.js.map +1 -0
  18. package/lib/HeatMapChart.d.ts +1 -0
  19. package/lib/HeatMapChart.js +2 -0
  20. package/lib/HeatMapChart.js.map +1 -0
  21. package/lib/HorizontalBarChart.d.ts +1 -0
  22. package/lib/HorizontalBarChart.js +2 -0
  23. package/lib/HorizontalBarChart.js.map +1 -0
  24. package/lib/Legends.d.ts +1 -0
  25. package/lib/Legends.js +2 -0
  26. package/lib/Legends.js.map +1 -0
  27. package/lib/LineChart.d.ts +1 -0
  28. package/lib/LineChart.js +2 -0
  29. package/lib/LineChart.js.map +1 -0
  30. package/lib/PieChart.d.ts +1 -0
  31. package/lib/PieChart.js +2 -0
  32. package/lib/PieChart.js.map +1 -0
  33. package/lib/SankeyChart.d.ts +1 -0
  34. package/lib/SankeyChart.js +2 -0
  35. package/lib/SankeyChart.js.map +1 -0
  36. package/lib/Sparkline.d.ts +1 -0
  37. package/lib/Sparkline.js +2 -0
  38. package/lib/Sparkline.js.map +1 -0
  39. package/lib/StackedBarChart.d.ts +1 -0
  40. package/lib/StackedBarChart.js +2 -0
  41. package/lib/StackedBarChart.js.map +1 -0
  42. package/lib/Styling.d.ts +2 -0
  43. package/lib/Styling.js +8 -0
  44. package/lib/Styling.js.map +1 -0
  45. package/lib/TreeChart.d.ts +1 -0
  46. package/lib/TreeChart.js +2 -0
  47. package/lib/TreeChart.js.map +1 -0
  48. package/lib/Utilities.d.ts +2 -0
  49. package/lib/Utilities.js +20 -0
  50. package/lib/Utilities.js.map +1 -0
  51. package/lib/VerticalBarChart.d.ts +1 -0
  52. package/lib/VerticalBarChart.js +2 -0
  53. package/lib/VerticalBarChart.js.map +1 -0
  54. package/lib/VerticalStackedBarChart.d.ts +1 -0
  55. package/lib/VerticalStackedBarChart.js +2 -0
  56. package/lib/VerticalStackedBarChart.js.map +1 -0
  57. package/lib/components/AreaChart/AreaChart.base.d.ts +92 -0
  58. package/lib/components/AreaChart/AreaChart.base.js +562 -0
  59. package/lib/components/AreaChart/AreaChart.base.js.map +1 -0
  60. package/lib/components/AreaChart/AreaChart.d.ts +3 -0
  61. package/lib/components/AreaChart/AreaChart.js +6 -0
  62. package/lib/components/AreaChart/AreaChart.js.map +1 -0
  63. package/lib/components/AreaChart/AreaChart.styles.d.ts +2 -0
  64. package/lib/components/AreaChart/AreaChart.styles.js +7 -0
  65. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -0
  66. package/lib/components/AreaChart/AreaChart.types.d.ts +37 -0
  67. package/lib/components/AreaChart/AreaChart.types.js +2 -0
  68. package/lib/components/AreaChart/AreaChart.types.js.map +1 -0
  69. package/lib/components/AreaChart/index.d.ts +2 -0
  70. package/lib/components/AreaChart/index.js +3 -0
  71. package/lib/components/AreaChart/index.js.map +1 -0
  72. package/lib/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  73. package/lib/components/CommonComponents/CartesianChart.base.js +331 -0
  74. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -0
  75. package/lib/components/CommonComponents/CartesianChart.d.ts +3 -0
  76. package/lib/components/CommonComponents/CartesianChart.js +5 -0
  77. package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
  78. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  79. package/lib/components/CommonComponents/CartesianChart.styles.js +163 -0
  80. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  81. package/lib/components/CommonComponents/CartesianChart.types.d.ts +428 -0
  82. package/lib/components/CommonComponents/CartesianChart.types.js +2 -0
  83. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
  84. package/lib/components/CommonComponents/index.d.ts +2 -0
  85. package/lib/components/CommonComponents/index.js +3 -0
  86. package/lib/components/CommonComponents/index.js.map +1 -0
  87. package/lib/components/DonutChart/Arc/Arc.d.ts +21 -0
  88. package/lib/components/DonutChart/Arc/Arc.js +86 -0
  89. package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
  90. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  91. package/lib/components/DonutChart/Arc/Arc.styles.js +28 -0
  92. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  93. package/lib/components/DonutChart/Arc/Arc.types.d.ts +124 -0
  94. package/lib/components/DonutChart/Arc/Arc.types.js +2 -0
  95. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
  96. package/lib/components/DonutChart/Arc/index.d.ts +2 -0
  97. package/lib/components/DonutChart/Arc/index.js +3 -0
  98. package/lib/components/DonutChart/Arc/index.js.map +1 -0
  99. package/lib/components/DonutChart/DonutChart.base.d.ts +50 -0
  100. package/lib/components/DonutChart/DonutChart.base.js +211 -0
  101. package/lib/components/DonutChart/DonutChart.base.js.map +1 -0
  102. package/lib/components/DonutChart/DonutChart.d.ts +3 -0
  103. package/lib/components/DonutChart/DonutChart.js +6 -0
  104. package/lib/components/DonutChart/DonutChart.js.map +1 -0
  105. package/lib/components/DonutChart/DonutChart.styles.d.ts +2 -0
  106. package/lib/components/DonutChart/DonutChart.styles.js +30 -0
  107. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -0
  108. package/lib/components/DonutChart/DonutChart.types.d.ts +63 -0
  109. package/lib/components/DonutChart/DonutChart.types.js +2 -0
  110. package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
  111. package/lib/components/DonutChart/Pie/Pie.d.ts +15 -0
  112. package/lib/components/DonutChart/Pie/Pie.js +71 -0
  113. package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
  114. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  115. package/lib/components/DonutChart/Pie/Pie.styles.js +19 -0
  116. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  117. package/lib/components/DonutChart/Pie/Pie.types.d.ts +96 -0
  118. package/lib/components/DonutChart/Pie/Pie.types.js +2 -0
  119. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
  120. package/lib/components/DonutChart/Pie/index.d.ts +2 -0
  121. package/lib/components/DonutChart/Pie/index.js +3 -0
  122. package/lib/components/DonutChart/Pie/index.js.map +1 -0
  123. package/lib/components/DonutChart/index.d.ts +3 -0
  124. package/lib/components/DonutChart/index.js +4 -0
  125. package/lib/components/DonutChart/index.js.map +1 -0
  126. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +62 -0
  127. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +381 -0
  128. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +6 -0
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +17 -0
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +83 -0
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +2 -0
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  138. package/lib/components/GroupedVerticalBarChart/index.d.ts +2 -0
  139. package/lib/components/GroupedVerticalBarChart/index.js +3 -0
  140. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -0
  141. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +147 -0
  142. package/lib/components/HeatMapChart/HeatMapChart.base.js +498 -0
  143. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  144. package/lib/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  145. package/lib/components/HeatMapChart/HeatMapChart.js +5 -0
  146. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -0
  147. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  148. package/lib/components/HeatMapChart/HeatMapChart.styles.js +24 -0
  149. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  150. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  151. package/lib/components/HeatMapChart/HeatMapChart.types.js +2 -0
  152. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  153. package/lib/components/HeatMapChart/index.d.ts +2 -0
  154. package/lib/components/HeatMapChart/index.js +3 -0
  155. package/lib/components/HeatMapChart/index.js.map +1 -0
  156. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +36 -0
  157. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +237 -0
  158. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +6 -0
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +69 -0
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +172 -0
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +6 -0
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  168. package/lib/components/HorizontalBarChart/index.d.ts +3 -0
  169. package/lib/components/HorizontalBarChart/index.js +4 -0
  170. package/lib/components/HorizontalBarChart/index.js.map +1 -0
  171. package/lib/components/Legends/Legends.base.d.ts +44 -0
  172. package/lib/components/Legends/Legends.base.js +293 -0
  173. package/lib/components/Legends/Legends.base.js.map +1 -0
  174. package/lib/components/Legends/Legends.d.ts +3 -0
  175. package/lib/components/Legends/Legends.js +5 -0
  176. package/lib/components/Legends/Legends.js.map +1 -0
  177. package/lib/components/Legends/Legends.styles.d.ts +2 -0
  178. package/lib/components/Legends/Legends.styles.js +103 -0
  179. package/lib/components/Legends/Legends.styles.js.map +1 -0
  180. package/lib/components/Legends/Legends.types.d.ts +169 -0
  181. package/lib/components/Legends/Legends.types.js +2 -0
  182. package/lib/components/Legends/Legends.types.js.map +1 -0
  183. package/lib/components/Legends/index.d.ts +3 -0
  184. package/lib/components/Legends/index.js +4 -0
  185. package/lib/components/Legends/index.js.map +1 -0
  186. package/lib/components/Legends/shape.d.ts +9 -0
  187. package/lib/components/Legends/shape.js +24 -0
  188. package/lib/components/Legends/shape.js.map +1 -0
  189. package/lib/components/LineChart/LineChart.base.d.ts +84 -0
  190. package/lib/components/LineChart/LineChart.base.js +815 -0
  191. package/lib/components/LineChart/LineChart.base.js.map +1 -0
  192. package/lib/components/LineChart/LineChart.d.ts +3 -0
  193. package/lib/components/LineChart/LineChart.js +6 -0
  194. package/lib/components/LineChart/LineChart.js.map +1 -0
  195. package/lib/components/LineChart/LineChart.styles.d.ts +2 -0
  196. package/lib/components/LineChart/LineChart.styles.js +7 -0
  197. package/lib/components/LineChart/LineChart.styles.js.map +1 -0
  198. package/lib/components/LineChart/LineChart.types.d.ts +72 -0
  199. package/lib/components/LineChart/LineChart.types.js +2 -0
  200. package/lib/components/LineChart/LineChart.types.js.map +1 -0
  201. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  202. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +93 -0
  203. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  204. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  205. package/lib/components/LineChart/eventAnnotation/LabelLink.js +37 -0
  206. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  207. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  208. package/lib/components/LineChart/eventAnnotation/Textbox.js +37 -0
  209. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  210. package/lib/components/LineChart/index.d.ts +3 -0
  211. package/lib/components/LineChart/index.js +4 -0
  212. package/lib/components/LineChart/index.js.map +1 -0
  213. package/lib/components/PieChart/Arc/Arc.d.ts +12 -0
  214. package/lib/components/PieChart/Arc/Arc.js +57 -0
  215. package/lib/components/PieChart/Arc/Arc.js.map +1 -0
  216. package/lib/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  217. package/lib/components/PieChart/Arc/Arc.styles.js +8 -0
  218. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -0
  219. package/lib/components/PieChart/Arc/Arc.types.d.ts +60 -0
  220. package/lib/components/PieChart/Arc/Arc.types.js +2 -0
  221. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -0
  222. package/lib/components/PieChart/Arc/index.d.ts +2 -0
  223. package/lib/components/PieChart/Arc/index.js +3 -0
  224. package/lib/components/PieChart/Arc/index.js.map +1 -0
  225. package/lib/components/PieChart/Pie/Pie.d.ts +10 -0
  226. package/lib/components/PieChart/Pie/Pie.js +35 -0
  227. package/lib/components/PieChart/Pie/Pie.js.map +1 -0
  228. package/lib/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  229. package/lib/components/PieChart/Pie/Pie.styles.js +6 -0
  230. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -0
  231. package/lib/components/PieChart/Pie/Pie.types.d.ts +46 -0
  232. package/lib/components/PieChart/Pie/Pie.types.js +2 -0
  233. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -0
  234. package/lib/components/PieChart/Pie/index.d.ts +2 -0
  235. package/lib/components/PieChart/Pie/index.js +3 -0
  236. package/lib/components/PieChart/Pie/index.js.map +1 -0
  237. package/lib/components/PieChart/PieChart.base.d.ts +7 -0
  238. package/lib/components/PieChart/PieChart.base.js +34 -0
  239. package/lib/components/PieChart/PieChart.base.js.map +1 -0
  240. package/lib/components/PieChart/PieChart.d.ts +3 -0
  241. package/lib/components/PieChart/PieChart.js +6 -0
  242. package/lib/components/PieChart/PieChart.js.map +1 -0
  243. package/lib/components/PieChart/PieChart.styles.d.ts +2 -0
  244. package/lib/components/PieChart/PieChart.styles.js +29 -0
  245. package/lib/components/PieChart/PieChart.styles.js.map +1 -0
  246. package/lib/components/PieChart/PieChart.types.d.ts +63 -0
  247. package/lib/components/PieChart/PieChart.types.js +2 -0
  248. package/lib/components/PieChart/PieChart.types.js.map +1 -0
  249. package/lib/components/PieChart/index.d.ts +2 -0
  250. package/lib/components/PieChart/index.js +3 -0
  251. package/lib/components/PieChart/index.js.map +1 -0
  252. package/lib/components/SankeyChart/SankeyChart.base.d.ts +95 -0
  253. package/lib/components/SankeyChart/SankeyChart.base.js +674 -0
  254. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -0
  255. package/lib/components/SankeyChart/SankeyChart.d.ts +3 -0
  256. package/lib/components/SankeyChart/SankeyChart.js +6 -0
  257. package/lib/components/SankeyChart/SankeyChart.js.map +1 -0
  258. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  259. package/lib/components/SankeyChart/SankeyChart.styles.js +58 -0
  260. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  261. package/lib/components/SankeyChart/SankeyChart.types.d.ts +83 -0
  262. package/lib/components/SankeyChart/SankeyChart.types.js +2 -0
  263. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -0
  264. package/lib/components/SankeyChart/index.d.ts +2 -0
  265. package/lib/components/SankeyChart/index.js +3 -0
  266. package/lib/components/SankeyChart/index.js.map +1 -0
  267. package/lib/components/Sparkline/Sparkline.base.d.ts +20 -0
  268. package/lib/components/Sparkline/Sparkline.base.js +76 -0
  269. package/lib/components/Sparkline/Sparkline.base.js.map +1 -0
  270. package/lib/components/Sparkline/Sparkline.d.ts +3 -0
  271. package/lib/components/Sparkline/Sparkline.js +6 -0
  272. package/lib/components/Sparkline/Sparkline.js.map +1 -0
  273. package/lib/components/Sparkline/Sparkline.styles.d.ts +2 -0
  274. package/lib/components/Sparkline/Sparkline.styles.js +10 -0
  275. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -0
  276. package/lib/components/Sparkline/Sparkline.types.d.ts +51 -0
  277. package/lib/components/Sparkline/Sparkline.types.js +2 -0
  278. package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
  279. package/lib/components/Sparkline/index.d.ts +2 -0
  280. package/lib/components/Sparkline/index.js +3 -0
  281. package/lib/components/Sparkline/index.js.map +1 -0
  282. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +56 -0
  283. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +356 -0
  284. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.js +6 -0
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +90 -0
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +198 -0
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +6 -0
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  294. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +51 -0
  295. package/lib/components/StackedBarChart/StackedBarChart.base.js +311 -0
  296. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  297. package/lib/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  298. package/lib/components/StackedBarChart/StackedBarChart.js +6 -0
  299. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -0
  300. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  301. package/lib/components/StackedBarChart/StackedBarChart.styles.js +104 -0
  302. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  303. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +210 -0
  304. package/lib/components/StackedBarChart/StackedBarChart.types.js +2 -0
  305. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  306. package/lib/components/StackedBarChart/index.d.ts +5 -0
  307. package/lib/components/StackedBarChart/index.js +6 -0
  308. package/lib/components/StackedBarChart/index.js.map +1 -0
  309. package/lib/components/TreeChart/TreeChart.base.d.ts +18 -0
  310. package/lib/components/TreeChart/TreeChart.base.js +316 -0
  311. package/lib/components/TreeChart/TreeChart.base.js.map +1 -0
  312. package/lib/components/TreeChart/TreeChart.d.ts +3 -0
  313. package/lib/components/TreeChart/TreeChart.js +5 -0
  314. package/lib/components/TreeChart/TreeChart.js.map +1 -0
  315. package/lib/components/TreeChart/TreeChart.styles.d.ts +2 -0
  316. package/lib/components/TreeChart/TreeChart.styles.js +29 -0
  317. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -0
  318. package/lib/components/TreeChart/TreeChart.types.d.ts +197 -0
  319. package/lib/components/TreeChart/TreeChart.types.js +23 -0
  320. package/lib/components/TreeChart/TreeChart.types.js.map +1 -0
  321. package/lib/components/TreeChart/index.d.ts +2 -0
  322. package/lib/components/TreeChart/index.js +3 -0
  323. package/lib/components/TreeChart/index.js.map +1 -0
  324. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +74 -0
  325. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +536 -0
  326. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  327. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  328. package/lib/components/VerticalBarChart/VerticalBarChart.js +6 -0
  329. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  330. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  331. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +28 -0
  332. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  333. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +114 -0
  334. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +2 -0
  335. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  336. package/lib/components/VerticalBarChart/index.d.ts +2 -0
  337. package/lib/components/VerticalBarChart/index.js +3 -0
  338. package/lib/components/VerticalBarChart/index.js.map +1 -0
  339. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +85 -0
  340. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +666 -0
  341. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +6 -0
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +18 -0
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +142 -0
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +2 -0
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  351. package/lib/components/VerticalStackedBarChart/index.d.ts +2 -0
  352. package/lib/components/VerticalStackedBarChart/index.js +3 -0
  353. package/lib/components/VerticalStackedBarChart/index.js.map +1 -0
  354. package/lib/index.d.ts +19 -0
  355. package/lib/index.js +20 -0
  356. package/lib/index.js.map +1 -0
  357. package/lib/types/IDataPoint.d.ts +545 -0
  358. package/lib/types/IDataPoint.js +2 -0
  359. package/lib/types/IDataPoint.js.map +1 -0
  360. package/lib/types/IEventAnnotation.d.ts +6 -0
  361. package/lib/types/IEventAnnotation.js +2 -0
  362. package/lib/types/IEventAnnotation.js.map +1 -0
  363. package/lib/types/ILegendDataItem.d.ts +10 -0
  364. package/lib/types/ILegendDataItem.js +2 -0
  365. package/lib/types/ILegendDataItem.js.map +1 -0
  366. package/lib/types/index.d.ts +2 -0
  367. package/lib/types/index.js +3 -0
  368. package/lib/types/index.js.map +1 -0
  369. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  370. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +38 -0
  371. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +6 -0
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +82 -0
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +2 -0
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  381. package/lib/utilities/ChartHoverCard/index.d.ts +3 -0
  382. package/lib/utilities/ChartHoverCard/index.js +4 -0
  383. package/lib/utilities/ChartHoverCard/index.js.map +1 -0
  384. package/lib/utilities/FocusableTooltipText.d.ts +27 -0
  385. package/lib/utilities/FocusableTooltipText.js +54 -0
  386. package/lib/utilities/FocusableTooltipText.js.map +1 -0
  387. package/lib/utilities/colors.d.ts +51 -0
  388. package/lib/utilities/colors.js +132 -0
  389. package/lib/utilities/colors.js.map +1 -0
  390. package/lib/utilities/index.d.ts +3 -0
  391. package/lib/utilities/index.js +4 -0
  392. package/lib/utilities/index.js.map +1 -0
  393. package/lib/utilities/utilities.d.ts +377 -0
  394. package/lib/utilities/utilities.js +864 -0
  395. package/lib/utilities/utilities.js.map +1 -0
  396. package/lib/version.d.ts +1 -0
  397. package/lib/version.js +5 -0
  398. package/lib/version.js.map +1 -0
  399. package/lib-amd/AreaChart.d.ts +1 -0
  400. package/lib-amd/AreaChart.js +6 -0
  401. package/lib-amd/AreaChart.js.map +1 -0
  402. package/lib-amd/CartesianChart.d.ts +1 -0
  403. package/lib-amd/CartesianChart.js +6 -0
  404. package/lib-amd/CartesianChart.js.map +1 -0
  405. package/lib-amd/DonutChart.d.ts +1 -0
  406. package/lib-amd/DonutChart.js +6 -0
  407. package/lib-amd/DonutChart.js.map +1 -0
  408. package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
  409. package/lib-amd/GroupedVerticalBarChart.js +6 -0
  410. package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
  411. package/lib-amd/HeatMapChart.d.ts +1 -0
  412. package/lib-amd/HeatMapChart.js +6 -0
  413. package/lib-amd/HeatMapChart.js.map +1 -0
  414. package/lib-amd/HorizontalBarChart.d.ts +1 -0
  415. package/lib-amd/HorizontalBarChart.js +6 -0
  416. package/lib-amd/HorizontalBarChart.js.map +1 -0
  417. package/lib-amd/Legends.d.ts +1 -0
  418. package/lib-amd/Legends.js +6 -0
  419. package/lib-amd/Legends.js.map +1 -0
  420. package/lib-amd/LineChart.d.ts +1 -0
  421. package/lib-amd/LineChart.js +6 -0
  422. package/lib-amd/LineChart.js.map +1 -0
  423. package/lib-amd/PieChart.d.ts +1 -0
  424. package/lib-amd/PieChart.js +6 -0
  425. package/lib-amd/PieChart.js.map +1 -0
  426. package/lib-amd/SankeyChart.d.ts +1 -0
  427. package/lib-amd/SankeyChart.js +6 -0
  428. package/lib-amd/SankeyChart.js.map +1 -0
  429. package/lib-amd/Sparkline.d.ts +1 -0
  430. package/lib-amd/Sparkline.js +6 -0
  431. package/lib-amd/Sparkline.js.map +1 -0
  432. package/lib-amd/StackedBarChart.d.ts +1 -0
  433. package/lib-amd/StackedBarChart.js +6 -0
  434. package/lib-amd/StackedBarChart.js.map +1 -0
  435. package/lib-amd/Styling.d.ts +2 -0
  436. package/lib-amd/Styling.js +75 -0
  437. package/lib-amd/Styling.js.map +1 -0
  438. package/lib-amd/TreeChart.d.ts +1 -0
  439. package/lib-amd/TreeChart.js +6 -0
  440. package/lib-amd/TreeChart.js.map +1 -0
  441. package/lib-amd/Utilities.d.ts +2 -0
  442. package/lib-amd/Utilities.js +183 -0
  443. package/lib-amd/Utilities.js.map +1 -0
  444. package/lib-amd/VerticalBarChart.d.ts +1 -0
  445. package/lib-amd/VerticalBarChart.js +6 -0
  446. package/lib-amd/VerticalBarChart.js.map +1 -0
  447. package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
  448. package/lib-amd/VerticalStackedBarChart.js +6 -0
  449. package/lib-amd/VerticalStackedBarChart.js.map +1 -0
  450. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +92 -0
  451. package/lib-amd/components/AreaChart/AreaChart.base.js +555 -0
  452. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
  453. package/lib-amd/components/AreaChart/AreaChart.d.ts +3 -0
  454. package/lib-amd/components/AreaChart/AreaChart.js +8 -0
  455. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
  456. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
  457. package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
  458. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
  459. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +37 -0
  460. package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
  461. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
  462. package/lib-amd/components/AreaChart/index.d.ts +2 -0
  463. package/lib-amd/components/AreaChart/index.js +7 -0
  464. package/lib-amd/components/AreaChart/index.js.map +1 -0
  465. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  466. package/lib-amd/components/CommonComponents/CartesianChart.base.js +329 -0
  467. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
  468. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +3 -0
  469. package/lib-amd/components/CommonComponents/CartesianChart.js +7 -0
  470. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
  471. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  472. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +166 -0
  473. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  474. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +428 -0
  475. package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
  476. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
  477. package/lib-amd/components/CommonComponents/index.d.ts +2 -0
  478. package/lib-amd/components/CommonComponents/index.js +7 -0
  479. package/lib-amd/components/CommonComponents/index.js.map +1 -0
  480. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +21 -0
  481. package/lib-amd/components/DonutChart/Arc/Arc.js +85 -0
  482. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
  483. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  484. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +33 -0
  485. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  486. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +124 -0
  487. package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
  488. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
  489. package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
  490. package/lib-amd/components/DonutChart/Arc/index.js +7 -0
  491. package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
  492. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +50 -0
  493. package/lib-amd/components/DonutChart/DonutChart.base.js +208 -0
  494. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
  495. package/lib-amd/components/DonutChart/DonutChart.d.ts +3 -0
  496. package/lib-amd/components/DonutChart/DonutChart.js +8 -0
  497. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
  498. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
  499. package/lib-amd/components/DonutChart/DonutChart.styles.js +36 -0
  500. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
  501. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +63 -0
  502. package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
  503. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
  504. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +15 -0
  505. package/lib-amd/components/DonutChart/Pie/Pie.js +69 -0
  506. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
  507. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  508. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +24 -0
  509. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  510. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +96 -0
  511. package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
  512. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
  513. package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
  514. package/lib-amd/components/DonutChart/Pie/index.js +7 -0
  515. package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
  516. package/lib-amd/components/DonutChart/index.d.ts +3 -0
  517. package/lib-amd/components/DonutChart/index.js +8 -0
  518. package/lib-amd/components/DonutChart/index.js.map +1 -0
  519. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +62 -0
  520. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +375 -0
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +8 -0
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  526. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  527. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  528. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +83 -0
  529. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
  530. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  531. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
  532. package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
  533. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
  534. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +147 -0
  535. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +492 -0
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.js +7 -0
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  541. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +29 -0
  542. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  543. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  544. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
  545. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  546. package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
  547. package/lib-amd/components/HeatMapChart/index.js +7 -0
  548. package/lib-amd/components/HeatMapChart/index.js.map +1 -0
  549. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +36 -0
  550. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +233 -0
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +8 -0
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  556. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +72 -0
  557. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  558. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +172 -0
  559. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +11 -0
  560. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  561. package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
  562. package/lib-amd/components/HorizontalBarChart/index.js +8 -0
  563. package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
  564. package/lib-amd/components/Legends/Legends.base.d.ts +44 -0
  565. package/lib-amd/components/Legends/Legends.base.js +290 -0
  566. package/lib-amd/components/Legends/Legends.base.js.map +1 -0
  567. package/lib-amd/components/Legends/Legends.d.ts +3 -0
  568. package/lib-amd/components/Legends/Legends.js +7 -0
  569. package/lib-amd/components/Legends/Legends.js.map +1 -0
  570. package/lib-amd/components/Legends/Legends.styles.d.ts +2 -0
  571. package/lib-amd/components/Legends/Legends.styles.js +107 -0
  572. package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
  573. package/lib-amd/components/Legends/Legends.types.d.ts +169 -0
  574. package/lib-amd/components/Legends/Legends.types.js +5 -0
  575. package/lib-amd/components/Legends/Legends.types.js.map +1 -0
  576. package/lib-amd/components/Legends/index.d.ts +3 -0
  577. package/lib-amd/components/Legends/index.js +8 -0
  578. package/lib-amd/components/Legends/index.js.map +1 -0
  579. package/lib-amd/components/Legends/shape.d.ts +9 -0
  580. package/lib-amd/components/Legends/shape.js +27 -0
  581. package/lib-amd/components/Legends/shape.js.map +1 -0
  582. package/lib-amd/components/LineChart/LineChart.base.d.ts +84 -0
  583. package/lib-amd/components/LineChart/LineChart.base.js +809 -0
  584. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
  585. package/lib-amd/components/LineChart/LineChart.d.ts +3 -0
  586. package/lib-amd/components/LineChart/LineChart.js +8 -0
  587. package/lib-amd/components/LineChart/LineChart.js.map +1 -0
  588. package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
  589. package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
  590. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
  591. package/lib-amd/components/LineChart/LineChart.types.d.ts +72 -0
  592. package/lib-amd/components/LineChart/LineChart.types.js +5 -0
  593. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
  594. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  595. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +95 -0
  596. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  597. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  598. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +40 -0
  599. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  600. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  601. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
  602. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  603. package/lib-amd/components/LineChart/index.d.ts +3 -0
  604. package/lib-amd/components/LineChart/index.js +8 -0
  605. package/lib-amd/components/LineChart/index.js.map +1 -0
  606. package/lib-amd/components/PieChart/Arc/Arc.d.ts +12 -0
  607. package/lib-amd/components/PieChart/Arc/Arc.js +56 -0
  608. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
  609. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  610. package/lib-amd/components/PieChart/Arc/Arc.styles.js +13 -0
  611. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
  612. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +60 -0
  613. package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
  614. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
  615. package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
  616. package/lib-amd/components/PieChart/Arc/index.js +7 -0
  617. package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
  618. package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
  619. package/lib-amd/components/PieChart/Pie/Pie.js +35 -0
  620. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
  621. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  622. package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
  623. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
  624. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +46 -0
  625. package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
  626. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
  627. package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
  628. package/lib-amd/components/PieChart/Pie/index.js +7 -0
  629. package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
  630. package/lib-amd/components/PieChart/PieChart.base.d.ts +7 -0
  631. package/lib-amd/components/PieChart/PieChart.base.js +35 -0
  632. package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
  633. package/lib-amd/components/PieChart/PieChart.d.ts +3 -0
  634. package/lib-amd/components/PieChart/PieChart.js +8 -0
  635. package/lib-amd/components/PieChart/PieChart.js.map +1 -0
  636. package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
  637. package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
  638. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
  639. package/lib-amd/components/PieChart/PieChart.types.d.ts +63 -0
  640. package/lib-amd/components/PieChart/PieChart.types.js +5 -0
  641. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
  642. package/lib-amd/components/PieChart/index.d.ts +2 -0
  643. package/lib-amd/components/PieChart/index.js +7 -0
  644. package/lib-amd/components/PieChart/index.js.map +1 -0
  645. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +95 -0
  646. package/lib-amd/components/SankeyChart/SankeyChart.base.js +669 -0
  647. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
  648. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +3 -0
  649. package/lib-amd/components/SankeyChart/SankeyChart.js +8 -0
  650. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
  651. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  652. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +62 -0
  653. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  654. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +83 -0
  655. package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
  656. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
  657. package/lib-amd/components/SankeyChart/index.d.ts +2 -0
  658. package/lib-amd/components/SankeyChart/index.js +7 -0
  659. package/lib-amd/components/SankeyChart/index.js.map +1 -0
  660. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +20 -0
  661. package/lib-amd/components/Sparkline/Sparkline.base.js +74 -0
  662. package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
  663. package/lib-amd/components/Sparkline/Sparkline.d.ts +3 -0
  664. package/lib-amd/components/Sparkline/Sparkline.js +8 -0
  665. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
  666. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
  667. package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
  668. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
  669. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +51 -0
  670. package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
  671. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
  672. package/lib-amd/components/Sparkline/index.d.ts +2 -0
  673. package/lib-amd/components/Sparkline/index.js +7 -0
  674. package/lib-amd/components/Sparkline/index.js.map +1 -0
  675. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +56 -0
  676. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +351 -0
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +8 -0
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  682. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +93 -0
  683. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  684. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +198 -0
  685. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +11 -0
  686. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  687. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +51 -0
  688. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +308 -0
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.js +8 -0
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  694. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +108 -0
  695. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  696. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +210 -0
  697. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
  698. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  699. package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
  700. package/lib-amd/components/StackedBarChart/index.js +10 -0
  701. package/lib-amd/components/StackedBarChart/index.js.map +1 -0
  702. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
  703. package/lib-amd/components/TreeChart/TreeChart.base.js +314 -0
  704. package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
  705. package/lib-amd/components/TreeChart/TreeChart.d.ts +3 -0
  706. package/lib-amd/components/TreeChart/TreeChart.js +7 -0
  707. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
  708. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
  709. package/lib-amd/components/TreeChart/TreeChart.styles.js +34 -0
  710. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
  711. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +197 -0
  712. package/lib-amd/components/TreeChart/TreeChart.types.js +28 -0
  713. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
  714. package/lib-amd/components/TreeChart/index.d.ts +2 -0
  715. package/lib-amd/components/TreeChart/index.js +7 -0
  716. package/lib-amd/components/TreeChart/index.js.map +1 -0
  717. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +74 -0
  718. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +529 -0
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +8 -0
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  724. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  725. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  726. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +114 -0
  727. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
  728. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  729. package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
  730. package/lib-amd/components/VerticalBarChart/index.js +7 -0
  731. package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
  732. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +85 -0
  733. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +659 -0
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +8 -0
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  739. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  740. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  741. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +142 -0
  742. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
  743. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  744. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
  745. package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
  746. package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
  747. package/lib-amd/index.d.ts +19 -0
  748. package/lib-amd/index.js +23 -0
  749. package/lib-amd/index.js.map +1 -0
  750. package/lib-amd/types/IDataPoint.d.ts +545 -0
  751. package/lib-amd/types/IDataPoint.js +5 -0
  752. package/lib-amd/types/IDataPoint.js.map +1 -0
  753. package/lib-amd/types/IEventAnnotation.d.ts +6 -0
  754. package/lib-amd/types/IEventAnnotation.js +5 -0
  755. package/lib-amd/types/IEventAnnotation.js.map +1 -0
  756. package/lib-amd/types/ILegendDataItem.d.ts +10 -0
  757. package/lib-amd/types/ILegendDataItem.js +5 -0
  758. package/lib-amd/types/ILegendDataItem.js.map +1 -0
  759. package/lib-amd/types/index.d.ts +2 -0
  760. package/lib-amd/types/index.js +7 -0
  761. package/lib-amd/types/index.js.map +1 -0
  762. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  763. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  769. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +87 -0
  770. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  771. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  772. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
  773. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  774. package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
  775. package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
  776. package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
  777. package/lib-amd/utilities/FocusableTooltipText.d.ts +27 -0
  778. package/lib-amd/utilities/FocusableTooltipText.js +54 -0
  779. package/lib-amd/utilities/FocusableTooltipText.js.map +1 -0
  780. package/lib-amd/utilities/colors.d.ts +51 -0
  781. package/lib-amd/utilities/colors.js +139 -0
  782. package/lib-amd/utilities/colors.js.map +1 -0
  783. package/lib-amd/utilities/index.d.ts +3 -0
  784. package/lib-amd/utilities/index.js +8 -0
  785. package/lib-amd/utilities/index.js.map +1 -0
  786. package/lib-amd/utilities/utilities.d.ts +377 -0
  787. package/lib-amd/utilities/utilities.js +888 -0
  788. package/lib-amd/utilities/utilities.js.map +1 -0
  789. package/lib-amd/version.d.ts +1 -0
  790. package/lib-amd/version.js +6 -0
  791. package/lib-amd/version.js.map +1 -0
  792. package/lib-commonjs/version.js +1 -1
  793. package/lib-commonjs/version.js.map +1 -1
  794. package/package.json +7 -6
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.base.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGnG,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,UAAU,CAAC;AACtE,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,cAAc,EAAkD,MAAM,aAAa,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAGjG,IAAM,aAAa,GAAG,kBAAkB,EAA8C,CAAC;AACvF,IAAM,kBAAkB,GAAG,GAAG,CAAC;AAmB/B,IAAM,kCAAkC,GAAW,SAAS,CAAC;AAC7D,IAAM,mBAAmB,GAAiB;IACxC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD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ACA,IAAI,CAAC,IAAI,CAAC;iBACV,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC;iBAC/B,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;SACxC;IACH,CAAC;IAED,8DAA8D;IACtD,sCAAY,GAApB,UAAqB,GAAQ;QAC3B,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IAC1B,CAAC;IACH,sBAAC;AAAD,CAAC,AAnxBD,CAAqC,KAAK,CAAC,SAAS,GAmxBnD","sourcesContent":["import * as React from 'react';\nimport { classNamesFunction, getId, getRTL, memoizeFunction } from '@fluentui/react/lib/Utilities';\nimport { ISankeyChartData, ISankeyChartProps, ISankeyChartStyleProps, ISankeyChartStyles } from './SankeyChart.types';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\nimport * as d3Sankey from 'd3-sankey';\nimport { area as d3Area, curveBumpX as d3CurveBasis } from 'd3-shape';\nimport { sum as d3Sum } from 'd3-array';\nimport { ChartHoverCard, IBasestate, IChartHoverCardProps, SLink, SNode } from '../../index';\nimport { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { select, selectAll } from 'd3-selection';\nimport { FocusZone, FocusZoneDirection, FocusZoneTabbableElements } from '@fluentui/react-focus';\nimport { IMargins } from '../../utilities/utilities';\n\nconst getClassNames = classNamesFunction<ISankeyChartStyleProps, ISankeyChartStyles>();\nconst PADDING_PERCENTAGE = 0.3;\n\ntype NodesInColumns = { [key: number]: SNode[] };\ntype NodeColors = { fillColor: string; borderColor: string };\n\nexport interface ISankeyChartState extends IBasestate, IChartHoverCardProps {\n containerWidth: number;\n containerHeight: number;\n selectedState: boolean;\n selectedLinks: Set<Number>;\n selectedNodes: Set<Number>;\n selectedNode?: SNode;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n refSelected?: any;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n selectedLink?: SLink;\n shouldOverflow: boolean;\n}\n\nconst NON_SELECTED_NODE_AND_STREAM_COLOR: string = '#757575';\nconst DEFAULT_NODE_COLORS: NodeColors[] = [\n { fillColor: '#00758F', borderColor: '#002E39' },\n { fillColor: '#77004D', borderColor: '#43002C' },\n { fillColor: '#4F6BED', borderColor: '#3B52B4' },\n { fillColor: '#937600', borderColor: '#6D5700' },\n { fillColor: '#286EA8', borderColor: '#00457E' },\n { fillColor: '#A43FB1', borderColor: '#7C158A' },\n { fillColor: '#CC3595', borderColor: '#7F215D' },\n { fillColor: '#0E7878', borderColor: '#004E4E' },\n { fillColor: '#8764B8', borderColor: '#4B3867' },\n { fillColor: '#9C663F', borderColor: '#6D4123' },\n];\n\nconst MIN_HEIGHT_FOR_DOUBLINE_TYPE = 36;\nconst MIN_HEIGHT_FOR_TYPE = 24;\nconst REST_STREAM_OPACITY: number = 1;\nconst NON_SELECTED_OPACITY: number = 1;\nconst SELECTED_STREAM_OPACITY: number = 0.3;\nconst NON_SELECTED_STREAM_BORDER_OPACITY: number = 0.5;\nconst DEFAULT_TEXT_COLOR: string = '#323130';\nconst NON_SELECTED_TEXT_COLOR: string = '#FFFFFF';\n\nexport class SankeyChartBase extends React.Component<ISankeyChartProps, ISankeyChartState> {\n private _classNames: IProcessedStyleSet<ISankeyChartStyles>;\n private chartContainer: HTMLDivElement;\n private _reqID: number;\n private _calloutId: string;\n private _linkId: string;\n private _nodesInColumn: NodesInColumns;\n private _sankey: d3Sankey.SankeyLayout<d3Sankey.SankeyGraph<{}, {}>, {}, {}>;\n private _margins: IMargins;\n private _isRtl: boolean = getRTL();\n private _normalizeData: (data: ISankeyChartData) => void;\n\n constructor(props: ISankeyChartProps) {\n super(props);\n this.state = {\n containerHeight: 468,\n containerWidth: 912,\n selectedState: false,\n selectedLinks: new Set<number>(),\n selectedNodes: new Set<number>(),\n shouldOverflow: false,\n isCalloutVisible: false,\n };\n this._calloutId = getId('callout');\n this._linkId = getId('link');\n this._margins = { top: 36, right: 48, bottom: 32, left: 48 };\n this._preRenderLayout();\n this._normalizeData = memoizeFunction((data: ISankeyChartData) => this._normalizeSankeyData(data));\n }\n public componentDidMount(): void {\n this._fitParentContainer();\n }\n\n public componentDidUpdate(prevProps: ISankeyChartProps): void {\n if (prevProps.shouldResize !== this.props.shouldResize) {\n this._fitParentContainer();\n }\n }\n public componentWillUnmount(): void {\n cancelAnimationFrame(this._reqID);\n }\n public render(): React.ReactNode {\n const { theme, className, styles, pathColor } = this.props;\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n width: this.state.containerWidth,\n height: this.state.containerHeight,\n pathColor,\n className,\n });\n // We are using the this._margins.left and this._margins.top in sankey extent while constructing the layout\n const { height, width } = this._preRenderLayout();\n this._normalizeData(this.props.data.SankeyChartData!);\n let nodePadding = 8;\n nodePadding = this._adjustPadding(this._sankey, height - 6, this._nodesInColumn);\n\n this._sankey.nodePadding(nodePadding);\n this._sankey(this.props.data.SankeyChartData!);\n this._populateNodeActualValue(this.props.data.SankeyChartData!);\n this._assignNodeColors();\n const nodeData = this._createNodes(width);\n const linkData = this._createLinks();\n const calloutProps = {\n isCalloutVisible: this.state.isCalloutVisible,\n directionalHint: DirectionalHint.topAutoEdge,\n id: `toolTip${this._calloutId}`,\n target: this.state.refSelected,\n color: this.state.color,\n XValue: this.state.xCalloutValue,\n YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard,\n descriptionMessage: this.state.descriptionMessage,\n isBeakVisible: false,\n gapSpace: 15,\n onDismiss: this._onCloseCallout,\n className: this._classNames.calloutContentRoot,\n preventDismissOnLostFocus: true,\n };\n return (\n <div\n className={this._classNames.root}\n role={'presentation'}\n ref={(rootElem: HTMLDivElement) => (this.chartContainer = rootElem)}\n onMouseLeave={this._onCloseCallout}\n >\n <FocusZone\n direction={FocusZoneDirection.bidirectional}\n isCircularNavigation={true}\n handleTabKey={FocusZoneTabbableElements.all}\n >\n <svg width={width} height={height} id={getId('sankeyChart')}>\n <g className={this._classNames.links} strokeOpacity={1}>\n {linkData}\n </g>\n <g className={this._classNames.nodes}>{nodeData}</g>\n {calloutProps.isCalloutVisible && (\n <Callout {...calloutProps}>\n <ChartHoverCard\n XValue={calloutProps.XValue}\n YValue={calloutProps.YValue}\n color={calloutProps.color}\n descriptionMessage={calloutProps.descriptionMessage ? calloutProps.descriptionMessage : ''}\n />\n </Callout>\n )}\n </svg>\n </FocusZone>\n </div>\n );\n }\n\n private _preRenderLayout(): { height: number; width: number } {\n const width = this.state.containerWidth - this._margins.right!;\n const height =\n this.state.containerHeight - this._margins.bottom! > 0 ? this.state.containerHeight - this._margins.bottom! : 0;\n\n this._sankey = d3Sankey\n .sankey()\n .nodeWidth(124)\n .extent([\n [this._margins.left!, this._margins.top!],\n [width - 1, height - 6],\n ])\n .nodeAlign(this._isRtl ? d3Sankey.sankeyRight : d3Sankey.sankeyJustify);\n\n return { height, width };\n }\n\n /**\n * This is used for calculating the node non normalized value based on link non normalized value.\n *\n */\n private _populateNodeActualValue(data: ISankeyChartData) {\n data.links.forEach((link: SLink) => {\n if (!link.unnormalizedValue) {\n link.unnormalizedValue = link.value;\n }\n });\n data.nodes.forEach((node: SNode) => {\n node.actualValue = Math.max(\n d3Sum(node.sourceLinks!, (link: SLink) => link.unnormalizedValue),\n d3Sum(node.targetLinks!, (link: SLink) => link.unnormalizedValue),\n );\n });\n }\n\n private _normalizeSankeyData(data: ISankeyChartData): void {\n this._nodesInColumn = this._populateNodeInColumns(data, this._sankey);\n this._adjustOnePercentHeightNodes(this._nodesInColumn);\n }\n /**\n *\n * This is used to group nodes by column index.\n */\n private _populateNodeInColumns(\n graph: ISankeyChartData,\n sankey: d3Sankey.SankeyLayout<d3Sankey.SankeyGraph<{}, {}>, {}, {}>,\n ) {\n sankey(graph);\n const nodesInColumn: NodesInColumns = {};\n graph.nodes.forEach((node: SNode) => {\n const columnId = node.layer!;\n if (nodesInColumn[columnId]) {\n nodesInColumn[columnId].push(node);\n } else {\n nodesInColumn[columnId] = [node];\n }\n });\n return nodesInColumn;\n }\n\n /**\n * This is used to normalize the nodes value whose value is less than 1% of the total column value.\n *\n */\n private _adjustOnePercentHeightNodes(nodesInColumn: NodesInColumns) {\n const totalColumnValue = Object.values(nodesInColumn).map((column: SNode[]) => {\n return d3Sum(column, (node: SNode) => node.value);\n });\n totalColumnValue.forEach((columnValue: number, index: number) => {\n let totalPercentage = 0;\n nodesInColumn[index].forEach((node: SNode) => {\n const nodePercentage = (node.value! / columnValue) * 100;\n node.actualValue = node.value;\n //if the value is less than 1% then we are making it as 1% of total .\n if (nodePercentage < 1) {\n node.value = 0.01 * columnValue;\n totalPercentage = totalPercentage + 1;\n } else {\n totalPercentage = totalPercentage + nodePercentage;\n }\n });\n //since we have adjusted the value to be 1% but we need to keep the sum of the percentage value under 100.\n const scalingRatio = totalPercentage !== 0 ? totalPercentage / 100 : 1;\n if (scalingRatio > 1) {\n nodesInColumn[index].forEach((node: SNode) => {\n node.value = node.value! / scalingRatio;\n this._changeColumnValue(node, node.actualValue!, node.value);\n });\n }\n });\n }\n\n /**\n *\n * This is used for normalizing each links value for reflecting the normalized node value.\n */\n private _changeColumnValue(node: SNode, originalValue: number, normalizedValue: number) {\n node.sourceLinks!.forEach((link: SLink) => {\n link.unnormalizedValue = link.value;\n const linkRatio = link.value / originalValue;\n link.value = normalizedValue * linkRatio;\n });\n node.targetLinks!.forEach((link: SLink) => {\n link.unnormalizedValue = link.value;\n const linkRatio = link.value / originalValue;\n link.value = normalizedValue * linkRatio;\n });\n }\n\n /**\n *\n * This is used to introduce dynamic padding for cases where the number of nodes in a column is huge\n * so that we maintain a node to space ratio for such columns as if we fail to do so the\n * chart is devoid of nodes and only shows links.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _adjustPadding(sankey: any, height: number, nodesInColumn: NodesInColumns) {\n let padding = this._sankey.nodePadding();\n Object.values(nodesInColumn).forEach((column: SNode[]) => {\n const minPadding = PADDING_PERCENTAGE * height;\n const toatlPaddingInColumn = height - d3Sum(column, (node: SNode) => node.y1! - node.y0!);\n if (minPadding < toatlPaddingInColumn) {\n //Here we are calculating the min of default and calculated padding, we will not increase the padding\n //in any scenario.\n padding = Math.min(padding, minPadding / (column.length - 1));\n }\n });\n return padding;\n }\n\n private _createLinks(): React.ReactNode[] | undefined {\n const links: React.ReactNode[] = [];\n\n if (this.props.data.SankeyChartData) {\n this.props.data.SankeyChartData.links.forEach((singleLink: SLink, index: number) => {\n const onMouseOut = () => {\n this._onStreamLeave(singleLink);\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const data = (d: any) => {\n return [\n { x: d.source.x1, y0: d.y0 + d.width / 2, y1: d.y0 - d.width / 2 },\n { x: d.target.x0, y0: d.y1 + d.width / 2, y1: d.y1 - d.width / 2 },\n ];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataPoints: Array<any> = data(singleLink);\n const linkArea = d3Area()\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .x((p: any) => p.x)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .y0((p: any) => p.y0)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .y1((p: any) => p.y1)\n .curve(d3CurveBasis);\n const gradientUrl = `url(#gradient-${this._linkId}-${index})`;\n const link = (\n <g key={`${this._linkId}-${index}`}>\n <defs>\n <linearGradient id={`gradient-${this._linkId}-${index}`} x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">\n <stop offset=\"0\" stopColor={(singleLink.source as SNode).color} />\n <stop offset=\"100%\" stopColor={(singleLink.target as SNode).color} />\n </linearGradient>\n </defs>\n <path\n d={linkArea(dataPoints)!}\n id={getId('link')}\n fill={this._fillStreamColors(singleLink, gradientUrl)}\n stroke={this._fillStreamBorder(singleLink, gradientUrl)}\n strokeWidth=\"2\"\n strokeOpacity={this._getOpacityStreamBorder(singleLink)}\n onMouseOver={this._onStreamHover.bind(this, singleLink)}\n onMouseOut={onMouseOut}\n onFocus={this._onFocusLink.bind(this, singleLink)}\n onBlur={this._onBlur}\n fillOpacity={this._getOpacityStream(singleLink)}\n data-is-focusable={true}\n aria-label={\n 'link from' +\n (singleLink.source as SNode).name +\n 'to' +\n (singleLink.target as SNode).name +\n 'with weight' +\n singleLink!.unnormalizedValue\n }\n role=\"img\"\n />\n </g>\n );\n links.push(link);\n });\n }\n return links;\n }\n\n private _createNodes(width: number): React.ReactNode[] | undefined {\n const nodes: React.ReactNode[] = [];\n\n if (this.props.data.SankeyChartData) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.props.data.SankeyChartData.nodes.forEach((singleNode: SNode, index: number) => {\n const onMouseOut = () => {\n this._onLeave(singleNode);\n };\n const height = singleNode.y1! - singleNode.y0! > 0 ? singleNode.y1! - singleNode.y0! : 0;\n let padding = 8;\n let textLengthForNodeWeight = 0;\n\n // If the nodeWeight is in the same line as node description an extra padding\n // of 6 px is required between node description and node weight.\n if (height < MIN_HEIGHT_FOR_DOUBLINE_TYPE) {\n padding = padding + 6;\n const tspan = select('.nodeName').append('text').attr('class', 'tempText').append('tspan').text(null);\n tspan.text(singleNode.actualValue!);\n if (tspan.node() !== null) {\n textLengthForNodeWeight = tspan.node()!.getComputedTextLength();\n padding = padding + textLengthForNodeWeight;\n }\n tspan.text(null);\n selectAll('.tempText').remove();\n }\n // Since the total width of the node is 124 and we are giving margin of 8px from the left .\n //So the actual value on which it will be truncated is 124-8=116.\n const truncatedname: string = this._truncateText(singleNode.name, 116, padding);\n const isTruncated: boolean = truncatedname.slice(-3) === '...';\n const id = getId('tooltip');\n const div = select('body')\n .append('div')\n .attr('id', id)\n .attr('class', this._classNames.toolTip!)\n .style('opacity', 0);\n const nodeId = getId('nodeBar');\n const node = (\n <g key={index} id={getId('nodeGElement')}>\n <rect\n x={singleNode.x0}\n y={singleNode.y0}\n height={height}\n width={singleNode.x1! - singleNode.x0!}\n fill={this._fillNodeColors(singleNode)}\n id={nodeId}\n onMouseOver={this._onHover.bind(this, singleNode)}\n onMouseOut={onMouseOut}\n onFocus={this._onCloseCallout.bind(this)}\n stroke={this._fillNodeBorder(singleNode)}\n strokeWidth=\"2\"\n opacity=\"1\"\n data-is-focusable={true}\n aria-label={'node' + `${singleNode.name}` + 'with weight' + `${singleNode.actualValue}`}\n role=\"img\"\n />\n {singleNode.y1! - singleNode.y0! > MIN_HEIGHT_FOR_TYPE && (\n <g className={this._classNames.nodeTextContainer}>\n <g className=\"nodeName\">\n <text\n id={`${nodeId}-name`}\n x={singleNode.x0}\n y={singleNode.y0}\n dy={'1.2em'}\n dx={'0.4em'}\n textAnchor={this._isRtl ? 'end' : 'start'}\n fontWeight=\"regular\"\n aria-hidden=\"true\"\n fill={\n !(\n !this.state.selectedState ||\n (this.state.selectedState &&\n this.state.selectedNodes.has(singleNode.index!) &&\n this.state.selectedNode) ||\n (this.state.selectedState && !this.state.selectedNode)\n )\n ? DEFAULT_TEXT_COLOR\n : NON_SELECTED_TEXT_COLOR\n }\n fontSize={10}\n onMouseOver={this._showTooltip.bind(this, singleNode.name, isTruncated, div)}\n onMouseOut={this._hideTooltip.bind(this, div)}\n >\n {truncatedname}\n </text>\n </g>\n\n <text\n x={\n height > MIN_HEIGHT_FOR_DOUBLINE_TYPE ? singleNode.x0 : singleNode.x1! - textLengthForNodeWeight - 8\n }\n y={singleNode.y0}\n dy={height > MIN_HEIGHT_FOR_DOUBLINE_TYPE ? '2em' : '1em'}\n dx={height > MIN_HEIGHT_FOR_DOUBLINE_TYPE ? '0.4em' : '0em'}\n textAnchor={this._isRtl ? 'end' : 'start'}\n fontWeight=\"bold\"\n aria-hidden=\"true\"\n fill={\n !(\n !this.state.selectedState ||\n (this.state.selectedState &&\n this.state.selectedNodes.has(singleNode.index!) &&\n this.state.selectedNode) ||\n (this.state.selectedState && !this.state.selectedNode)\n )\n ? DEFAULT_TEXT_COLOR\n : NON_SELECTED_TEXT_COLOR\n }\n fontSize={14}\n >\n {singleNode.actualValue}\n </text>\n </g>\n )}\n </g>\n );\n nodes.push(node);\n });\n return nodes;\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _onLeave(singleNode: SNode) {\n if (this.state.selectedState) {\n this.setState({\n selectedState: false,\n selectedNodes: new Set<number>(),\n selectedLinks: new Set<number>(),\n selectedNode: undefined,\n });\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _onHover(singleNode: SNode, mouseEvent: React.MouseEvent<SVGElement>) {\n mouseEvent.persist();\n this._onCloseCallout();\n if (!this.state.selectedState) {\n const selectedLinks = this._getSelectedLinks(singleNode);\n const selectedNodes = this._getSelectedNodes(selectedLinks);\n selectedNodes.push(singleNode);\n this.setState({\n selectedState: true,\n selectedNodes: new Set<number>(Array.from(selectedNodes).map(node => node.index)),\n selectedLinks: new Set<number>(Array.from(selectedLinks).map(link => link.index!)),\n selectedNode: singleNode,\n refSelected: mouseEvent, //this._refArray.get(index),\n isCalloutVisible: singleNode.y1! - singleNode.y0! < MIN_HEIGHT_FOR_TYPE,\n color: singleNode.color,\n xCalloutValue: singleNode.name,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n yCalloutValue: singleNode.actualValue! as any as string,\n });\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _onStreamHover(singleLink: SLink, mouseEvent: React.MouseEvent<SVGElement>) {\n mouseEvent.persist();\n this._onCloseCallout();\n if (!this.state.selectedState) {\n const { selectedLinks, selectedNodes } = this._getSelectedLinksforStreamHover(singleLink);\n this.setState({\n selectedState: true,\n selectedNodes: new Set<number>(Array.from(selectedNodes).map(node => node.index!)),\n selectedLinks: new Set<number>(Array.from(selectedLinks).map(link => link.index!)),\n refSelected: mouseEvent,\n selectedLink: singleLink,\n isCalloutVisible: true,\n color: (singleLink.source as SNode).color,\n xCalloutValue: (singleLink.target as SNode).name,\n yCalloutValue: singleLink.unnormalizedValue!.toString(),\n descriptionMessage: 'from ' + (singleLink.source as SNode).name,\n });\n }\n }\n\n private _onStreamLeave(singleLink: SLink) {\n if (this.state.selectedState) {\n this.setState({\n selectedState: false,\n selectedNodes: new Set<number>(),\n selectedLinks: new Set<number>(),\n selectedLink: undefined,\n });\n }\n }\n\n private _onFocusLink(singleLink: SLink, element: React.FocusEvent<SVGElement>): void {\n element.persist();\n this._onCloseCallout();\n this.setState({\n refSelected: element.currentTarget,\n selectedLink: singleLink,\n isCalloutVisible: true,\n color: (singleLink.source as SNode).color,\n xCalloutValue: (singleLink.target as SNode).name,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n yCalloutValue: (singleLink.source as SNode).actualValue! as any as string,\n descriptionMessage: 'from ' + (singleLink.source as SNode).name,\n });\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _onCloseCallout = () => {\n this.setState({\n isCalloutVisible: false,\n refSelected: undefined,\n descriptionMessage: '',\n });\n };\n\n private _onBlur = (): void => {\n /**/\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _fillNodeColors = (singleNode: SNode): string | undefined => {\n if (!this.state.selectedState) {\n return singleNode.color;\n } else if (this.state.selectedState && this.state.selectedNodes.has(singleNode.index!) && this.state.selectedNode) {\n return this.state.selectedNode.color;\n } else if (this.state.selectedState && !this.state.selectedNode) {\n return singleNode.color;\n }\n };\n\n /**\n * This is used to assign node fillcolors and borderColor cyclically when the user doesnt\n * provide color to individual node.\n */\n private _assignNodeColors() {\n let colors: string[];\n let borders: string[];\n if (this.props.colorsForNodes && this.props.borderColorsForNodes) {\n colors = this.props.colorsForNodes;\n borders = this.props.borderColorsForNodes;\n } else {\n colors = DEFAULT_NODE_COLORS.map(color => color.fillColor);\n borders = DEFAULT_NODE_COLORS.map(color => color.borderColor);\n }\n let currentIndex = 0;\n this.props.data.SankeyChartData!.nodes.forEach((node: SNode) => {\n if (!node.color && !node.borderColor) {\n node.color = colors[currentIndex];\n node.borderColor = borders[currentIndex];\n } else if (node.color && !node.borderColor) {\n node.borderColor = '#757575';\n } else if (node.borderColor && !node.color) {\n node.color = '#F5F5F5';\n }\n currentIndex = (currentIndex + 1) % colors.length;\n });\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _fillStreamColors(singleLink: SLink, gradientUrl: string): string | undefined {\n if (this.state.selectedState && this.state.selectedLinks.has(singleLink.index!) && this.state.selectedNode) {\n return this.state.selectedNode.color;\n } else if (this.state.selectedState && this.state.selectedLinks.has(singleLink.index!)) {\n return gradientUrl;\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _fillStreamBorder(singleLink: SLink, gradientUrl: string): string {\n if (!this.state.selectedState) {\n return NON_SELECTED_NODE_AND_STREAM_COLOR;\n } else if (this.state.selectedState && this.state.selectedLinks.has(singleLink.index!) && this.state.selectedNode) {\n return this.state.selectedNode.borderColor!;\n } else if (this.state.selectedState && this.state.selectedLinks.has(singleLink.index!)) {\n return gradientUrl;\n }\n return NON_SELECTED_NODE_AND_STREAM_COLOR;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _fillNodeBorder = (singleNode: SNode): string => {\n if (!this.state.selectedState) {\n return singleNode.borderColor!;\n } else if (this.state.selectedState && this.state.selectedNodes.has(singleNode.index!) && this.state.selectedNode) {\n return this.state.selectedNode.borderColor!;\n } else if (this.state.selectedState && this.state.selectedNodes.has(singleNode.index!)) {\n return singleNode.borderColor!;\n }\n return singleNode.borderColor!;\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _getSelectedNodes(selectedLinks: Set<SLink>): any[] {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const nodes: SNode[] = [];\n selectedLinks.forEach(link => {\n nodes.push(link.target as SNode);\n\n if (nodes.indexOf(link.source as SNode) === -1) {\n nodes.push(link.source as SNode);\n }\n });\n return nodes;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _getSelectedLinks(singleNode: SNode): Set<SLink> {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, no-array-constructor\n const q: any = new Array<any>();\n const finalLinks: Set<SLink> = new Set<SLink>();\n\n singleNode.sourceLinks!.forEach((link: SLink) => {\n q.push(link);\n finalLinks.add(link);\n });\n\n while (q.length > 0) {\n const poppedLink: SLink = q.shift();\n const node: SNode = poppedLink.target as SNode;\n if (node && node.sourceLinks) {\n node.sourceLinks.forEach((link: SLink) => {\n finalLinks.add(link);\n q.push(link);\n });\n }\n }\n\n if (singleNode.targetLinks) {\n singleNode.targetLinks.forEach((link: SLink) => {\n q.push(link);\n finalLinks.add(link);\n });\n }\n\n while (q.length > 0) {\n const poppedLink: SLink = q.shift();\n const node: SNode = poppedLink.source as SNode;\n if (node && node.targetLinks) {\n node.targetLinks.forEach((link: SLink) => {\n finalLinks.add(link);\n q.push(link);\n });\n }\n }\n\n return finalLinks;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _getSelectedLinksforStreamHover(singleLink: SLink): { selectedLinks: Set<SLink>; selectedNodes: Set<SNode> } {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, no-array-constructor\n const q: any = new Array<any>();\n const finalLinks: Set<SLink> = new Set<SLink>();\n const finalNodes: Set<SNode> = new Set<SNode>();\n\n q.push(singleLink.source);\n finalLinks.add(singleLink);\n while (q.length > 0) {\n const poppedNode: SNode = q.shift();\n finalNodes.add(poppedNode);\n if (poppedNode.targetLinks && poppedNode.targetLinks.length > 0) {\n poppedNode.targetLinks.forEach((link: SLink) => {\n q.push(link.source);\n finalLinks.add(link);\n });\n }\n }\n\n q.push(singleLink.target);\n\n while (q.length > 0) {\n const poppedNode: SNode = q.shift();\n finalNodes.add(poppedNode);\n if (poppedNode.sourceLinks && poppedNode.sourceLinks.length > 0) {\n poppedNode.sourceLinks.forEach((link: SLink) => {\n q.push(link.target);\n finalLinks.add(link);\n });\n }\n }\n\n return {\n selectedLinks: finalLinks,\n selectedNodes: finalNodes,\n };\n }\n\n private _getOpacityStream(singleLink: SLink): number {\n if (this.state.selectedState) {\n if (!this.state.selectedLinks.has(singleLink.index!)) {\n return NON_SELECTED_OPACITY;\n } else if (\n this.state.selectedState &&\n this.state.selectedLinks.has(singleLink.index!) &&\n !this.state.selectedNode\n ) {\n return SELECTED_STREAM_OPACITY;\n }\n }\n return REST_STREAM_OPACITY;\n }\n\n private _getOpacityStreamBorder(singleLink: SLink): number {\n if (this.state.selectedState && !this.state.selectedLinks.has(singleLink.index!) && !this.state.selectedNode) {\n return NON_SELECTED_STREAM_BORDER_OPACITY;\n }\n\n return NON_SELECTED_OPACITY;\n }\n\n private _fitParentContainer(): void {\n const { containerWidth, containerHeight } = this.state;\n this._reqID = requestAnimationFrame(() => {\n const container = this.props.parentRef ? this.props.parentRef : this.chartContainer;\n const currentContainerWidth = container.getBoundingClientRect().width;\n const currentContainerHeight = container.getBoundingClientRect().height;\n const shouldResize = containerWidth !== currentContainerWidth || containerHeight !== currentContainerHeight;\n if (shouldResize) {\n this.setState({\n containerWidth: currentContainerWidth,\n containerHeight: currentContainerHeight,\n });\n }\n });\n }\n /**\n *\n * @param text is the text which we are trying to truncate\n * @param rectangleWidth is the width of the rectangle which will contain the text\n * @param padding is the space we need to leave between the rect lines and other text\n * @param nodeWeight is the text if present needs to be accomodate in the same line as text.\n * @returns the truncated text , if truncated given the above parameters.\n */\n private _truncateText(text: string, rectangleWidth: number, padding: number) {\n const textLengthForNodeName = rectangleWidth - padding;\n let elipsisLength = 0;\n const tspan = select('.nodeName')\n .append('text')\n .attr('class', 'tempText')\n .attr('font-size', '10')\n .append('tspan')\n .text(null);\n tspan.text(text);\n if (tspan.node() !== null && tspan.node()!.getComputedTextLength() <= textLengthForNodeName) {\n return text;\n }\n tspan.text(null);\n tspan.text('...');\n if (tspan.node() !== null) {\n elipsisLength = tspan.node()!.getComputedTextLength();\n }\n tspan.text(null);\n let line: string = '';\n for (let i = 0; i < text.length; i++) {\n line += text[i];\n tspan.text(line);\n if (tspan.node() !== null) {\n const w = tspan.node()!.getComputedTextLength();\n if (w >= textLengthForNodeName - elipsisLength) {\n line = line.slice(0, -1);\n line += '...';\n break;\n }\n }\n }\n tspan.text(null);\n selectAll('.tempText').remove();\n return line;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _showTooltip(text: string, checkTrcuncated: boolean, div: any, evt: any) {\n if (checkTrcuncated) {\n //Fixing tooltip position by attaching it to the element rather than page\n div.style('opacity', 0.9);\n div\n .html(text)\n .style('left', evt.pageX + 'px')\n .style('top', evt.pageY - 28 + 'px');\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _hideTooltip(div: any) {\n div.style('opacity', 0);\n }\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { ISankeyChartProps } from './SankeyChart.types';
3
+ export declare const SankeyChart: React.FunctionComponent<ISankeyChartProps>;
@@ -0,0 +1,6 @@
1
+ import { styled } from '@fluentui/react/lib/Utilities';
2
+ import { SankeyChartBase } from './SankeyChart.base';
3
+ import { getStyles } from './SankeyChart.styles';
4
+ // Create a SankeyChart variant which uses these default styles and this styled subcomponent.
5
+ export var SankeyChart = styled(SankeyChartBase, getStyles);
6
+ //# sourceMappingURL=SankeyChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,6FAA6F;AAC7F,MAAM,CAAC,IAAM,WAAW,GAA+C,MAAM,CAI3E,eAAe,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ISankeyChartProps, ISankeyChartStyleProps, ISankeyChartStyles } from './SankeyChart.types';\nimport { SankeyChartBase } from './SankeyChart.base';\nimport { getStyles } from './SankeyChart.styles';\n\n// Create a SankeyChart variant which uses these default styles and this styled subcomponent.\nexport const SankeyChart: React.FunctionComponent<ISankeyChartProps> = styled<\n ISankeyChartProps,\n ISankeyChartStyleProps,\n ISankeyChartStyles\n>(SankeyChartBase, getStyles);\n"]}
@@ -0,0 +1,2 @@
1
+ import { ISankeyChartStyleProps, ISankeyChartStyles } from './SankeyChart.types';
2
+ export declare const getStyles: (props: ISankeyChartStyleProps) => ISankeyChartStyles;
@@ -0,0 +1,58 @@
1
+ import { __assign } from "tslib";
2
+ import { HighContrastSelectorBlack } from '@fluentui/react/lib/Styling';
3
+ export var getStyles = function (props) {
4
+ var _a, _b, _c;
5
+ var className = props.className, theme = props.theme, pathColor = props.pathColor;
6
+ var effects = theme.effects;
7
+ return {
8
+ root: [
9
+ theme.fonts.medium,
10
+ {
11
+ display: 'flex',
12
+ width: '100%',
13
+ height: '100%',
14
+ flexDirection: 'column',
15
+ overflow: 'hidden',
16
+ },
17
+ className,
18
+ ],
19
+ links: {
20
+ stroke: pathColor ? pathColor : theme.palette.black,
21
+ fill: theme ? theme.semanticColors.bodyBackground : '#F5F5F5',
22
+ strokeWidth: 3,
23
+ selectors: (_a = {},
24
+ _a[HighContrastSelectorBlack] = {
25
+ fill: '#000000',
26
+ },
27
+ _a),
28
+ },
29
+ nodes: {
30
+ fill: '#F5F5F5',
31
+ selectors: (_b = {},
32
+ _b[HighContrastSelectorBlack] = {
33
+ fill: '#000000',
34
+ },
35
+ _b),
36
+ },
37
+ toolTip: __assign(__assign({}, props.theme.fonts.medium), { display: 'flex', flexDirection: 'column', padding: '8px', position: 'absolute', textAlign: 'center', top: '0px', background: props.theme.semanticColors.bodyBackground, borderRadius: '2px', pointerEvents: 'none' }),
38
+ nodeTextContainer: {
39
+ selectors: {
40
+ text: {
41
+ selectors: (_c = {},
42
+ _c[HighContrastSelectorBlack] = {
43
+ fill: 'rgb(179, 179, 179)',
44
+ },
45
+ _c),
46
+ },
47
+ },
48
+ marginTop: '4px',
49
+ marginLeft: '8px',
50
+ marginBottom: '4px',
51
+ marginRight: '8px',
52
+ },
53
+ calloutContentRoot: {
54
+ boxShadow: effects.elevation4,
55
+ },
56
+ };
57
+ };
58
+ //# sourceMappingURL=SankeyChart.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.styles.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,CAAC,IAAM,SAAS,GAAG,UAAC,KAA6B;;IAC7C,IAAA,SAAS,GAAuB,KAAK,UAA5B,EAAE,KAAK,GAAgB,KAAK,MAArB,EAAE,SAAS,GAAK,KAAK,UAAV,CAAW;IACtC,IAAA,OAAO,GAAK,KAAK,QAAV,CAAW;IAC1B,OAAO;QACL,IAAI,EAAE;YACJ,KAAK,CAAC,KAAK,CAAC,MAAM;YAClB;gBACE,OAAO,EAAE,MAAM;gBACf,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,MAAM;gBACd,aAAa,EAAE,QAAQ;gBACvB,QAAQ,EAAE,QAAQ;aACnB;YACD,SAAS;SACV;QACD,KAAK,EAAE;YACL,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK;YACnD,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS;YAC7D,WAAW,EAAE,CAAC;YACd,SAAS;gBACP,GAAC,yBAAyB,IAAG;oBAC3B,IAAI,EAAE,SAAS;iBAChB;mBACF;SACF;QACD,KAAK,EAAE;YACL,IAAI,EAAE,SAAS;YACf,SAAS;gBACP,GAAC,yBAAyB,IAAG;oBAC3B,IAAI,EAAE,SAAS;iBAChB;mBACF;SACF;QACD,OAAO,wBACF,KAAK,CAAC,KAAM,CAAC,KAAK,CAAC,MAAM,KAC5B,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,QAAQ,EACvB,OAAO,EAAE,KAAK,EACd,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAE,QAAQ,EACnB,GAAG,EAAE,KAAK,EACV,UAAU,EAAE,KAAK,CAAC,KAAM,CAAC,cAAc,CAAC,cAAc,EACtD,YAAY,EAAE,KAAK,EACnB,aAAa,EAAE,MAAM,GACtB;QACD,iBAAiB,EAAE;YACjB,SAAS,EAAE;gBACT,IAAI,EAAE;oBACJ,SAAS;wBACP,GAAC,yBAAyB,IAAG;4BAC3B,IAAI,EAAE,oBAAoB;yBAC3B;2BACF;iBACF;aACF;YAED,SAAS,EAAE,KAAK;YAChB,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;YACnB,WAAW,EAAE,KAAK;SACnB;QACD,kBAAkB,EAAE;YAClB,SAAS,EAAE,OAAO,CAAC,UAAU;SAC9B;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { ISankeyChartStyleProps, ISankeyChartStyles } from './SankeyChart.types';\nimport { HighContrastSelectorBlack } from '@fluentui/react/lib/Styling';\n\nexport const getStyles = (props: ISankeyChartStyleProps): ISankeyChartStyles => {\n const { className, theme, pathColor } = props;\n const { effects } = theme;\n return {\n root: [\n theme.fonts.medium,\n {\n display: 'flex',\n width: '100%',\n height: '100%',\n flexDirection: 'column',\n overflow: 'hidden',\n },\n className,\n ],\n links: {\n stroke: pathColor ? pathColor : theme.palette.black,\n fill: theme ? theme.semanticColors.bodyBackground : '#F5F5F5',\n strokeWidth: 3,\n selectors: {\n [HighContrastSelectorBlack]: {\n fill: '#000000',\n },\n },\n },\n nodes: {\n fill: '#F5F5F5',\n selectors: {\n [HighContrastSelectorBlack]: {\n fill: '#000000',\n },\n },\n },\n toolTip: {\n ...props.theme!.fonts.medium,\n display: 'flex',\n flexDirection: 'column',\n padding: '8px',\n position: 'absolute',\n textAlign: 'center',\n top: '0px',\n background: props.theme!.semanticColors.bodyBackground,\n borderRadius: '2px',\n pointerEvents: 'none',\n },\n nodeTextContainer: {\n selectors: {\n text: {\n selectors: {\n [HighContrastSelectorBlack]: {\n fill: 'rgb(179, 179, 179)',\n },\n },\n },\n },\n\n marginTop: '4px',\n marginLeft: '8px',\n marginBottom: '4px',\n marginRight: '8px',\n },\n calloutContentRoot: {\n boxShadow: effects.elevation4,\n },\n };\n};\n"]}
@@ -0,0 +1,83 @@
1
+ import { ITheme, IStyle } from '@fluentui/react/lib/Styling';
2
+ import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
+ import { IChartProps } from '../../types/IDataPoint';
4
+ export type { IChartProps, IDataPoint, ISankeyChartData } from '../../types/IDataPoint';
5
+ export interface ISankeyChartProps {
6
+ /**
7
+ * Data to render in the chart.
8
+ */
9
+ data: IChartProps;
10
+ /**
11
+ * Width of the chart.
12
+ */
13
+ width?: number;
14
+ /**
15
+ * Height of the chart.
16
+ */
17
+ height?: number;
18
+ /**
19
+ * Additional CSS class(es) to apply to the SankeyChart.
20
+ */
21
+ className?: string;
22
+ /**
23
+ * Theme (provided through customization.)
24
+ */
25
+ theme?: ITheme;
26
+ /**
27
+ * Call to provide customized styling that will layer on top of the variant rules.
28
+ */
29
+ styles?: IStyleFunctionOrObject<ISankeyChartStyleProps, ISankeyChartStyles>;
30
+ /**
31
+ * this prop takes its parent as a HTML element to define the width and height of the Sankey chart
32
+ */
33
+ parentRef?: HTMLElement | null;
34
+ /**
35
+ * should chart resize when parent resize.
36
+ */
37
+ shouldResize?: number;
38
+ /**
39
+ * Color for path
40
+ */
41
+ pathColor?: string;
42
+ /**
43
+ * Colors for nodes
44
+ */
45
+ colorsForNodes?: string[];
46
+ /**
47
+ * Colors for nodes border
48
+ */
49
+ borderColorsForNodes?: string[];
50
+ }
51
+ export interface ISankeyChartStyleProps {
52
+ theme: ITheme;
53
+ className?: string;
54
+ width: number;
55
+ height: number;
56
+ pathColor?: string;
57
+ }
58
+ export interface ISankeyChartStyles {
59
+ /**
60
+ * Style for the root element.
61
+ */
62
+ root?: IStyle;
63
+ /**
64
+ * Style for the nodes.
65
+ */
66
+ nodes?: IStyle;
67
+ /**
68
+ * Style for the links.
69
+ */
70
+ links?: IStyle;
71
+ /**
72
+ * Style for the text inside node.
73
+ */
74
+ nodeTextContainer?: IStyle;
75
+ /**
76
+ * Style for the tooltip ,when user hover over the truncated node detail.
77
+ */
78
+ toolTip?: IStyle;
79
+ /**
80
+ * Style for the tooltip ,when user hover over the truncated node detail.
81
+ */
82
+ calloutContentRoot?: IStyle;
83
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SankeyChart.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.types.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IChartProps } from '../../types/IDataPoint';\n\nexport type { IChartProps, IDataPoint, ISankeyChartData } from '../../types/IDataPoint';\n\nexport interface ISankeyChartProps {\n /**\n * Data to render in the chart.\n */\n data: IChartProps;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of the chart.\n */\n height?: number;\n\n /**\n * Additional CSS class(es) to apply to the SankeyChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ISankeyChartStyleProps, ISankeyChartStyles>;\n\n /**\n * this prop takes its parent as a HTML element to define the width and height of the Sankey chart\n */\n parentRef?: HTMLElement | null;\n\n /**\n * should chart resize when parent resize.\n */\n shouldResize?: number;\n\n /**\n * Color for path\n */\n pathColor?: string;\n\n /**\n * Colors for nodes\n */\n colorsForNodes?: string[];\n\n /**\n * Colors for nodes border\n */\n borderColorsForNodes?: string[];\n}\n\nexport interface ISankeyChartStyleProps {\n theme: ITheme;\n className?: string;\n width: number;\n height: number;\n pathColor?: string;\n}\n\nexport interface ISankeyChartStyles {\n /**\n * Style for the root element.\n */\n root?: IStyle;\n\n /**\n * Style for the nodes.\n */\n nodes?: IStyle;\n\n /**\n * Style for the links.\n */\n links?: IStyle;\n\n /**\n * Style for the text inside node.\n */\n nodeTextContainer?: IStyle;\n\n /**\n * Style for the tooltip ,when user hover over the truncated node detail.\n */\n toolTip?: IStyle;\n\n /**\n * Style for the tooltip ,when user hover over the truncated node detail.\n */\n\n calloutContentRoot?: IStyle;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './SankeyChart';
2
+ export * from './SankeyChart.types';
@@ -0,0 +1,3 @@
1
+ export * from './SankeyChart';
2
+ export * from './SankeyChart.types';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/SankeyChart/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC","sourcesContent":["export * from './SankeyChart';\nexport * from './SankeyChart.types';\n"]}
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import { ILineChartDataPoint } from '../../types/IDataPoint';
3
+ import { ISparklineProps } from '../../index';
4
+ export interface ISparklineState {
5
+ _points: ILineChartDataPoint[] | null;
6
+ _width: number;
7
+ _height: number;
8
+ _valueTextWidth: number;
9
+ }
10
+ export declare class SparklineBase extends React.Component<ISparklineProps, ISparklineState> {
11
+ private margin;
12
+ private x;
13
+ private y;
14
+ private area;
15
+ private line;
16
+ constructor(props: ISparklineProps);
17
+ componentDidMount(): void;
18
+ drawSparkline(): JSX.Element;
19
+ render(): JSX.Element;
20
+ }
@@ -0,0 +1,76 @@
1
+ import { __extends } from "tslib";
2
+ import * as React from 'react';
3
+ import { scaleLinear as d3ScaleLinear } from 'd3-scale';
4
+ import { area as d3Area, line as d3Line, curveLinear as d3curveLinear } from 'd3-shape';
5
+ import { max as d3Max, extent as d3Extent } from 'd3-array';
6
+ import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';
7
+ import { classNamesFunction } from '@fluentui/react/lib/Utilities';
8
+ var getClassNames = classNamesFunction();
9
+ var SparklineBase = /** @class */ (function (_super) {
10
+ __extends(SparklineBase, _super);
11
+ function SparklineBase(props) {
12
+ var _this = _super.call(this, props) || this;
13
+ _this.margin = {
14
+ top: 2,
15
+ right: 0,
16
+ bottom: 0,
17
+ left: 0,
18
+ };
19
+ _this.state = {
20
+ _points: null,
21
+ _width: _this.props.width || 80,
22
+ _height: _this.props.height || 20,
23
+ _valueTextWidth: _this.props.valueTextWidth || 80,
24
+ };
25
+ return _this;
26
+ }
27
+ SparklineBase.prototype.componentDidMount = function () {
28
+ var _this = this;
29
+ var area = d3Area()
30
+ /* eslint-disable @typescript-eslint/no-explicit-any */
31
+ .x(function (d) { return _this.x(d.x); })
32
+ .y0(this.state._height)
33
+ /* eslint-disable @typescript-eslint/no-explicit-any */
34
+ .y1(function (d) { return _this.y(d.y); })
35
+ .curve(d3curveLinear);
36
+ this.area = area;
37
+ var line = d3Line()
38
+ /* eslint-disable @typescript-eslint/no-explicit-any */
39
+ .x(function (d) { return _this.x(d.x); })
40
+ /* eslint-disable @typescript-eslint/no-explicit-any */
41
+ .y(function (d) { return _this.y(d.y); })
42
+ .curve(d3curveLinear);
43
+ this.line = line;
44
+ var points = this.props.data.lineChartData[0].data;
45
+ /* eslint-disable @typescript-eslint/no-explicit-any */
46
+ var _a = d3Extent(points, function (d) { return d.x; }), xMin = _a[0], xMax = _a[1];
47
+ this.x = d3ScaleLinear()
48
+ .domain([xMin, xMax])
49
+ .range([this.margin.left, this.state._width - this.margin.right]);
50
+ this.y = d3ScaleLinear()
51
+ /* eslint-disable @typescript-eslint/no-explicit-any */
52
+ .domain([0, d3Max(points, function (d) { return d.y; })])
53
+ .range([this.state._height - this.margin.bottom, this.margin.top]);
54
+ this.setState({
55
+ _points: points,
56
+ });
57
+ };
58
+ SparklineBase.prototype.drawSparkline = function () {
59
+ return (React.createElement(React.Fragment, null,
60
+ React.createElement("path", { className: "line", d: this.line(this.state._points), fill: 'transparent', opacity: 1, strokeWidth: 2, stroke: this.props.data.lineChartData[0].color }),
61
+ React.createElement("path", { className: "area", d: this.area(this.state._points), opacity: 1, fillOpacity: 0.2, fill: this.props.data.lineChartData[0].color, "aria-label": "Sparkline with label " + this.props.data.lineChartData[0].legend })));
62
+ };
63
+ SparklineBase.prototype.render = function () {
64
+ var classNames = getClassNames(this.props.styles, {
65
+ theme: this.props.theme,
66
+ });
67
+ return (React.createElement(FocusZone, { direction: FocusZoneDirection.horizontal, isCircularNavigation: true, className: classNames.inlineBlock },
68
+ React.createElement("div", { className: classNames.inlineBlock },
69
+ this.state._width >= 50 && this.state._height >= 16 ? (React.createElement("svg", { width: this.state._width, height: this.state._height, "data-is-focusable": true }, this.state._points ? this.drawSparkline() : null)) : (React.createElement(React.Fragment, null)),
70
+ this.props.showLegend && this.props.data.lineChartData[0].legend ? (React.createElement("svg", { width: this.state._valueTextWidth, height: this.state._height, "data-is-focusable": true },
71
+ React.createElement("text", { x: "0%", dx: 8, y: "100%", dy: -5, className: classNames.valueText }, this.props.data.lineChartData[0].legend))) : (React.createElement(React.Fragment, null)))));
72
+ };
73
+ return SparklineBase;
74
+ }(React.Component));
75
+ export { SparklineBase };
76
+ //# sourceMappingURL=Sparkline.base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sparkline.base.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,IAAI,IAAI,MAAM,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACxF,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,IAAI,QAAQ,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AI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,CAC7C,CACP,CAAC,CAAC,CAAC,CACF,yCAAK,CACN;gBACA,IAAI,CAAC,KAAK,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,CAAC,IAAK,CAAC,aAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CACpE,6BAAK,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,uBAAqB,IAAI;oBACzF,8BAAM,CAAC,EAAC,IAAI,EAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,SAAS,IACjE,IAAI,CAAC,KAAK,CAAC,IAAK,CAAC,aAAc,CAAC,CAAC,CAAC,CAAC,MAAO,CACtC,CACH,CACP,CAAC,CAAC,CAAC,CACF,yCAAK,CACN,CACG,CACI,CACb,CAAC;IACJ,CAAC;IACH,oBAAC;AAAD,CAAC,AApHD,CAAmC,KAAK,CAAC,SAAS,GAoHjD","sourcesContent":["import * as React from 'react';\nimport { scaleLinear as d3ScaleLinear } from 'd3-scale';\nimport { area as d3Area, line as d3Line, curveLinear as d3curveLinear } from 'd3-shape';\nimport { max as d3Max, extent as d3Extent } from 'd3-array';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport { ILineChartDataPoint } from '../../types/IDataPoint';\nimport { classNamesFunction } from '@fluentui/react/lib/Utilities';\nimport { ISparklineProps, ISparklineStyleProps, ISparklineStyles } from '../../index';\nconst getClassNames = classNamesFunction<ISparklineStyleProps, ISparklineStyles>();\n\nexport interface ISparklineState {\n _points: ILineChartDataPoint[] | null;\n _width: number;\n _height: number;\n _valueTextWidth: number;\n}\n\nexport class SparklineBase extends React.Component<ISparklineProps, ISparklineState> {\n private margin = {\n top: 2,\n right: 0,\n bottom: 0,\n left: 0,\n };\n\n /* eslint-disable @typescript-eslint/no-explicit-any */\n private x: any;\n\n /* eslint-disable @typescript-eslint/no-explicit-any */\n private y: any;\n private area: any;\n private line: any;\n\n constructor(props: ISparklineProps) {\n super(props);\n this.state = {\n _points: null,\n _width: this.props.width! || 80,\n _height: this.props.height! || 20,\n _valueTextWidth: this.props.valueTextWidth! || 80,\n };\n }\n\n public componentDidMount() {\n const area = d3Area()\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .x((d: any) => this.x(d.x))\n .y0(this.state._height)\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .y1((d: any) => this.y(d.y))\n .curve(d3curveLinear);\n this.area = area;\n\n const line = d3Line()\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .x((d: any) => this.x(d.x))\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .y((d: any) => this.y(d.y))\n .curve(d3curveLinear);\n this.line = line;\n\n const points = this.props.data!.lineChartData![0].data;\n\n /* eslint-disable @typescript-eslint/no-explicit-any */\n const [xMin, xMax] = d3Extent(points, (d: any) => d.x);\n\n this.x = d3ScaleLinear()\n .domain([xMin, xMax])\n .range([this.margin.left!, this.state._width - this.margin.right!]);\n this.y = d3ScaleLinear()\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .domain([0, d3Max(points, (d: any) => d.y)])\n .range([this.state._height - this.margin.bottom!, this.margin.top!]);\n\n this.setState({\n _points: points,\n });\n }\n\n public drawSparkline() {\n return (\n <>\n <path\n className=\"line\"\n d={this.line(this.state._points)}\n fill={'transparent'}\n opacity={1}\n strokeWidth={2}\n stroke={this.props.data!.lineChartData![0].color!}\n />\n <path\n className=\"area\"\n d={this.area(this.state._points)}\n opacity={1}\n fillOpacity={0.2}\n fill={this.props.data!.lineChartData![0].color!}\n aria-label={`Sparkline with label ${this.props.data!.lineChartData![0].legend!}`}\n />\n </>\n );\n }\n\n public render() {\n const classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n });\n return (\n <FocusZone\n direction={FocusZoneDirection.horizontal}\n isCircularNavigation={true}\n className={classNames.inlineBlock}\n >\n <div className={classNames.inlineBlock}>\n {this.state._width >= 50 && this.state._height >= 16 ? (\n <svg width={this.state._width} height={this.state._height} data-is-focusable={true}>\n {this.state._points ? this.drawSparkline() : null}\n </svg>\n ) : (\n <></>\n )}\n {this.props.showLegend && this.props.data!.lineChartData![0].legend ? (\n <svg width={this.state._valueTextWidth} height={this.state._height} data-is-focusable={true}>\n <text x=\"0%\" dx={8} y=\"100%\" dy={-5} className={classNames.valueText}>\n {this.props.data!.lineChartData![0].legend!}\n </text>\n </svg>\n ) : (\n <></>\n )}\n </div>\n </FocusZone>\n );\n }\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { ISparklineProps } from '../../index';
3
+ export declare const Sparkline: React.FunctionComponent<ISparklineProps>;
@@ -0,0 +1,6 @@
1
+ import { styled } from '@fluentui/react/lib/Utilities';
2
+ import { SparklineBase } from './Sparkline.base';
3
+ import { getStyles } from './Sparkline.styles';
4
+ // Create a Sparkline variant which uses these default styles and this styled subcomponent.
5
+ export var Sparkline = styled(SparklineBase, getStyles);
6
+ //# sourceMappingURL=Sparkline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sparkline.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,2FAA2F;AAC3F,MAAM,CAAC,IAAM,SAAS,GAA6C,MAAM,CAIvE,aAAa,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ISparklineStyles, ISparklineProps, ISparklineStyleProps } from '../../index';\nimport { SparklineBase } from './Sparkline.base';\nimport { getStyles } from './Sparkline.styles';\n\n// Create a Sparkline variant which uses these default styles and this styled subcomponent.\nexport const Sparkline: React.FunctionComponent<ISparklineProps> = styled<\n ISparklineProps,\n ISparklineStyleProps,\n ISparklineStyles\n>(SparklineBase, getStyles);\n"]}
@@ -0,0 +1,2 @@
1
+ import { ISparklineStyleProps, ISparklineStyles } from './Sparkline.types';
2
+ export declare const getStyles: (props: ISparklineStyleProps) => ISparklineStyles;
@@ -0,0 +1,10 @@
1
+ import { __assign } from "tslib";
2
+ export var getStyles = function (props) {
3
+ return {
4
+ inlineBlock: {
5
+ display: 'inline',
6
+ },
7
+ valueText: __assign(__assign({}, props.theme.fonts.smallPlus), { fill: props.theme.palette.black }),
8
+ };
9
+ };
10
+ //# sourceMappingURL=Sparkline.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sparkline.styles.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.styles.ts"],"names":[],"mappings":";AAEA,MAAM,CAAC,IAAM,SAAS,GAAG,UAAC,KAA2B;IACnD,OAAO;QACL,WAAW,EAAE;YACX,OAAO,EAAE,QAAQ;SAClB;QACD,SAAS,wBACJ,KAAK,CAAC,KAAM,CAAC,KAAK,CAAC,SAAS,KAC/B,IAAI,EAAE,KAAK,CAAC,KAAM,CAAC,OAAO,CAAC,KAAK,GACjC;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { ISparklineStyleProps, ISparklineStyles } from './Sparkline.types';\n\nexport const getStyles = (props: ISparklineStyleProps): ISparklineStyles => {\n return {\n inlineBlock: {\n display: 'inline',\n },\n valueText: {\n ...props.theme!.fonts.smallPlus,\n fill: props.theme!.palette.black,\n },\n };\n};\n"]}
@@ -0,0 +1,51 @@
1
+ import { ITheme, IStyle } from '@fluentui/react/lib/Styling';
2
+ import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
+ import { IChartProps } from '../../types/IDataPoint';
4
+ import { ICartesianChartStyleProps } from '../CommonComponents/index';
5
+ export interface ISparklineStyleProps extends ICartesianChartStyleProps {
6
+ }
7
+ export interface ISparklineProps {
8
+ /**
9
+ * An array of chart data points for the Sparkline chart
10
+ */
11
+ data?: IChartProps;
12
+ /**
13
+ * Width of chart
14
+ * * @default 80
15
+ */
16
+ width?: number;
17
+ /**
18
+ * Height of chart
19
+ * @default 20
20
+ */
21
+ height?: number;
22
+ /**
23
+ * Width of value text
24
+ * * @default 80
25
+ */
26
+ valueTextWidth?: number;
27
+ /**
28
+ * Additional CSS class(es) to apply to the SparklineChart.
29
+ */
30
+ className?: string;
31
+ /**
32
+ * Theme (provided through customization.)
33
+ */
34
+ theme?: ITheme;
35
+ /**
36
+ * The prop used to define the culture to localized the numbers
37
+ */
38
+ culture?: string;
39
+ /**
40
+ * Prop used to determine whether to show the legend or not
41
+ */
42
+ showLegend?: boolean;
43
+ /**
44
+ * Call to provide customized styling that will layer on top of the variant rules.
45
+ */
46
+ styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;
47
+ }
48
+ export interface ISparklineStyles {
49
+ inlineBlock?: IStyle;
50
+ valueText?: IStyle;
51
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Sparkline.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sparkline.types.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IChartProps } from '../../types/IDataPoint';\nimport { ICartesianChartStyleProps } from '../CommonComponents/index';\n\nexport interface ISparklineStyleProps extends ICartesianChartStyleProps {}\n\nexport interface ISparklineProps {\n /**\n * An array of chart data points for the Sparkline chart\n */\n data?: IChartProps;\n\n /**\n * Width of chart\n * * @default 80\n */\n width?: number;\n\n /**\n * Height of chart\n * @default 20\n */\n height?: number;\n\n /**\n * Width of value text\n * * @default 80\n */\n valueTextWidth?: number;\n\n /**\n * Additional CSS class(es) to apply to the SparklineChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * Prop used to determine whether to show the legend or not\n */\n showLegend?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;\n}\n\nexport interface ISparklineStyles {\n inlineBlock?: IStyle;\n valueText?: IStyle;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './Sparkline';
2
+ export * from './Sparkline.types';
@@ -0,0 +1,3 @@
1
+ export * from './Sparkline';
2
+ export * from './Sparkline.types';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Sparkline/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './Sparkline';\nexport * from './Sparkline.types';\n"]}