@fluentui/react-charting 5.16.24 → 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 +42 -1
  2. package/CHANGELOG.md +14 -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 +5 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.base.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.base.tsx"],"names":[],"mappings":";;;;IAaA,IAAM,aAAa,GAAG,8BAAkB,EAA8C,CAAC;IACvF,IAAM,kBAAkB,GAAG,GAAG,CAAC;IAmB/B,IAAM,kCAAkC,GAAW,SAAS,CAAC;IAC7D,IAAM,mBAAmB,GAAiB;QACxC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;QAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;KACjD,CAAC;IAEF,IAAM,4BAA4B,GAAG,EAAE,CAAC;IACxC,IAAM,mBAAmB,GAAG,EAAE,CAAC;IAC/B,IAAM,mBAAmB,GAAW,CAAC,CAAC;IACtC,IAAM,oBAAoB,GAAW,CAAC,CAAC;IACvC,IAAM,uBAAuB,GAAW,GAAG,CAAC;IAC5C,IAAM,kCAAkC,GAAW,GAAG,CAAC;IACvD,IAAM,kBAAkB,GAAW,SAA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CAAqC,KAAK,CAAC,SAAS,GAmxBnD;IAnxBY,0CAAe","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,8 @@
1
+ define(["require", "exports", "@fluentui/react/lib/Utilities", "./SankeyChart.base", "./SankeyChart.styles"], function (require, exports, Utilities_1, SankeyChart_base_1, SankeyChart_styles_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SankeyChart = void 0;
5
+ // Create a SankeyChart variant which uses these default styles and this styled subcomponent.
6
+ exports.SankeyChart = Utilities_1.styled(SankeyChart_base_1.SankeyChartBase, SankeyChart_styles_1.getStyles);
7
+ });
8
+ //# sourceMappingURL=SankeyChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.tsx"],"names":[],"mappings":";;;;IAMA,6FAA6F;IAChF,QAAA,WAAW,GAA+C,kBAAM,CAI3E,kCAAe,EAAE,8BAAS,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,62 @@
1
+ define(["require", "exports", "tslib", "@fluentui/react/lib/Styling"], function (require, exports, tslib_1, Styling_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.getStyles = void 0;
5
+ var getStyles = function (props) {
6
+ var _a, _b, _c;
7
+ var className = props.className, theme = props.theme, pathColor = props.pathColor;
8
+ var effects = theme.effects;
9
+ return {
10
+ root: [
11
+ theme.fonts.medium,
12
+ {
13
+ display: 'flex',
14
+ width: '100%',
15
+ height: '100%',
16
+ flexDirection: 'column',
17
+ overflow: 'hidden',
18
+ },
19
+ className,
20
+ ],
21
+ links: {
22
+ stroke: pathColor ? pathColor : theme.palette.black,
23
+ fill: theme ? theme.semanticColors.bodyBackground : '#F5F5F5',
24
+ strokeWidth: 3,
25
+ selectors: (_a = {},
26
+ _a[Styling_1.HighContrastSelectorBlack] = {
27
+ fill: '#000000',
28
+ },
29
+ _a),
30
+ },
31
+ nodes: {
32
+ fill: '#F5F5F5',
33
+ selectors: (_b = {},
34
+ _b[Styling_1.HighContrastSelectorBlack] = {
35
+ fill: '#000000',
36
+ },
37
+ _b),
38
+ },
39
+ toolTip: tslib_1.__assign(tslib_1.__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' }),
40
+ nodeTextContainer: {
41
+ selectors: {
42
+ text: {
43
+ selectors: (_c = {},
44
+ _c[Styling_1.HighContrastSelectorBlack] = {
45
+ fill: 'rgb(179, 179, 179)',
46
+ },
47
+ _c),
48
+ },
49
+ },
50
+ marginTop: '4px',
51
+ marginLeft: '8px',
52
+ marginBottom: '4px',
53
+ marginRight: '8px',
54
+ },
55
+ calloutContentRoot: {
56
+ boxShadow: effects.elevation4,
57
+ },
58
+ };
59
+ };
60
+ exports.getStyles = getStyles;
61
+ });
62
+ //# sourceMappingURL=SankeyChart.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.styles.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.styles.ts"],"names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,IAAI,EAAE;wBACJ,SAAS;4BACP,GAAC,mCAAyB,IAAG;gCAC3B,IAAI,EAAE,oBAAoB;6BAC3B;+BACF;qBACF;iBACF;gBAED,SAAS,EAAE,KAAK;gBAChB,UAAU,EAAE,KAAK;gBACjB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,KAAK;aACnB;YACD,kBAAkB,EAAE;gBAClB,SAAS,EAAE,OAAO,CAAC,UAAU;aAC9B;SACF,CAAC;IACJ,CAAC,CAAC;IAjEW,QAAA,SAAS,aAiEpB","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,5 @@
1
+ define(["require", "exports"], function (require, exports) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ });
5
+ //# 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,7 @@
1
+ define(["require", "exports", "tslib", "./SankeyChart", "./SankeyChart.types"], function (require, exports, tslib_1, SankeyChart_1, SankeyChart_types_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ tslib_1.__exportStar(SankeyChart_1, exports);
5
+ tslib_1.__exportStar(SankeyChart_types_1, exports);
6
+ });
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/SankeyChart/index.ts"],"names":[],"mappings":";;;IAAA,6CAA8B;IAC9B,mDAAoC","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,74 @@
1
+ define(["require", "exports", "tslib", "react", "d3-scale", "d3-shape", "d3-array", "@fluentui/react-focus", "@fluentui/react/lib/Utilities"], function (require, exports, tslib_1, React, d3_scale_1, d3_shape_1, d3_array_1, react_focus_1, Utilities_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SparklineBase = void 0;
5
+ var getClassNames = Utilities_1.classNamesFunction();
6
+ var SparklineBase = /** @class */ (function (_super) {
7
+ tslib_1.__extends(SparklineBase, _super);
8
+ function SparklineBase(props) {
9
+ var _this = _super.call(this, props) || this;
10
+ _this.margin = {
11
+ top: 2,
12
+ right: 0,
13
+ bottom: 0,
14
+ left: 0,
15
+ };
16
+ _this.state = {
17
+ _points: null,
18
+ _width: _this.props.width || 80,
19
+ _height: _this.props.height || 20,
20
+ _valueTextWidth: _this.props.valueTextWidth || 80,
21
+ };
22
+ return _this;
23
+ }
24
+ SparklineBase.prototype.componentDidMount = function () {
25
+ var _this = this;
26
+ var area = d3_shape_1.area()
27
+ /* eslint-disable @typescript-eslint/no-explicit-any */
28
+ .x(function (d) { return _this.x(d.x); })
29
+ .y0(this.state._height)
30
+ /* eslint-disable @typescript-eslint/no-explicit-any */
31
+ .y1(function (d) { return _this.y(d.y); })
32
+ .curve(d3_shape_1.curveLinear);
33
+ this.area = area;
34
+ var line = d3_shape_1.line()
35
+ /* eslint-disable @typescript-eslint/no-explicit-any */
36
+ .x(function (d) { return _this.x(d.x); })
37
+ /* eslint-disable @typescript-eslint/no-explicit-any */
38
+ .y(function (d) { return _this.y(d.y); })
39
+ .curve(d3_shape_1.curveLinear);
40
+ this.line = line;
41
+ var points = this.props.data.lineChartData[0].data;
42
+ /* eslint-disable @typescript-eslint/no-explicit-any */
43
+ var _a = d3_array_1.extent(points, function (d) { return d.x; }), xMin = _a[0], xMax = _a[1];
44
+ this.x = d3_scale_1.scaleLinear()
45
+ .domain([xMin, xMax])
46
+ .range([this.margin.left, this.state._width - this.margin.right]);
47
+ this.y = d3_scale_1.scaleLinear()
48
+ /* eslint-disable @typescript-eslint/no-explicit-any */
49
+ .domain([0, d3_array_1.max(points, function (d) { return d.y; })])
50
+ .range([this.state._height - this.margin.bottom, this.margin.top]);
51
+ this.setState({
52
+ _points: points,
53
+ });
54
+ };
55
+ SparklineBase.prototype.drawSparkline = function () {
56
+ return (React.createElement(React.Fragment, null,
57
+ React.createElement("path", { className: "line", d: this.line(this.state._points), fill: 'transparent', opacity: 1, strokeWidth: 2, stroke: this.props.data.lineChartData[0].color }),
58
+ 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 })));
59
+ };
60
+ SparklineBase.prototype.render = function () {
61
+ var classNames = getClassNames(this.props.styles, {
62
+ theme: this.props.theme,
63
+ });
64
+ return (React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal, isCircularNavigation: true, className: classNames.inlineBlock },
65
+ React.createElement("div", { className: classNames.inlineBlock },
66
+ 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)),
67
+ this.props.showLegend && this.props.data.lineChartData[0].legend ? (React.createElement("svg", { width: this.state._valueTextWidth, height: this.state._height, "data-is-focusable": true },
68
+ 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)))));
69
+ };
70
+ return SparklineBase;
71
+ }(React.Component));
72
+ exports.SparklineBase = SparklineBase;
73
+ });
74
+ //# 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":";;;;IAQA,IAAM,aAAa,GAAG,8BAAkB,EAA0C,CAAC;IASnF;QAAmC,yCAAiD;QAgBlF,uBAAY,KAAsB;YAAlC,YACE,kBAAM,KAAK,CAAC,SAOb;YAvBO,YAAM,GAAG;gBACf,GAAG,EAAE,CAAC;gBACN,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;gBAC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O,uBAAqB,IAAI;wBACzF,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;QACJ,CAAC;QACH,oBAAC;IAAD,CAAC,AApHD,CAAmC,KAAK,CAAC,SAAS,GAoHjD;IApHY,sCAAa","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,8 @@
1
+ define(["require", "exports", "@fluentui/react/lib/Utilities", "./Sparkline.base", "./Sparkline.styles"], function (require, exports, Utilities_1, Sparkline_base_1, Sparkline_styles_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Sparkline = void 0;
5
+ // Create a Sparkline variant which uses these default styles and this styled subcomponent.
6
+ exports.Sparkline = Utilities_1.styled(Sparkline_base_1.SparklineBase, Sparkline_styles_1.getStyles);
7
+ });
8
+ //# sourceMappingURL=Sparkline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sparkline.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.tsx"],"names":[],"mappings":";;;;IAMA,2FAA2F;IAC9E,QAAA,SAAS,GAA6C,kBAAM,CAIvE,8BAAa,EAAE,4BAAS,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,15 @@
1
+ define(["require", "exports", "tslib"], function (require, exports, tslib_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.getStyles = void 0;
5
+ var getStyles = function (props) {
6
+ return {
7
+ inlineBlock: {
8
+ display: 'inline',
9
+ },
10
+ valueText: tslib_1.__assign(tslib_1.__assign({}, props.theme.fonts.smallPlus), { fill: props.theme.palette.black }),
11
+ };
12
+ };
13
+ exports.getStyles = getStyles;
14
+ });
15
+ //# 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":";;;;IAEO,IAAM,SAAS,GAAG,UAAC,KAA2B;QACnD,OAAO;YACL,WAAW,EAAE;gBACX,OAAO,EAAE,QAAQ;aAClB;YACD,SAAS,wCACJ,KAAK,CAAC,KAAM,CAAC,KAAK,CAAC,SAAS,KAC/B,IAAI,EAAE,KAAK,CAAC,KAAM,CAAC,OAAO,CAAC,KAAK,GACjC;SACF,CAAC;IACJ,CAAC,CAAC;IAVW,QAAA,SAAS,aAUpB","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,5 @@
1
+ define(["require", "exports"], function (require, exports) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ });
5
+ //# 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,7 @@
1
+ define(["require", "exports", "tslib", "./Sparkline", "./Sparkline.types"], function (require, exports, tslib_1, Sparkline_1, Sparkline_types_1) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ tslib_1.__exportStar(Sparkline_1, exports);
5
+ tslib_1.__exportStar(Sparkline_types_1, exports);
6
+ });
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Sparkline/index.ts"],"names":[],"mappings":";;;IAAA,2CAA4B;IAC5B,iDAAkC","sourcesContent":["export * from './Sparkline';\nexport * from './Sparkline.types';\n"]}