@fluentui/react-charting 5.23.63 → 5.23.64

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 (1428) hide show
  1. package/CHANGELOG.json +16 -1
  2. package/CHANGELOG.md +11 -2
  3. package/dist/react-charting.d.ts +4557 -0
  4. package/dist/react-charting.js +1 -0
  5. package/dist/react-charting.min.js +1 -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/DeclarativeChart.d.ts +1 -0
  13. package/lib/DeclarativeChart.js +2 -0
  14. package/lib/DeclarativeChart.js.map +1 -0
  15. package/lib/DonutChart.d.ts +1 -0
  16. package/lib/DonutChart.js +2 -0
  17. package/lib/DonutChart.js.map +1 -0
  18. package/lib/GaugeChart.d.ts +1 -0
  19. package/lib/GaugeChart.js +2 -0
  20. package/lib/GaugeChart.js.map +1 -0
  21. package/lib/GroupedVerticalBarChart.d.ts +1 -0
  22. package/lib/GroupedVerticalBarChart.js +2 -0
  23. package/lib/GroupedVerticalBarChart.js.map +1 -0
  24. package/lib/HeatMapChart.d.ts +1 -0
  25. package/lib/HeatMapChart.js +2 -0
  26. package/lib/HeatMapChart.js.map +1 -0
  27. package/lib/HorizontalBarChart.d.ts +1 -0
  28. package/lib/HorizontalBarChart.js +2 -0
  29. package/lib/HorizontalBarChart.js.map +1 -0
  30. package/lib/HorizontalBarChartWithAxis.d.ts +1 -0
  31. package/lib/HorizontalBarChartWithAxis.js +2 -0
  32. package/lib/HorizontalBarChartWithAxis.js.map +1 -0
  33. package/lib/Legends.d.ts +1 -0
  34. package/lib/Legends.js +2 -0
  35. package/lib/Legends.js.map +1 -0
  36. package/lib/LineChart.d.ts +1 -0
  37. package/lib/LineChart.js +2 -0
  38. package/lib/LineChart.js.map +1 -0
  39. package/lib/PieChart.d.ts +1 -0
  40. package/lib/PieChart.js +2 -0
  41. package/lib/PieChart.js.map +1 -0
  42. package/lib/ResponsiveContainer.d.ts +1 -0
  43. package/lib/ResponsiveContainer.js +2 -0
  44. package/lib/ResponsiveContainer.js.map +1 -0
  45. package/lib/SankeyChart.d.ts +1 -0
  46. package/lib/SankeyChart.js +2 -0
  47. package/lib/SankeyChart.js.map +1 -0
  48. package/lib/Sparkline.d.ts +1 -0
  49. package/lib/Sparkline.js +2 -0
  50. package/lib/Sparkline.js.map +1 -0
  51. package/lib/StackedBarChart.d.ts +1 -0
  52. package/lib/StackedBarChart.js +2 -0
  53. package/lib/StackedBarChart.js.map +1 -0
  54. package/lib/Styling.d.ts +2 -0
  55. package/lib/Styling.js +8 -0
  56. package/lib/Styling.js.map +1 -0
  57. package/lib/TreeChart.d.ts +1 -0
  58. package/lib/TreeChart.js +2 -0
  59. package/lib/TreeChart.js.map +1 -0
  60. package/lib/Utilities.d.ts +2 -0
  61. package/lib/Utilities.js +2 -0
  62. package/lib/Utilities.js.map +1 -0
  63. package/lib/VerticalBarChart.d.ts +1 -0
  64. package/lib/VerticalBarChart.js +2 -0
  65. package/lib/VerticalBarChart.js.map +1 -0
  66. package/lib/VerticalStackedBarChart.d.ts +1 -0
  67. package/lib/VerticalStackedBarChart.js +2 -0
  68. package/lib/VerticalStackedBarChart.js.map +1 -0
  69. package/lib/components/AreaChart/AreaChart.base.d.ts +111 -0
  70. package/lib/components/AreaChart/AreaChart.base.js +722 -0
  71. package/lib/components/AreaChart/AreaChart.base.js.map +1 -0
  72. package/lib/components/AreaChart/AreaChart.d.ts +7 -0
  73. package/lib/components/AreaChart/AreaChart.js +10 -0
  74. package/lib/components/AreaChart/AreaChart.js.map +1 -0
  75. package/lib/components/AreaChart/AreaChart.styles.d.ts +2 -0
  76. package/lib/components/AreaChart/AreaChart.styles.js +7 -0
  77. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -0
  78. package/lib/components/AreaChart/AreaChart.types.d.ts +64 -0
  79. package/lib/components/AreaChart/AreaChart.types.js +2 -0
  80. package/lib/components/AreaChart/AreaChart.types.js.map +1 -0
  81. package/lib/components/AreaChart/index.d.ts +2 -0
  82. package/lib/components/AreaChart/index.js +3 -0
  83. package/lib/components/AreaChart/index.js.map +1 -0
  84. package/lib/components/CommonComponents/CartesianChart.base.d.ts +65 -0
  85. package/lib/components/CommonComponents/CartesianChart.base.js +609 -0
  86. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -0
  87. package/lib/components/CommonComponents/CartesianChart.d.ts +7 -0
  88. package/lib/components/CommonComponents/CartesianChart.js +9 -0
  89. package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
  90. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  91. package/lib/components/CommonComponents/CartesianChart.styles.js +175 -0
  92. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  93. package/lib/components/CommonComponents/CartesianChart.types.d.ts +556 -0
  94. package/lib/components/CommonComponents/CartesianChart.types.js +2 -0
  95. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
  96. package/lib/components/CommonComponents/index.d.ts +2 -0
  97. package/lib/components/CommonComponents/index.js +3 -0
  98. package/lib/components/CommonComponents/index.js.map +1 -0
  99. package/lib/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
  100. package/lib/components/DeclarativeChart/DeclarativeChart.js +145 -0
  101. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
  102. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
  103. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +647 -0
  104. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
  105. package/lib/components/DeclarativeChart/index.d.ts +1 -0
  106. package/lib/components/DeclarativeChart/index.js +2 -0
  107. package/lib/components/DeclarativeChart/index.js.map +1 -0
  108. package/lib/components/DonutChart/Arc/Arc.d.ts +22 -0
  109. package/lib/components/DonutChart/Arc/Arc.js +107 -0
  110. package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
  111. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  112. package/lib/components/DonutChart/Arc/Arc.styles.js +35 -0
  113. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  114. package/lib/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  115. package/lib/components/DonutChart/Arc/Arc.types.js +2 -0
  116. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
  117. package/lib/components/DonutChart/Arc/index.d.ts +2 -0
  118. package/lib/components/DonutChart/Arc/index.js +3 -0
  119. package/lib/components/DonutChart/Arc/index.js.map +1 -0
  120. package/lib/components/DonutChart/DonutChart.base.d.ts +61 -0
  121. package/lib/components/DonutChart/DonutChart.base.js +301 -0
  122. package/lib/components/DonutChart/DonutChart.base.js.map +1 -0
  123. package/lib/components/DonutChart/DonutChart.d.ts +7 -0
  124. package/lib/components/DonutChart/DonutChart.js +10 -0
  125. package/lib/components/DonutChart/DonutChart.js.map +1 -0
  126. package/lib/components/DonutChart/DonutChart.styles.d.ts +2 -0
  127. package/lib/components/DonutChart/DonutChart.styles.js +30 -0
  128. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -0
  129. package/lib/components/DonutChart/DonutChart.types.d.ts +90 -0
  130. package/lib/components/DonutChart/DonutChart.types.js +2 -0
  131. package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
  132. package/lib/components/DonutChart/Pie/Pie.d.ts +15 -0
  133. package/lib/components/DonutChart/Pie/Pie.js +75 -0
  134. package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
  135. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  136. package/lib/components/DonutChart/Pie/Pie.styles.js +19 -0
  137. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  138. package/lib/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  139. package/lib/components/DonutChart/Pie/Pie.types.js +2 -0
  140. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
  141. package/lib/components/DonutChart/Pie/index.d.ts +2 -0
  142. package/lib/components/DonutChart/Pie/index.js +3 -0
  143. package/lib/components/DonutChart/Pie/index.js.map +1 -0
  144. package/lib/components/DonutChart/index.d.ts +3 -0
  145. package/lib/components/DonutChart/index.js +4 -0
  146. package/lib/components/DonutChart/index.js.map +1 -0
  147. package/lib/components/GaugeChart/GaugeChart.base.d.ts +82 -0
  148. package/lib/components/GaugeChart/GaugeChart.base.js +472 -0
  149. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -0
  150. package/lib/components/GaugeChart/GaugeChart.d.ts +7 -0
  151. package/lib/components/GaugeChart/GaugeChart.js +9 -0
  152. package/lib/components/GaugeChart/GaugeChart.js.map +1 -0
  153. package/lib/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  154. package/lib/components/GaugeChart/GaugeChart.styles.js +129 -0
  155. package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  156. package/lib/components/GaugeChart/GaugeChart.types.d.ts +273 -0
  157. package/lib/components/GaugeChart/GaugeChart.types.js +17 -0
  158. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -0
  159. package/lib/components/GaugeChart/index.d.ts +2 -0
  160. package/lib/components/GaugeChart/index.js +3 -0
  161. package/lib/components/GaugeChart/index.js.map +1 -0
  162. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
  163. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +495 -0
  164. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  165. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  166. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +10 -0
  167. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  168. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  169. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +17 -0
  170. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  171. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
  172. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +2 -0
  173. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  174. package/lib/components/GroupedVerticalBarChart/index.d.ts +2 -0
  175. package/lib/components/GroupedVerticalBarChart/index.js +3 -0
  176. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -0
  177. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
  178. package/lib/components/HeatMapChart/HeatMapChart.base.js +597 -0
  179. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  180. package/lib/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  181. package/lib/components/HeatMapChart/HeatMapChart.js +9 -0
  182. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -0
  183. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  184. package/lib/components/HeatMapChart/HeatMapChart.styles.js +23 -0
  185. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  186. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
  187. package/lib/components/HeatMapChart/HeatMapChart.types.js +2 -0
  188. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  189. package/lib/components/HeatMapChart/index.d.ts +2 -0
  190. package/lib/components/HeatMapChart/index.js +3 -0
  191. package/lib/components/HeatMapChart/index.js.map +1 -0
  192. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  193. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +293 -0
  194. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  195. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  196. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +10 -0
  197. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  198. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  199. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +66 -0
  200. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  201. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  202. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +9 -0
  203. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  204. package/lib/components/HorizontalBarChart/index.d.ts +3 -0
  205. package/lib/components/HorizontalBarChart/index.js +4 -0
  206. package/lib/components/HorizontalBarChart/index.js.map +1 -0
  207. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
  208. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +601 -0
  209. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  210. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  211. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +10 -0
  212. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  213. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  214. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +12 -0
  215. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  216. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  217. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +2 -0
  218. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  219. package/lib/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  220. package/lib/components/HorizontalBarChartWithAxis/index.js +3 -0
  221. package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  222. package/lib/components/Legends/Legends.base.d.ts +50 -0
  223. package/lib/components/Legends/Legends.base.js +329 -0
  224. package/lib/components/Legends/Legends.base.js.map +1 -0
  225. package/lib/components/Legends/Legends.d.ts +7 -0
  226. package/lib/components/Legends/Legends.js +9 -0
  227. package/lib/components/Legends/Legends.js.map +1 -0
  228. package/lib/components/Legends/Legends.styles.d.ts +10 -0
  229. package/lib/components/Legends/Legends.styles.js +120 -0
  230. package/lib/components/Legends/Legends.styles.js.map +1 -0
  231. package/lib/components/Legends/Legends.types.d.ts +259 -0
  232. package/lib/components/Legends/Legends.types.js +2 -0
  233. package/lib/components/Legends/Legends.types.js.map +1 -0
  234. package/lib/components/Legends/index.d.ts +3 -0
  235. package/lib/components/Legends/index.js +4 -0
  236. package/lib/components/Legends/index.js.map +1 -0
  237. package/lib/components/Legends/shape.d.ts +9 -0
  238. package/lib/components/Legends/shape.js +24 -0
  239. package/lib/components/Legends/shape.js.map +1 -0
  240. package/lib/components/LineChart/LineChart.base.d.ts +105 -0
  241. package/lib/components/LineChart/LineChart.base.js +966 -0
  242. package/lib/components/LineChart/LineChart.base.js.map +1 -0
  243. package/lib/components/LineChart/LineChart.d.ts +7 -0
  244. package/lib/components/LineChart/LineChart.js +10 -0
  245. package/lib/components/LineChart/LineChart.js.map +1 -0
  246. package/lib/components/LineChart/LineChart.styles.d.ts +2 -0
  247. package/lib/components/LineChart/LineChart.styles.js +7 -0
  248. package/lib/components/LineChart/LineChart.styles.js.map +1 -0
  249. package/lib/components/LineChart/LineChart.types.d.ts +103 -0
  250. package/lib/components/LineChart/LineChart.types.js +2 -0
  251. package/lib/components/LineChart/LineChart.types.js.map +1 -0
  252. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  253. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +90 -0
  254. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  255. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  256. package/lib/components/LineChart/eventAnnotation/LabelLink.js +40 -0
  257. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  258. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  259. package/lib/components/LineChart/eventAnnotation/Textbox.js +38 -0
  260. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  261. package/lib/components/LineChart/index.d.ts +3 -0
  262. package/lib/components/LineChart/index.js +4 -0
  263. package/lib/components/LineChart/index.js.map +1 -0
  264. package/lib/components/PieChart/Arc/Arc.d.ts +17 -0
  265. package/lib/components/PieChart/Arc/Arc.js +89 -0
  266. package/lib/components/PieChart/Arc/Arc.js.map +1 -0
  267. package/lib/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  268. package/lib/components/PieChart/Arc/Arc.styles.js +11 -0
  269. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -0
  270. package/lib/components/PieChart/Arc/Arc.types.d.ts +73 -0
  271. package/lib/components/PieChart/Arc/Arc.types.js +2 -0
  272. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -0
  273. package/lib/components/PieChart/Arc/index.d.ts +2 -0
  274. package/lib/components/PieChart/Arc/index.js +3 -0
  275. package/lib/components/PieChart/Arc/index.js.map +1 -0
  276. package/lib/components/PieChart/Pie/Pie.d.ts +10 -0
  277. package/lib/components/PieChart/Pie/Pie.js +45 -0
  278. package/lib/components/PieChart/Pie/Pie.js.map +1 -0
  279. package/lib/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  280. package/lib/components/PieChart/Pie/Pie.styles.js +6 -0
  281. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -0
  282. package/lib/components/PieChart/Pie/Pie.types.d.ts +47 -0
  283. package/lib/components/PieChart/Pie/Pie.types.js +2 -0
  284. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -0
  285. package/lib/components/PieChart/Pie/index.d.ts +2 -0
  286. package/lib/components/PieChart/Pie/index.js +3 -0
  287. package/lib/components/PieChart/Pie/index.js.map +1 -0
  288. package/lib/components/PieChart/PieChart.base.d.ts +10 -0
  289. package/lib/components/PieChart/PieChart.base.js +46 -0
  290. package/lib/components/PieChart/PieChart.base.js.map +1 -0
  291. package/lib/components/PieChart/PieChart.d.ts +7 -0
  292. package/lib/components/PieChart/PieChart.js +10 -0
  293. package/lib/components/PieChart/PieChart.js.map +1 -0
  294. package/lib/components/PieChart/PieChart.styles.d.ts +2 -0
  295. package/lib/components/PieChart/PieChart.styles.js +29 -0
  296. package/lib/components/PieChart/PieChart.styles.js.map +1 -0
  297. package/lib/components/PieChart/PieChart.types.d.ts +75 -0
  298. package/lib/components/PieChart/PieChart.types.js +2 -0
  299. package/lib/components/PieChart/PieChart.types.js.map +1 -0
  300. package/lib/components/PieChart/index.d.ts +2 -0
  301. package/lib/components/PieChart/index.js +3 -0
  302. package/lib/components/PieChart/index.js.map +1 -0
  303. package/lib/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
  304. package/lib/components/ResponsiveContainer/ResponsiveContainer.js +83 -0
  305. package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
  306. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
  307. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js +2 -0
  308. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
  309. package/lib/components/ResponsiveContainer/index.d.ts +3 -0
  310. package/lib/components/ResponsiveContainer/index.js +4 -0
  311. package/lib/components/ResponsiveContainer/index.js.map +1 -0
  312. package/lib/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
  313. package/lib/components/ResponsiveContainer/withResponsiveContainer.js +17 -0
  314. package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
  315. package/lib/components/SankeyChart/SankeyChart.base.d.ts +91 -0
  316. package/lib/components/SankeyChart/SankeyChart.base.js +919 -0
  317. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -0
  318. package/lib/components/SankeyChart/SankeyChart.d.ts +7 -0
  319. package/lib/components/SankeyChart/SankeyChart.js +10 -0
  320. package/lib/components/SankeyChart/SankeyChart.js.map +1 -0
  321. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  322. package/lib/components/SankeyChart/SankeyChart.styles.js +59 -0
  323. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  324. package/lib/components/SankeyChart/SankeyChart.types.d.ts +157 -0
  325. package/lib/components/SankeyChart/SankeyChart.types.js +2 -0
  326. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -0
  327. package/lib/components/SankeyChart/index.d.ts +2 -0
  328. package/lib/components/SankeyChart/index.js +3 -0
  329. package/lib/components/SankeyChart/index.js.map +1 -0
  330. package/lib/components/Sparkline/Sparkline.base.d.ts +23 -0
  331. package/lib/components/Sparkline/Sparkline.base.js +86 -0
  332. package/lib/components/Sparkline/Sparkline.base.js.map +1 -0
  333. package/lib/components/Sparkline/Sparkline.d.ts +7 -0
  334. package/lib/components/Sparkline/Sparkline.js +10 -0
  335. package/lib/components/Sparkline/Sparkline.js.map +1 -0
  336. package/lib/components/Sparkline/Sparkline.styles.d.ts +2 -0
  337. package/lib/components/Sparkline/Sparkline.styles.js +10 -0
  338. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -0
  339. package/lib/components/Sparkline/Sparkline.types.d.ts +59 -0
  340. package/lib/components/Sparkline/Sparkline.types.js +2 -0
  341. package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
  342. package/lib/components/Sparkline/index.d.ts +2 -0
  343. package/lib/components/Sparkline/index.js +3 -0
  344. package/lib/components/Sparkline/index.js.map +1 -0
  345. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  346. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +437 -0
  347. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  348. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  349. package/lib/components/StackedBarChart/MultiStackedBarChart.js +10 -0
  350. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  351. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  352. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +86 -0
  353. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  354. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  355. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +9 -0
  356. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  357. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  358. package/lib/components/StackedBarChart/StackedBarChart.base.js +366 -0
  359. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  360. package/lib/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  361. package/lib/components/StackedBarChart/StackedBarChart.js +10 -0
  362. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -0
  363. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  364. package/lib/components/StackedBarChart/StackedBarChart.styles.js +103 -0
  365. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  366. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  367. package/lib/components/StackedBarChart/StackedBarChart.types.js +2 -0
  368. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  369. package/lib/components/StackedBarChart/index.d.ts +5 -0
  370. package/lib/components/StackedBarChart/index.js +6 -0
  371. package/lib/components/StackedBarChart/index.js.map +1 -0
  372. package/lib/components/TreeChart/TreeChart.base.d.ts +18 -0
  373. package/lib/components/TreeChart/TreeChart.base.js +321 -0
  374. package/lib/components/TreeChart/TreeChart.base.js.map +1 -0
  375. package/lib/components/TreeChart/TreeChart.d.ts +7 -0
  376. package/lib/components/TreeChart/TreeChart.js +9 -0
  377. package/lib/components/TreeChart/TreeChart.js.map +1 -0
  378. package/lib/components/TreeChart/TreeChart.styles.d.ts +2 -0
  379. package/lib/components/TreeChart/TreeChart.styles.js +29 -0
  380. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -0
  381. package/lib/components/TreeChart/TreeChart.types.d.ts +216 -0
  382. package/lib/components/TreeChart/TreeChart.types.js +29 -0
  383. package/lib/components/TreeChart/TreeChart.types.js.map +1 -0
  384. package/lib/components/TreeChart/index.d.ts +2 -0
  385. package/lib/components/TreeChart/index.js +3 -0
  386. package/lib/components/TreeChart/index.js.map +1 -0
  387. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
  388. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +880 -0
  389. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  390. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  391. package/lib/components/VerticalBarChart/VerticalBarChart.js +10 -0
  392. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  393. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  394. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +28 -0
  395. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  396. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
  397. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +2 -0
  398. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  399. package/lib/components/VerticalBarChart/index.d.ts +2 -0
  400. package/lib/components/VerticalBarChart/index.js +3 -0
  401. package/lib/components/VerticalBarChart/index.js.map +1 -0
  402. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
  403. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +816 -0
  404. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  405. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  406. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +10 -0
  407. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  408. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  409. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +18 -0
  410. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  411. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
  412. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +2 -0
  413. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  414. package/lib/components/VerticalStackedBarChart/index.d.ts +2 -0
  415. package/lib/components/VerticalStackedBarChart/index.js +3 -0
  416. package/lib/components/VerticalStackedBarChart/index.js.map +1 -0
  417. package/lib/index.d.ts +44 -0
  418. package/lib/index.js +24 -0
  419. package/lib/index.js.map +1 -0
  420. package/lib/types/IDataPoint.d.ts +736 -0
  421. package/lib/types/IDataPoint.js +2 -0
  422. package/lib/types/IDataPoint.js.map +1 -0
  423. package/lib/types/IEventAnnotation.d.ts +6 -0
  424. package/lib/types/IEventAnnotation.js +2 -0
  425. package/lib/types/IEventAnnotation.js.map +1 -0
  426. package/lib/types/ILegendDataItem.d.ts +10 -0
  427. package/lib/types/ILegendDataItem.js +2 -0
  428. package/lib/types/ILegendDataItem.js.map +1 -0
  429. package/lib/types/index.d.ts +2 -0
  430. package/lib/types/index.js +3 -0
  431. package/lib/types/index.js.map +1 -0
  432. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  433. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +38 -0
  434. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  435. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  436. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +6 -0
  437. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  438. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  439. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +98 -0
  440. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  441. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  442. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +2 -0
  443. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  444. package/lib/utilities/ChartHoverCard/index.d.ts +3 -0
  445. package/lib/utilities/ChartHoverCard/index.js +4 -0
  446. package/lib/utilities/ChartHoverCard/index.js.map +1 -0
  447. package/lib/utilities/FocusableTooltipText.d.ts +27 -0
  448. package/lib/utilities/FocusableTooltipText.js +54 -0
  449. package/lib/utilities/FocusableTooltipText.js.map +1 -0
  450. package/lib/utilities/SVGTooltipText.d.ts +110 -0
  451. package/lib/utilities/SVGTooltipText.js +192 -0
  452. package/lib/utilities/SVGTooltipText.js.map +1 -0
  453. package/lib/utilities/colors.d.ts +52 -0
  454. package/lib/utilities/colors.js +154 -0
  455. package/lib/utilities/colors.js.map +1 -0
  456. package/lib/utilities/gradients.d.ts +30 -0
  457. package/lib/utilities/gradients.js +173 -0
  458. package/lib/utilities/gradients.js.map +1 -0
  459. package/lib/utilities/image-export-utils.d.ts +13 -0
  460. package/lib/utilities/image-export-utils.js +238 -0
  461. package/lib/utilities/image-export-utils.js.map +1 -0
  462. package/lib/utilities/index.d.ts +5 -0
  463. package/lib/utilities/index.js +6 -0
  464. package/lib/utilities/index.js.map +1 -0
  465. package/lib/utilities/locale-util.d.ts +3 -0
  466. package/lib/utilities/locale-util.js +18 -0
  467. package/lib/utilities/locale-util.js.map +1 -0
  468. package/lib/utilities/test-data.d.ts +43 -0
  469. package/lib/utilities/test-data.js +262 -0
  470. package/lib/utilities/test-data.js.map +1 -0
  471. package/lib/utilities/utilities.d.ts +418 -0
  472. package/lib/utilities/utilities.js +1224 -0
  473. package/lib/utilities/utilities.js.map +1 -0
  474. package/lib/utilities/vbc-utils.d.ts +2 -0
  475. package/lib/utilities/vbc-utils.js +31 -0
  476. package/lib/utilities/vbc-utils.js.map +1 -0
  477. package/lib/version.d.ts +1 -0
  478. package/lib/version.js +5 -0
  479. package/lib/version.js.map +1 -0
  480. package/lib-amd/AreaChart.d.ts +1 -0
  481. package/lib-amd/AreaChart.js +6 -0
  482. package/lib-amd/AreaChart.js.map +1 -0
  483. package/lib-amd/CartesianChart.d.ts +1 -0
  484. package/lib-amd/CartesianChart.js +6 -0
  485. package/lib-amd/CartesianChart.js.map +1 -0
  486. package/lib-amd/DeclarativeChart.d.ts +1 -0
  487. package/lib-amd/DeclarativeChart.js +6 -0
  488. package/lib-amd/DeclarativeChart.js.map +1 -0
  489. package/lib-amd/DonutChart.d.ts +1 -0
  490. package/lib-amd/DonutChart.js +6 -0
  491. package/lib-amd/DonutChart.js.map +1 -0
  492. package/lib-amd/GaugeChart.d.ts +1 -0
  493. package/lib-amd/GaugeChart.js +6 -0
  494. package/lib-amd/GaugeChart.js.map +1 -0
  495. package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
  496. package/lib-amd/GroupedVerticalBarChart.js +6 -0
  497. package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
  498. package/lib-amd/HeatMapChart.d.ts +1 -0
  499. package/lib-amd/HeatMapChart.js +6 -0
  500. package/lib-amd/HeatMapChart.js.map +1 -0
  501. package/lib-amd/HorizontalBarChart.d.ts +1 -0
  502. package/lib-amd/HorizontalBarChart.js +6 -0
  503. package/lib-amd/HorizontalBarChart.js.map +1 -0
  504. package/lib-amd/HorizontalBarChartWithAxis.d.ts +1 -0
  505. package/lib-amd/HorizontalBarChartWithAxis.js +6 -0
  506. package/lib-amd/HorizontalBarChartWithAxis.js.map +1 -0
  507. package/lib-amd/Legends.d.ts +1 -0
  508. package/lib-amd/Legends.js +6 -0
  509. package/lib-amd/Legends.js.map +1 -0
  510. package/lib-amd/LineChart.d.ts +1 -0
  511. package/lib-amd/LineChart.js +6 -0
  512. package/lib-amd/LineChart.js.map +1 -0
  513. package/lib-amd/PieChart.d.ts +1 -0
  514. package/lib-amd/PieChart.js +6 -0
  515. package/lib-amd/PieChart.js.map +1 -0
  516. package/lib-amd/ResponsiveContainer.d.ts +1 -0
  517. package/lib-amd/ResponsiveContainer.js +6 -0
  518. package/lib-amd/ResponsiveContainer.js.map +1 -0
  519. package/lib-amd/SankeyChart.d.ts +1 -0
  520. package/lib-amd/SankeyChart.js +6 -0
  521. package/lib-amd/SankeyChart.js.map +1 -0
  522. package/lib-amd/Sparkline.d.ts +1 -0
  523. package/lib-amd/Sparkline.js +6 -0
  524. package/lib-amd/Sparkline.js.map +1 -0
  525. package/lib-amd/StackedBarChart.d.ts +1 -0
  526. package/lib-amd/StackedBarChart.js +6 -0
  527. package/lib-amd/StackedBarChart.js.map +1 -0
  528. package/lib-amd/Styling.d.ts +2 -0
  529. package/lib-amd/Styling.js +75 -0
  530. package/lib-amd/Styling.js.map +1 -0
  531. package/lib-amd/TreeChart.d.ts +1 -0
  532. package/lib-amd/TreeChart.js +6 -0
  533. package/lib-amd/TreeChart.js.map +1 -0
  534. package/lib-amd/Utilities.d.ts +2 -0
  535. package/lib-amd/Utilities.js +174 -0
  536. package/lib-amd/Utilities.js.map +1 -0
  537. package/lib-amd/VerticalBarChart.d.ts +1 -0
  538. package/lib-amd/VerticalBarChart.js +6 -0
  539. package/lib-amd/VerticalBarChart.js.map +1 -0
  540. package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
  541. package/lib-amd/VerticalStackedBarChart.js +6 -0
  542. package/lib-amd/VerticalStackedBarChart.js.map +1 -0
  543. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +111 -0
  544. package/lib-amd/components/AreaChart/AreaChart.base.js +714 -0
  545. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
  546. package/lib-amd/components/AreaChart/AreaChart.d.ts +7 -0
  547. package/lib-amd/components/AreaChart/AreaChart.js +12 -0
  548. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
  549. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
  550. package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
  551. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
  552. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +64 -0
  553. package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
  554. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
  555. package/lib-amd/components/AreaChart/index.d.ts +2 -0
  556. package/lib-amd/components/AreaChart/index.js +7 -0
  557. package/lib-amd/components/AreaChart/index.js.map +1 -0
  558. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +65 -0
  559. package/lib-amd/components/CommonComponents/CartesianChart.base.js +605 -0
  560. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
  561. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +7 -0
  562. package/lib-amd/components/CommonComponents/CartesianChart.js +11 -0
  563. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
  564. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  565. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +178 -0
  566. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  567. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +556 -0
  568. package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
  569. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
  570. package/lib-amd/components/CommonComponents/index.d.ts +2 -0
  571. package/lib-amd/components/CommonComponents/index.js +7 -0
  572. package/lib-amd/components/CommonComponents/index.js.map +1 -0
  573. package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
  574. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +133 -0
  575. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
  576. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
  577. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +656 -0
  578. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
  579. package/lib-amd/components/DeclarativeChart/index.d.ts +1 -0
  580. package/lib-amd/components/DeclarativeChart/index.js +6 -0
  581. package/lib-amd/components/DeclarativeChart/index.js.map +1 -0
  582. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +22 -0
  583. package/lib-amd/components/DonutChart/Arc/Arc.js +105 -0
  584. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
  585. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  586. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +40 -0
  587. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  588. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  589. package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
  590. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
  591. package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
  592. package/lib-amd/components/DonutChart/Arc/index.js +7 -0
  593. package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
  594. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +61 -0
  595. package/lib-amd/components/DonutChart/DonutChart.base.js +296 -0
  596. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
  597. package/lib-amd/components/DonutChart/DonutChart.d.ts +7 -0
  598. package/lib-amd/components/DonutChart/DonutChart.js +12 -0
  599. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
  600. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
  601. package/lib-amd/components/DonutChart/DonutChart.styles.js +36 -0
  602. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
  603. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +90 -0
  604. package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
  605. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
  606. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +15 -0
  607. package/lib-amd/components/DonutChart/Pie/Pie.js +73 -0
  608. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
  609. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  610. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +24 -0
  611. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  612. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  613. package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
  614. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
  615. package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
  616. package/lib-amd/components/DonutChart/Pie/index.js +7 -0
  617. package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
  618. package/lib-amd/components/DonutChart/index.d.ts +3 -0
  619. package/lib-amd/components/DonutChart/index.js +8 -0
  620. package/lib-amd/components/DonutChart/index.js.map +1 -0
  621. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +82 -0
  622. package/lib-amd/components/GaugeChart/GaugeChart.base.js +467 -0
  623. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -0
  624. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +7 -0
  625. package/lib-amd/components/GaugeChart/GaugeChart.js +11 -0
  626. package/lib-amd/components/GaugeChart/GaugeChart.js.map +1 -0
  627. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  628. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +133 -0
  629. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  630. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +273 -0
  631. package/lib-amd/components/GaugeChart/GaugeChart.types.js +22 -0
  632. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -0
  633. package/lib-amd/components/GaugeChart/index.d.ts +2 -0
  634. package/lib-amd/components/GaugeChart/index.js +7 -0
  635. package/lib-amd/components/GaugeChart/index.js.map +1 -0
  636. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
  637. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +489 -0
  638. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  639. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  640. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +12 -0
  641. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  642. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  643. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  644. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  645. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
  646. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
  647. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  648. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
  649. package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
  650. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
  651. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
  652. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +588 -0
  653. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  654. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  655. package/lib-amd/components/HeatMapChart/HeatMapChart.js +11 -0
  656. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
  657. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  658. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +28 -0
  659. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  660. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
  661. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
  662. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  663. package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
  664. package/lib-amd/components/HeatMapChart/index.js +7 -0
  665. package/lib-amd/components/HeatMapChart/index.js.map +1 -0
  666. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  667. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +289 -0
  668. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  669. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  670. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +12 -0
  671. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  672. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  673. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +69 -0
  674. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  675. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  676. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +14 -0
  677. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  678. package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
  679. package/lib-amd/components/HorizontalBarChart/index.js +8 -0
  680. package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
  681. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
  682. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +594 -0
  683. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  684. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  685. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +12 -0
  686. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  687. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  688. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +17 -0
  689. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  690. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  691. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +5 -0
  692. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  693. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  694. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +7 -0
  695. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  696. package/lib-amd/components/Legends/Legends.base.d.ts +50 -0
  697. package/lib-amd/components/Legends/Legends.base.js +325 -0
  698. package/lib-amd/components/Legends/Legends.base.js.map +1 -0
  699. package/lib-amd/components/Legends/Legends.d.ts +7 -0
  700. package/lib-amd/components/Legends/Legends.js +11 -0
  701. package/lib-amd/components/Legends/Legends.js.map +1 -0
  702. package/lib-amd/components/Legends/Legends.styles.d.ts +10 -0
  703. package/lib-amd/components/Legends/Legends.styles.js +124 -0
  704. package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
  705. package/lib-amd/components/Legends/Legends.types.d.ts +259 -0
  706. package/lib-amd/components/Legends/Legends.types.js +5 -0
  707. package/lib-amd/components/Legends/Legends.types.js.map +1 -0
  708. package/lib-amd/components/Legends/index.d.ts +3 -0
  709. package/lib-amd/components/Legends/index.js +8 -0
  710. package/lib-amd/components/Legends/index.js.map +1 -0
  711. package/lib-amd/components/Legends/shape.d.ts +9 -0
  712. package/lib-amd/components/Legends/shape.js +27 -0
  713. package/lib-amd/components/Legends/shape.js.map +1 -0
  714. package/lib-amd/components/LineChart/LineChart.base.d.ts +105 -0
  715. package/lib-amd/components/LineChart/LineChart.base.js +958 -0
  716. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
  717. package/lib-amd/components/LineChart/LineChart.d.ts +7 -0
  718. package/lib-amd/components/LineChart/LineChart.js +12 -0
  719. package/lib-amd/components/LineChart/LineChart.js.map +1 -0
  720. package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
  721. package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
  722. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
  723. package/lib-amd/components/LineChart/LineChart.types.d.ts +103 -0
  724. package/lib-amd/components/LineChart/LineChart.types.js +5 -0
  725. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
  726. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  727. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +91 -0
  728. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  729. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  730. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +42 -0
  731. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  732. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  733. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
  734. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  735. package/lib-amd/components/LineChart/index.d.ts +3 -0
  736. package/lib-amd/components/LineChart/index.js +8 -0
  737. package/lib-amd/components/LineChart/index.js.map +1 -0
  738. package/lib-amd/components/PieChart/Arc/Arc.d.ts +17 -0
  739. package/lib-amd/components/PieChart/Arc/Arc.js +86 -0
  740. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
  741. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  742. package/lib-amd/components/PieChart/Arc/Arc.styles.js +16 -0
  743. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
  744. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +73 -0
  745. package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
  746. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
  747. package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
  748. package/lib-amd/components/PieChart/Arc/index.js +7 -0
  749. package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
  750. package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
  751. package/lib-amd/components/PieChart/Pie/Pie.js +43 -0
  752. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
  753. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  754. package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
  755. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
  756. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +47 -0
  757. package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
  758. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
  759. package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
  760. package/lib-amd/components/PieChart/Pie/index.js +7 -0
  761. package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
  762. package/lib-amd/components/PieChart/PieChart.base.d.ts +10 -0
  763. package/lib-amd/components/PieChart/PieChart.base.js +47 -0
  764. package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
  765. package/lib-amd/components/PieChart/PieChart.d.ts +7 -0
  766. package/lib-amd/components/PieChart/PieChart.js +12 -0
  767. package/lib-amd/components/PieChart/PieChart.js.map +1 -0
  768. package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
  769. package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
  770. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
  771. package/lib-amd/components/PieChart/PieChart.types.d.ts +75 -0
  772. package/lib-amd/components/PieChart/PieChart.types.js +5 -0
  773. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
  774. package/lib-amd/components/PieChart/index.d.ts +2 -0
  775. package/lib-amd/components/PieChart/index.js +7 -0
  776. package/lib-amd/components/PieChart/index.js.map +1 -0
  777. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
  778. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +86 -0
  779. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
  780. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
  781. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js +5 -0
  782. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
  783. package/lib-amd/components/ResponsiveContainer/index.d.ts +3 -0
  784. package/lib-amd/components/ResponsiveContainer/index.js +8 -0
  785. package/lib-amd/components/ResponsiveContainer/index.js.map +1 -0
  786. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
  787. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +19 -0
  788. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
  789. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +91 -0
  790. package/lib-amd/components/SankeyChart/SankeyChart.base.js +916 -0
  791. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
  792. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +7 -0
  793. package/lib-amd/components/SankeyChart/SankeyChart.js +12 -0
  794. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
  795. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  796. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +63 -0
  797. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  798. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +157 -0
  799. package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
  800. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
  801. package/lib-amd/components/SankeyChart/index.d.ts +2 -0
  802. package/lib-amd/components/SankeyChart/index.js +7 -0
  803. package/lib-amd/components/SankeyChart/index.js.map +1 -0
  804. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +23 -0
  805. package/lib-amd/components/Sparkline/Sparkline.base.js +84 -0
  806. package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
  807. package/lib-amd/components/Sparkline/Sparkline.d.ts +7 -0
  808. package/lib-amd/components/Sparkline/Sparkline.js +12 -0
  809. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
  810. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
  811. package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
  812. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
  813. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +59 -0
  814. package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
  815. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
  816. package/lib-amd/components/Sparkline/index.d.ts +2 -0
  817. package/lib-amd/components/Sparkline/index.js +7 -0
  818. package/lib-amd/components/Sparkline/index.js.map +1 -0
  819. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  820. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +432 -0
  821. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  822. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  823. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +12 -0
  824. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  825. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  826. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +89 -0
  827. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  828. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  829. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +14 -0
  830. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  831. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  832. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +362 -0
  833. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  834. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  835. package/lib-amd/components/StackedBarChart/StackedBarChart.js +12 -0
  836. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
  837. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  838. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +107 -0
  839. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  840. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  841. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
  842. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  843. package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
  844. package/lib-amd/components/StackedBarChart/index.js +10 -0
  845. package/lib-amd/components/StackedBarChart/index.js.map +1 -0
  846. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
  847. package/lib-amd/components/TreeChart/TreeChart.base.js +319 -0
  848. package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
  849. package/lib-amd/components/TreeChart/TreeChart.d.ts +7 -0
  850. package/lib-amd/components/TreeChart/TreeChart.js +11 -0
  851. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
  852. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
  853. package/lib-amd/components/TreeChart/TreeChart.styles.js +34 -0
  854. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
  855. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +216 -0
  856. package/lib-amd/components/TreeChart/TreeChart.types.js +34 -0
  857. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
  858. package/lib-amd/components/TreeChart/index.d.ts +2 -0
  859. package/lib-amd/components/TreeChart/index.js +7 -0
  860. package/lib-amd/components/TreeChart/index.js.map +1 -0
  861. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
  862. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +873 -0
  863. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  864. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  865. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +12 -0
  866. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  867. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  868. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  869. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  870. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
  871. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
  872. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  873. package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
  874. package/lib-amd/components/VerticalBarChart/index.js +7 -0
  875. package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
  876. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
  877. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +809 -0
  878. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  879. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  880. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +12 -0
  881. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  882. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  883. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  884. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  885. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
  886. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
  887. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  888. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
  889. package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
  890. package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
  891. package/lib-amd/index.d.ts +44 -0
  892. package/lib-amd/index.js +43 -0
  893. package/lib-amd/index.js.map +1 -0
  894. package/lib-amd/types/IDataPoint.d.ts +736 -0
  895. package/lib-amd/types/IDataPoint.js +5 -0
  896. package/lib-amd/types/IDataPoint.js.map +1 -0
  897. package/lib-amd/types/IEventAnnotation.d.ts +6 -0
  898. package/lib-amd/types/IEventAnnotation.js +5 -0
  899. package/lib-amd/types/IEventAnnotation.js.map +1 -0
  900. package/lib-amd/types/ILegendDataItem.d.ts +10 -0
  901. package/lib-amd/types/ILegendDataItem.js +5 -0
  902. package/lib-amd/types/ILegendDataItem.js.map +1 -0
  903. package/lib-amd/types/index.d.ts +2 -0
  904. package/lib-amd/types/index.js +7 -0
  905. package/lib-amd/types/index.js.map +1 -0
  906. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  907. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
  908. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  909. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  910. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
  911. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  912. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  913. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +103 -0
  914. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  915. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  916. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
  917. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  918. package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
  919. package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
  920. package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
  921. package/lib-amd/utilities/FocusableTooltipText.d.ts +27 -0
  922. package/lib-amd/utilities/FocusableTooltipText.js +54 -0
  923. package/lib-amd/utilities/FocusableTooltipText.js.map +1 -0
  924. package/lib-amd/utilities/SVGTooltipText.d.ts +110 -0
  925. package/lib-amd/utilities/SVGTooltipText.js +192 -0
  926. package/lib-amd/utilities/SVGTooltipText.js.map +1 -0
  927. package/lib-amd/utilities/colors.d.ts +52 -0
  928. package/lib-amd/utilities/colors.js +161 -0
  929. package/lib-amd/utilities/colors.js.map +1 -0
  930. package/lib-amd/utilities/gradients.d.ts +30 -0
  931. package/lib-amd/utilities/gradients.js +180 -0
  932. package/lib-amd/utilities/gradients.js.map +1 -0
  933. package/lib-amd/utilities/image-export-utils.d.ts +13 -0
  934. package/lib-amd/utilities/image-export-utils.js +241 -0
  935. package/lib-amd/utilities/image-export-utils.js.map +1 -0
  936. package/lib-amd/utilities/index.d.ts +5 -0
  937. package/lib-amd/utilities/index.js +10 -0
  938. package/lib-amd/utilities/index.js.map +1 -0
  939. package/lib-amd/utilities/locale-util.d.ts +3 -0
  940. package/lib-amd/utilities/locale-util.js +24 -0
  941. package/lib-amd/utilities/locale-util.js.map +1 -0
  942. package/lib-amd/utilities/test-data.d.ts +43 -0
  943. package/lib-amd/utilities/test-data.js +266 -0
  944. package/lib-amd/utilities/test-data.js.map +1 -0
  945. package/lib-amd/utilities/utilities.d.ts +418 -0
  946. package/lib-amd/utilities/utilities.js +1261 -0
  947. package/lib-amd/utilities/utilities.js.map +1 -0
  948. package/lib-amd/utilities/vbc-utils.d.ts +2 -0
  949. package/lib-amd/utilities/vbc-utils.js +38 -0
  950. package/lib-amd/utilities/vbc-utils.js.map +1 -0
  951. package/lib-amd/version.d.ts +1 -0
  952. package/lib-amd/version.js +6 -0
  953. package/lib-amd/version.js.map +1 -0
  954. package/lib-commonjs/AreaChart.d.ts +1 -0
  955. package/lib-commonjs/AreaChart.js +5 -0
  956. package/lib-commonjs/AreaChart.js.map +1 -0
  957. package/lib-commonjs/CartesianChart.d.ts +1 -0
  958. package/lib-commonjs/CartesianChart.js +5 -0
  959. package/lib-commonjs/CartesianChart.js.map +1 -0
  960. package/lib-commonjs/DeclarativeChart.d.ts +1 -0
  961. package/lib-commonjs/DeclarativeChart.js +5 -0
  962. package/lib-commonjs/DeclarativeChart.js.map +1 -0
  963. package/lib-commonjs/DonutChart.d.ts +1 -0
  964. package/lib-commonjs/DonutChart.js +5 -0
  965. package/lib-commonjs/DonutChart.js.map +1 -0
  966. package/lib-commonjs/GaugeChart.d.ts +1 -0
  967. package/lib-commonjs/GaugeChart.js +5 -0
  968. package/lib-commonjs/GaugeChart.js.map +1 -0
  969. package/lib-commonjs/GroupedVerticalBarChart.d.ts +1 -0
  970. package/lib-commonjs/GroupedVerticalBarChart.js +5 -0
  971. package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -0
  972. package/lib-commonjs/HeatMapChart.d.ts +1 -0
  973. package/lib-commonjs/HeatMapChart.js +5 -0
  974. package/lib-commonjs/HeatMapChart.js.map +1 -0
  975. package/lib-commonjs/HorizontalBarChart.d.ts +1 -0
  976. package/lib-commonjs/HorizontalBarChart.js +5 -0
  977. package/lib-commonjs/HorizontalBarChart.js.map +1 -0
  978. package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +1 -0
  979. package/lib-commonjs/HorizontalBarChartWithAxis.js +5 -0
  980. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -0
  981. package/lib-commonjs/Legends.d.ts +1 -0
  982. package/lib-commonjs/Legends.js +5 -0
  983. package/lib-commonjs/Legends.js.map +1 -0
  984. package/lib-commonjs/LineChart.d.ts +1 -0
  985. package/lib-commonjs/LineChart.js +5 -0
  986. package/lib-commonjs/LineChart.js.map +1 -0
  987. package/lib-commonjs/PieChart.d.ts +1 -0
  988. package/lib-commonjs/PieChart.js +5 -0
  989. package/lib-commonjs/PieChart.js.map +1 -0
  990. package/lib-commonjs/ResponsiveContainer.d.ts +1 -0
  991. package/lib-commonjs/ResponsiveContainer.js +5 -0
  992. package/lib-commonjs/ResponsiveContainer.js.map +1 -0
  993. package/lib-commonjs/SankeyChart.d.ts +1 -0
  994. package/lib-commonjs/SankeyChart.js +5 -0
  995. package/lib-commonjs/SankeyChart.js.map +1 -0
  996. package/lib-commonjs/Sparkline.d.ts +1 -0
  997. package/lib-commonjs/Sparkline.js +5 -0
  998. package/lib-commonjs/Sparkline.js.map +1 -0
  999. package/lib-commonjs/StackedBarChart.d.ts +1 -0
  1000. package/lib-commonjs/StackedBarChart.js +5 -0
  1001. package/lib-commonjs/StackedBarChart.js.map +1 -0
  1002. package/lib-commonjs/Styling.d.ts +2 -0
  1003. package/lib-commonjs/Styling.js +75 -0
  1004. package/lib-commonjs/Styling.js.map +1 -0
  1005. package/lib-commonjs/TreeChart.d.ts +1 -0
  1006. package/lib-commonjs/TreeChart.js +5 -0
  1007. package/lib-commonjs/TreeChart.js.map +1 -0
  1008. package/lib-commonjs/Utilities.d.ts +2 -0
  1009. package/lib-commonjs/Utilities.js +176 -0
  1010. package/lib-commonjs/Utilities.js.map +1 -0
  1011. package/lib-commonjs/VerticalBarChart.d.ts +1 -0
  1012. package/lib-commonjs/VerticalBarChart.js +5 -0
  1013. package/lib-commonjs/VerticalBarChart.js.map +1 -0
  1014. package/lib-commonjs/VerticalStackedBarChart.d.ts +1 -0
  1015. package/lib-commonjs/VerticalStackedBarChart.js +5 -0
  1016. package/lib-commonjs/VerticalStackedBarChart.js.map +1 -0
  1017. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +111 -0
  1018. package/lib-commonjs/components/AreaChart/AreaChart.base.js +725 -0
  1019. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -0
  1020. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +7 -0
  1021. package/lib-commonjs/components/AreaChart/AreaChart.js +13 -0
  1022. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -0
  1023. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +2 -0
  1024. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +11 -0
  1025. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -0
  1026. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +64 -0
  1027. package/lib-commonjs/components/AreaChart/AreaChart.types.js +3 -0
  1028. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -0
  1029. package/lib-commonjs/components/AreaChart/index.d.ts +2 -0
  1030. package/lib-commonjs/components/AreaChart/index.js +6 -0
  1031. package/lib-commonjs/components/AreaChart/index.js.map +1 -0
  1032. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +65 -0
  1033. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +612 -0
  1034. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -0
  1035. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +7 -0
  1036. package/lib-commonjs/components/CommonComponents/CartesianChart.js +12 -0
  1037. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -0
  1038. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  1039. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +179 -0
  1040. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  1041. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +556 -0
  1042. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +3 -0
  1043. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -0
  1044. package/lib-commonjs/components/CommonComponents/index.d.ts +2 -0
  1045. package/lib-commonjs/components/CommonComponents/index.js +6 -0
  1046. package/lib-commonjs/components/CommonComponents/index.js.map +1 -0
  1047. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
  1048. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +148 -0
  1049. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
  1050. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
  1051. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +663 -0
  1052. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
  1053. package/lib-commonjs/components/DeclarativeChart/index.d.ts +1 -0
  1054. package/lib-commonjs/components/DeclarativeChart/index.js +5 -0
  1055. package/lib-commonjs/components/DeclarativeChart/index.js.map +1 -0
  1056. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +22 -0
  1057. package/lib-commonjs/components/DonutChart/Arc/Arc.js +110 -0
  1058. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -0
  1059. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  1060. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +39 -0
  1061. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  1062. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  1063. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +3 -0
  1064. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -0
  1065. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +2 -0
  1066. package/lib-commonjs/components/DonutChart/Arc/index.js +6 -0
  1067. package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -0
  1068. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +61 -0
  1069. package/lib-commonjs/components/DonutChart/DonutChart.base.js +304 -0
  1070. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -0
  1071. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +7 -0
  1072. package/lib-commonjs/components/DonutChart/DonutChart.js +13 -0
  1073. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -0
  1074. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +2 -0
  1075. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +34 -0
  1076. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -0
  1077. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +90 -0
  1078. package/lib-commonjs/components/DonutChart/DonutChart.types.js +3 -0
  1079. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -0
  1080. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +15 -0
  1081. package/lib-commonjs/components/DonutChart/Pie/Pie.js +78 -0
  1082. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -0
  1083. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  1084. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +23 -0
  1085. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  1086. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  1087. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +3 -0
  1088. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -0
  1089. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +2 -0
  1090. package/lib-commonjs/components/DonutChart/Pie/index.js +6 -0
  1091. package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -0
  1092. package/lib-commonjs/components/DonutChart/index.d.ts +3 -0
  1093. package/lib-commonjs/components/DonutChart/index.js +7 -0
  1094. package/lib-commonjs/components/DonutChart/index.js.map +1 -0
  1095. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +82 -0
  1096. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +478 -0
  1097. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -0
  1098. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +7 -0
  1099. package/lib-commonjs/components/GaugeChart/GaugeChart.js +12 -0
  1100. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -0
  1101. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  1102. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +133 -0
  1103. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  1104. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +273 -0
  1105. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +20 -0
  1106. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -0
  1107. package/lib-commonjs/components/GaugeChart/index.d.ts +2 -0
  1108. package/lib-commonjs/components/GaugeChart/index.js +6 -0
  1109. package/lib-commonjs/components/GaugeChart/index.js.map +1 -0
  1110. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
  1111. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +498 -0
  1112. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  1113. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  1114. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +13 -0
  1115. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  1116. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  1117. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  1118. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  1119. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
  1120. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +3 -0
  1121. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  1122. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +2 -0
  1123. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +6 -0
  1124. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -0
  1125. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
  1126. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +600 -0
  1127. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  1128. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  1129. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +12 -0
  1130. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -0
  1131. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  1132. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +27 -0
  1133. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  1134. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
  1135. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +3 -0
  1136. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  1137. package/lib-commonjs/components/HeatMapChart/index.d.ts +2 -0
  1138. package/lib-commonjs/components/HeatMapChart/index.js +6 -0
  1139. package/lib-commonjs/components/HeatMapChart/index.js.map +1 -0
  1140. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  1141. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +296 -0
  1142. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  1143. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  1144. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +13 -0
  1145. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  1146. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  1147. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +70 -0
  1148. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  1149. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  1150. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +12 -0
  1151. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  1152. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +3 -0
  1153. package/lib-commonjs/components/HorizontalBarChart/index.js +7 -0
  1154. package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -0
  1155. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
  1156. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +604 -0
  1157. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  1158. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  1159. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +13 -0
  1160. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  1161. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  1162. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +16 -0
  1163. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  1164. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  1165. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +3 -0
  1166. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  1167. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  1168. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +6 -0
  1169. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  1170. package/lib-commonjs/components/Legends/Legends.base.d.ts +50 -0
  1171. package/lib-commonjs/components/Legends/Legends.base.js +332 -0
  1172. package/lib-commonjs/components/Legends/Legends.base.js.map +1 -0
  1173. package/lib-commonjs/components/Legends/Legends.d.ts +7 -0
  1174. package/lib-commonjs/components/Legends/Legends.js +12 -0
  1175. package/lib-commonjs/components/Legends/Legends.js.map +1 -0
  1176. package/lib-commonjs/components/Legends/Legends.styles.d.ts +10 -0
  1177. package/lib-commonjs/components/Legends/Legends.styles.js +124 -0
  1178. package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -0
  1179. package/lib-commonjs/components/Legends/Legends.types.d.ts +259 -0
  1180. package/lib-commonjs/components/Legends/Legends.types.js +3 -0
  1181. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -0
  1182. package/lib-commonjs/components/Legends/index.d.ts +3 -0
  1183. package/lib-commonjs/components/Legends/index.js +7 -0
  1184. package/lib-commonjs/components/Legends/index.js.map +1 -0
  1185. package/lib-commonjs/components/Legends/shape.d.ts +9 -0
  1186. package/lib-commonjs/components/Legends/shape.js +28 -0
  1187. package/lib-commonjs/components/Legends/shape.js.map +1 -0
  1188. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +105 -0
  1189. package/lib-commonjs/components/LineChart/LineChart.base.js +969 -0
  1190. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -0
  1191. package/lib-commonjs/components/LineChart/LineChart.d.ts +7 -0
  1192. package/lib-commonjs/components/LineChart/LineChart.js +13 -0
  1193. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -0
  1194. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +2 -0
  1195. package/lib-commonjs/components/LineChart/LineChart.styles.js +11 -0
  1196. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -0
  1197. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +103 -0
  1198. package/lib-commonjs/components/LineChart/LineChart.types.js +3 -0
  1199. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -0
  1200. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  1201. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +94 -0
  1202. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  1203. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  1204. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +44 -0
  1205. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  1206. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  1207. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +42 -0
  1208. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  1209. package/lib-commonjs/components/LineChart/index.d.ts +3 -0
  1210. package/lib-commonjs/components/LineChart/index.js +7 -0
  1211. package/lib-commonjs/components/LineChart/index.js.map +1 -0
  1212. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +17 -0
  1213. package/lib-commonjs/components/PieChart/Arc/Arc.js +92 -0
  1214. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -0
  1215. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  1216. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +15 -0
  1217. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -0
  1218. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +73 -0
  1219. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +3 -0
  1220. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -0
  1221. package/lib-commonjs/components/PieChart/Arc/index.d.ts +2 -0
  1222. package/lib-commonjs/components/PieChart/Arc/index.js +6 -0
  1223. package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -0
  1224. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +10 -0
  1225. package/lib-commonjs/components/PieChart/Pie/Pie.js +48 -0
  1226. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -0
  1227. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  1228. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +10 -0
  1229. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -0
  1230. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +47 -0
  1231. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +3 -0
  1232. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -0
  1233. package/lib-commonjs/components/PieChart/Pie/index.d.ts +2 -0
  1234. package/lib-commonjs/components/PieChart/Pie/index.js +6 -0
  1235. package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -0
  1236. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +10 -0
  1237. package/lib-commonjs/components/PieChart/PieChart.base.js +49 -0
  1238. package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -0
  1239. package/lib-commonjs/components/PieChart/PieChart.d.ts +7 -0
  1240. package/lib-commonjs/components/PieChart/PieChart.js +13 -0
  1241. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -0
  1242. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +2 -0
  1243. package/lib-commonjs/components/PieChart/PieChart.styles.js +33 -0
  1244. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -0
  1245. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +75 -0
  1246. package/lib-commonjs/components/PieChart/PieChart.types.js +3 -0
  1247. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -0
  1248. package/lib-commonjs/components/PieChart/index.d.ts +2 -0
  1249. package/lib-commonjs/components/PieChart/index.js +6 -0
  1250. package/lib-commonjs/components/PieChart/index.js.map +1 -0
  1251. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
  1252. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +87 -0
  1253. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
  1254. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
  1255. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js +3 -0
  1256. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
  1257. package/lib-commonjs/components/ResponsiveContainer/index.d.ts +3 -0
  1258. package/lib-commonjs/components/ResponsiveContainer/index.js +7 -0
  1259. package/lib-commonjs/components/ResponsiveContainer/index.js.map +1 -0
  1260. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
  1261. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +21 -0
  1262. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
  1263. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +91 -0
  1264. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +925 -0
  1265. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -0
  1266. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +7 -0
  1267. package/lib-commonjs/components/SankeyChart/SankeyChart.js +13 -0
  1268. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -0
  1269. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  1270. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +63 -0
  1271. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  1272. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +157 -0
  1273. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +3 -0
  1274. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -0
  1275. package/lib-commonjs/components/SankeyChart/index.d.ts +2 -0
  1276. package/lib-commonjs/components/SankeyChart/index.js +6 -0
  1277. package/lib-commonjs/components/SankeyChart/index.js.map +1 -0
  1278. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +23 -0
  1279. package/lib-commonjs/components/Sparkline/Sparkline.base.js +89 -0
  1280. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -0
  1281. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +7 -0
  1282. package/lib-commonjs/components/Sparkline/Sparkline.js +13 -0
  1283. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -0
  1284. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +2 -0
  1285. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +14 -0
  1286. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -0
  1287. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +59 -0
  1288. package/lib-commonjs/components/Sparkline/Sparkline.types.js +3 -0
  1289. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -0
  1290. package/lib-commonjs/components/Sparkline/index.d.ts +2 -0
  1291. package/lib-commonjs/components/Sparkline/index.js +6 -0
  1292. package/lib-commonjs/components/Sparkline/index.js.map +1 -0
  1293. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  1294. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +440 -0
  1295. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  1296. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  1297. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +13 -0
  1298. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  1299. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  1300. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +90 -0
  1301. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  1302. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  1303. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +12 -0
  1304. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  1305. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  1306. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +369 -0
  1307. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  1308. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  1309. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +13 -0
  1310. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -0
  1311. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  1312. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +107 -0
  1313. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  1314. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  1315. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +3 -0
  1316. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  1317. package/lib-commonjs/components/StackedBarChart/index.d.ts +5 -0
  1318. package/lib-commonjs/components/StackedBarChart/index.js +9 -0
  1319. package/lib-commonjs/components/StackedBarChart/index.js.map +1 -0
  1320. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +18 -0
  1321. package/lib-commonjs/components/TreeChart/TreeChart.base.js +324 -0
  1322. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -0
  1323. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +7 -0
  1324. package/lib-commonjs/components/TreeChart/TreeChart.js +12 -0
  1325. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -0
  1326. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +2 -0
  1327. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +33 -0
  1328. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -0
  1329. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +216 -0
  1330. package/lib-commonjs/components/TreeChart/TreeChart.types.js +32 -0
  1331. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -0
  1332. package/lib-commonjs/components/TreeChart/index.d.ts +2 -0
  1333. package/lib-commonjs/components/TreeChart/index.js +6 -0
  1334. package/lib-commonjs/components/TreeChart/index.js.map +1 -0
  1335. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
  1336. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +883 -0
  1337. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  1338. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  1339. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +13 -0
  1340. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  1341. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  1342. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  1343. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  1344. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
  1345. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +3 -0
  1346. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  1347. package/lib-commonjs/components/VerticalBarChart/index.d.ts +2 -0
  1348. package/lib-commonjs/components/VerticalBarChart/index.js +6 -0
  1349. package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -0
  1350. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
  1351. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +819 -0
  1352. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  1353. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  1354. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +13 -0
  1355. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  1356. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  1357. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  1358. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  1359. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
  1360. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +3 -0
  1361. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  1362. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +2 -0
  1363. package/lib-commonjs/components/VerticalStackedBarChart/index.js +6 -0
  1364. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -0
  1365. package/lib-commonjs/index.d.ts +44 -0
  1366. package/lib-commonjs/index.js +64 -0
  1367. package/lib-commonjs/index.js.map +1 -0
  1368. package/lib-commonjs/types/IDataPoint.d.ts +736 -0
  1369. package/lib-commonjs/types/IDataPoint.js +3 -0
  1370. package/lib-commonjs/types/IDataPoint.js.map +1 -0
  1371. package/lib-commonjs/types/IEventAnnotation.d.ts +6 -0
  1372. package/lib-commonjs/types/IEventAnnotation.js +3 -0
  1373. package/lib-commonjs/types/IEventAnnotation.js.map +1 -0
  1374. package/lib-commonjs/types/ILegendDataItem.d.ts +10 -0
  1375. package/lib-commonjs/types/ILegendDataItem.js +3 -0
  1376. package/lib-commonjs/types/ILegendDataItem.js.map +1 -0
  1377. package/lib-commonjs/types/index.d.ts +2 -0
  1378. package/lib-commonjs/types/index.js +6 -0
  1379. package/lib-commonjs/types/index.js.map +1 -0
  1380. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  1381. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +41 -0
  1382. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  1383. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  1384. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +9 -0
  1385. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  1386. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  1387. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +102 -0
  1388. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  1389. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  1390. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +3 -0
  1391. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  1392. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +3 -0
  1393. package/lib-commonjs/utilities/ChartHoverCard/index.js +7 -0
  1394. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -0
  1395. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +27 -0
  1396. package/lib-commonjs/utilities/FocusableTooltipText.js +57 -0
  1397. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -0
  1398. package/lib-commonjs/utilities/SVGTooltipText.d.ts +110 -0
  1399. package/lib-commonjs/utilities/SVGTooltipText.js +195 -0
  1400. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -0
  1401. package/lib-commonjs/utilities/colors.d.ts +52 -0
  1402. package/lib-commonjs/utilities/colors.js +160 -0
  1403. package/lib-commonjs/utilities/colors.js.map +1 -0
  1404. package/lib-commonjs/utilities/gradients.d.ts +30 -0
  1405. package/lib-commonjs/utilities/gradients.js +178 -0
  1406. package/lib-commonjs/utilities/gradients.js.map +1 -0
  1407. package/lib-commonjs/utilities/image-export-utils.d.ts +13 -0
  1408. package/lib-commonjs/utilities/image-export-utils.js +243 -0
  1409. package/lib-commonjs/utilities/image-export-utils.js.map +1 -0
  1410. package/lib-commonjs/utilities/index.d.ts +5 -0
  1411. package/lib-commonjs/utilities/index.js +9 -0
  1412. package/lib-commonjs/utilities/index.js.map +1 -0
  1413. package/lib-commonjs/utilities/locale-util.d.ts +3 -0
  1414. package/lib-commonjs/utilities/locale-util.js +22 -0
  1415. package/lib-commonjs/utilities/locale-util.js.map +1 -0
  1416. package/lib-commonjs/utilities/test-data.d.ts +43 -0
  1417. package/lib-commonjs/utilities/test-data.js +265 -0
  1418. package/lib-commonjs/utilities/test-data.js.map +1 -0
  1419. package/lib-commonjs/utilities/utilities.d.ts +418 -0
  1420. package/lib-commonjs/utilities/utilities.js +1269 -0
  1421. package/lib-commonjs/utilities/utilities.js.map +1 -0
  1422. package/lib-commonjs/utilities/vbc-utils.d.ts +2 -0
  1423. package/lib-commonjs/utilities/vbc-utils.js +36 -0
  1424. package/lib-commonjs/utilities/vbc-utils.js.map +1 -0
  1425. package/lib-commonjs/version.d.ts +1 -0
  1426. package/lib-commonjs/version.js +7 -0
  1427. package/lib-commonjs/version.js.map +1 -0
  1428. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.base.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.base.tsx"],"names":[],"mappings":";;;;AAAA,qDAAsE;AACtE,uDAAuE;AAEvE,2DAQuC;AACvC,qCAAwC;AACxC,uCAAsG;AACtG,6CAAqF;AACrF,qCAAsE;AACtE,6BAA+B;AAE/B,gFAA+E;AAW/E,yEAA6D;AAE7D,IAAM,aAAa,GAAG,IAAA,8BAAkB,GAA8C,CAAC;AACvF,IAAM,kBAAkB,GAAG,GAAG,CAAC;AAsC/B,IAAM,kCAAkC,GAAW,SAAS,CAAC;AAC7D,IAAM,mBAAmB,GAAiB;IACxC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAChD,EAAE,SAAS,EAAE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GAAG,CAAC,IAAI,eAAe,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACpG,CAAC;IAxxBa,4BAAY,GAA+B;QACvD,YAAY,EAAE,IAAI;KACnB,AAFyB,CAExB;IAkyBJ,sBAAC;CAAA,AAryBD,CAAqC,KAAK,CAAC,SAAS,GAqyBnD;AAryBY,0CAAe","sourcesContent":["import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { IProcessedStyleSet, ITheme } from '@fluentui/react/lib/Styling';\nimport {\n IStyleFunctionOrObject,\n classNamesFunction,\n format,\n getId,\n getRTL,\n initializeComponentRef,\n memoizeFunction,\n} from '@fluentui/react/lib/Utilities';\nimport { sum as d3Sum } from 'd3-array';\nimport { SankeyGraph, SankeyLayout, sankey as d3Sankey, sankeyJustify, sankeyRight } from 'd3-sankey';\nimport { BaseType, Selection as D3Selection, select, selectAll } from 'd3-selection';\nimport { area as d3Area, curveBumpX as d3CurveBasis } from 'd3-shape';\nimport * as React from 'react';\nimport { IBasestate, IChart, IImageExportOptions, SLink, SNode } from '../../types/IDataPoint';\nimport { ChartHoverCard } from '../../utilities/ChartHoverCard/ChartHoverCard';\nimport { IChartHoverCardProps } from '../../utilities/ChartHoverCard/ChartHoverCard.types';\nimport { IMargins } from '../../utilities/utilities';\nimport {\n ISankeyChartAccessibilityProps,\n ISankeyChartData,\n ISankeyChartProps,\n ISankeyChartStrings,\n ISankeyChartStyleProps,\n ISankeyChartStyles,\n} from './SankeyChart.types';\nimport { toImage } from '../../utilities/image-export-utils';\n\nconst getClassNames = classNamesFunction<ISankeyChartStyleProps, ISankeyChartStyles>();\nconst PADDING_PERCENTAGE = 0.3;\n\ntype NodeId = number | string;\ntype ItemValues<T> = { [key: NodeId]: T };\ntype NodeValues = ItemValues<number>;\ntype LinkItemValues<T> = { [key: NodeId]: ItemValues<T> };\ntype LinkValues = LinkItemValues<number>;\n\ntype NodesInColumns = { [key: number]: SNode[] };\ntype NormalizedData = ISankeyChartData & {\n width: number;\n height: number;\n};\n\ntype NormalizeDiagramFunction = (\n data: ISankeyChartData,\n containerWidth: number,\n containerHeight: number,\n colorsForNodes: string[] | undefined,\n borderColorsForNodes: string[] | undefined,\n) => NormalizedData;\n\ntype NodeColors = { fillColor: string; borderColor: string };\ntype SankeyLayoutGenerator = SankeyLayout<SankeyGraph<{}, {}>, {}, {}>;\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 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';\nconst NODE_WIDTH = 124;\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getSelectedNodes(selectedLinks: Set<SLink>): 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\nfunction 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\nfunction getSelectedLinksforStreamHover(singleLink: SLink): {\n selectedLinks: Set<SLink>;\n selectedNodes: Set<SNode>;\n} {\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/**\n * This is used to group nodes by column index.\n */\n// This is exported for unit tests.\nexport function groupNodesByColumn(graph: ISankeyChartData) {\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 */\nfunction adjustOnePercentHeightNodes(\n nodesInColumn: NodesInColumns,\n computedNodes: NodeValues,\n originalLinks: LinkValues,\n): void {\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 const onePercent = 0.01 * columnValue;\n const columnNodes = nodesInColumn[index];\n columnNodes.forEach((node: SNode) => {\n const value = computedNodes[node.nodeId];\n const nodePercentage = (value / columnValue) * 100;\n node.actualValue = 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 = onePercent;\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 // Loop through each node in that column and scale that node--and its incoming and outgoing links--by the\n // scaling ratio. We need the sankey diagram to re-layout the nodes and links after we do this.\n columnNodes.forEach((node: SNode) => {\n const normalized = (node.value = node.value! / scalingRatio);\n // Which Original Value? and Which Normalized Value is needed, here? The Node? The Link? Both?\n changeColumnValue(node, computedNodes[node.nodeId], normalized, originalLinks);\n });\n }\n });\n}\n\n/**\n * This is used for normalizing each link's value to reflect the normalized node value.\n */\nfunction changeColumnValue(\n node: SNode,\n originalNodeValue: number,\n normalizedNodeValue: number,\n linkValues: LinkValues,\n) {\n // For each link in the source and target, compute the proportion that this link contributes to the total\n // then adjust the link's value to reflect its proportion of the normalized node value.\n const updateLinkValue = (link: SLink) => {\n const value = linkValue(linkValues, link);\n link.unnormalizedValue = value;\n const linkRatio = value / originalNodeValue;\n link.value = Math.max(normalizedNodeValue * linkRatio, link.value);\n };\n node.sourceLinks!.forEach(updateLinkValue);\n node.targetLinks!.forEach(updateLinkValue);\n}\n\n/**\n * This is used for calculating the node non normalized value based on link non normalized value.\n * The links have the original weights. Computed nodes have the total weight of all incoming and outgoing links.\n */\nfunction populateNodeActualValue(data: ISankeyChartData, computedNodes: NodeValues, originalLinks: LinkValues) {\n data.links.forEach((link: SLink) => {\n if (!link.unnormalizedValue) {\n link.unnormalizedValue = linkValue(originalLinks, link);\n }\n });\n data.nodes.forEach((node: SNode) => {\n node.actualValue = computedNodes[node.nodeId as NodeId];\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// This is exported for unit tests\nexport function adjustPadding(sankey: SankeyLayoutGenerator, height: number, nodesInColumn: NodesInColumns): void {\n let padding = sankey.nodePadding();\n const minPadding = PADDING_PERCENTAGE * height;\n Object.values(nodesInColumn).forEach((column: SNode[]) => {\n const totalPaddingInColumn = height - d3Sum(column, (node: SNode) => node.y1! - node.y0!);\n if (minPadding < totalPaddingInColumn) {\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 sankey.nodePadding(padding);\n}\n\nfunction idFromNumberOrSNode(node: SNode | number): NodeId {\n if (typeof node === 'number') {\n return node;\n }\n return node.nodeId as NodeId;\n}\n\n/**\n * Duplicates the supplied chart data so that we do not alter the original.\n * @param data The data to duplicate.\n * @returns The duplicated data.\n */\nfunction duplicateData(data: ISankeyChartData): ISankeyChartData {\n return {\n nodes: data.nodes.map(\n (node: SNode): SNode => ({\n ...node,\n }),\n ),\n links: data.links.map(\n (link: SLink): SLink => ({\n ...link,\n }),\n ),\n };\n}\n\nfunction valuesOfNodes(nodes: SNode[]): NodeValues {\n const result: NodeValues = {};\n nodes.forEach((node: SNode) => {\n result[node.nodeId as NodeId] = node.value!;\n });\n return result;\n}\n\nfunction valuesOfLinks(links: SLink[]): LinkValues {\n const result: LinkValues = {};\n links.forEach((link: SLink) => {\n const sourceId = idFromNumberOrSNode(link.source);\n let sourceToTarget = result[sourceId];\n if (!sourceToTarget) {\n sourceToTarget = {};\n result[sourceId] = sourceToTarget;\n }\n sourceToTarget[idFromNumberOrSNode(link.target)] = link.value;\n });\n return result;\n}\n\nfunction linkValue<T>(originalLinks: LinkItemValues<T>, link: SLink): T {\n return originalLinks[idFromNumberOrSNode(link.source)][idFromNumberOrSNode(link.target)];\n}\n\n// This is exported for unit tests.\nexport function preRenderLayout(\n margins: IMargins,\n containerWidth: number,\n containerHeight: number,\n isRtl: boolean,\n): { sankey: SankeyLayoutGenerator; height: number; width: number } {\n const { left, right, top, bottom } = margins;\n const width = containerWidth - right!;\n const height = containerHeight - bottom! > 0 ? containerHeight - bottom! : 0;\n\n const sankey = d3Sankey()\n .nodeWidth(NODE_WIDTH)\n .extent([\n [left!, top!],\n [width - 1, height - 6],\n ])\n .nodeAlign(isRtl ? sankeyRight : sankeyJustify);\n\n return { sankey, height, width };\n}\n\nconst elipsis = '...';\n\n/**\n * This is used to assign node fillcolors and borderColor cyclically when the user doesnt\n * provide color to individual node.\n */\nfunction assignNodeColors(\n nodes: SNode[],\n colorsForNodes: string[] | undefined,\n borderColorsForNodes: string[] | undefined,\n) {\n let colors: string[];\n let borders: string[];\n if (colorsForNodes && borderColorsForNodes) {\n colors = colorsForNodes;\n borders = 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 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/**\n * Takes in the display name for the node and potentially returns a trimmed version of the name.\n * @param tspan the `tspan` element to use for text visual length measurement\n * @param text is the text which we will potentially 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 * @returns the name to show on the node which might be the truncated `text` if the `text` is too long\n */\nfunction truncateText(tspan: TSpanForTextMeasuring, text: string, rectangleWidth: number, padding: number) {\n // NOTE: This method is the most-expensive in terms of rerendering components.\n const textLengthForNodeName = rectangleWidth - padding; // This can likely be computed once and passed in.\n // The following `select` statement injects a `tempText` element into the DOM. This injection\n // (and subsequent removal) is causing a layout recalculation. This is a performance issue.\n // Note that this code will always inject a `tempText` element, but doesn't always remove it. This is a bug.\n if (fitsWithinNode(tspan, text, textLengthForNodeName)) {\n return text;\n }\n // Computing the size of elipsis is performed with each node. This should be computed once and used everywhere.\n // TODO: Compute the size of the elipsis once and use it everywhere.\n const elipsisLength = computeElipsisLength(tspan);\n let line: string = '';\n // Calculate how much of the original text to show.\n // TODO: The folllowing is O(n). We could use a binary search to make this faster: O(log(n)).\n for (let i = 0; i < text.length; i++) {\n line += text[i];\n tspan.text(line);\n const currentNode = tspan.node();\n if (currentNode !== null) {\n const w = currentNode!.getComputedTextLength();\n if (w >= textLengthForNodeName - elipsisLength) {\n line = line.slice(0, -1);\n line += elipsis;\n break;\n }\n }\n }\n tspan.text(null);\n return line;\n}\n\ntype RenderedNodeAttributes = {\n readonly reactId: string;\n readonly gElementId: string;\n readonly name: string;\n readonly aria: string;\n readonly trimmed: boolean;\n readonly height: number;\n readonly weightOffset: number;\n};\n\ntype RenderedLinkAttributes = {\n readonly reactId: string;\n readonly aria: string;\n readonly from: string;\n};\n\ntype TSpanForTextMeasuring = D3Selection<SVGTSpanElement, unknown, HTMLElement, unknown>;\n\nfunction fitsWithinNode(tspan: TSpanForTextMeasuring, text: string, textLengthForNodeName: number): boolean {\n const measurement = measureText(tspan, text);\n if (measurement === undefined) {\n return false;\n }\n return measurement <= textLengthForNodeName;\n}\n\nfunction measureText(tspan: TSpanForTextMeasuring, text: string | number): number | undefined {\n try {\n tspan.text(text);\n return tspan.node()?.getComputedTextLength();\n } finally {\n tspan.text(null);\n }\n}\n\nfunction computeElipsisLength(tspan: TSpanForTextMeasuring): number {\n const measurement = measureText(tspan, elipsis);\n return measurement === undefined ? 0 : measurement;\n}\n\nfunction computeLinkAttributes(\n links: SLink[],\n linkFrom: (node: SNode) => string,\n linkAriaLabel: (link: SLink) => string,\n): LinkItemValues<RenderedLinkAttributes> {\n const result: LinkItemValues<RenderedLinkAttributes> = {};\n links.forEach((link: SLink) => {\n const sourceId = idFromNumberOrSNode(link.source);\n let sourceToTarget = result[sourceId];\n if (!sourceToTarget) {\n sourceToTarget = {};\n result[sourceId] = sourceToTarget;\n }\n sourceToTarget[idFromNumberOrSNode(link.target)] = {\n reactId: getId('link'),\n from: linkFrom(link.source as SNode),\n aria: linkAriaLabel(link),\n };\n });\n\n return result;\n}\n\ntype ItemPositions = {\n readonly x0: number;\n readonly y0: number;\n readonly x1: number;\n readonly y1: number;\n};\n\ntype SankeyLinkWithPositions = ItemPositions & {\n readonly source: ItemPositions;\n readonly target: ItemPositions;\n readonly width: number;\n};\n\ntype AreaDataPoint = {\n readonly x: number;\n readonly y0: number;\n readonly y1: number;\n};\n\nconst linkToDataPoints = (d: SankeyLinkWithPositions): [AreaDataPoint, AreaDataPoint] => {\n const halfWidth = d.width * 0.5;\n const y0 = d.y0;\n const y1 = d.y1;\n return [\n { x: d.source.x1, y0: y0 + halfWidth, y1: y0 - halfWidth },\n { x: d.target.x0, y0: y1 + halfWidth, y1: y1 - halfWidth },\n ];\n};\n\nconst linkArea = d3Area<AreaDataPoint>()\n .x((p: AreaDataPoint) => p.x)\n .y0((p: AreaDataPoint) => p.y0)\n .y1((p: AreaDataPoint) => p.y1)\n .curve(d3CurveBasis);\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype TooltipDiv = D3Selection<BaseType, unknown, HTMLElement, any>;\n\nfunction nodeTextColor(state: Readonly<ISankeyChartState>, singleNode: SNode): string {\n return !(\n !state.selectedState ||\n (state.selectedNodes.has(singleNode.index!) && state.selectedNode) ||\n !state.selectedNode\n )\n ? DEFAULT_TEXT_COLOR\n : NON_SELECTED_TEXT_COLOR;\n}\n\ntype StringRenderer = {\n linkFrom: (node: SNode) => string;\n};\n\ntype AccessibilityRenderer = {\n emptyAriaLabel: string;\n nodeAriaLabel: (node: SNode, weight: number) => string;\n linkAriaLabel: (link: SLink) => string;\n};\n\n// NOTE: To start employing React.useMemo properly, we need to convert this code from a React.Component\n// to a function component. This will require a significant refactor of the code in this file.\n// https://stackoverflow.com/questions/60223362/fast-way-to-convert-react-class-component-to-functional-component\n// I am concerned that doing so would break this contract, making it difficult for consuming code.\nexport class SankeyChartBase extends React.Component<ISankeyChartProps, ISankeyChartState> implements IChart {\n public static defaultProps: Partial<ISankeyChartProps> = {\n enableReflow: true,\n };\n\n public chartContainer: HTMLDivElement;\n private _reqID: number;\n private readonly _calloutId: string;\n private readonly _linkId: string;\n private readonly _chartId: string;\n private readonly _emptyChartId: string;\n private readonly _labelTooltipId: string;\n private readonly _margins: IMargins;\n private readonly _isRtl: boolean = getRTL();\n private _numColumns: number = 0;\n\n private readonly _computeClassNamesProps: (\n theme: ITheme,\n pathColor: string,\n className: string,\n containerWidth: number,\n containerHeight: number,\n enableReflow: boolean | undefined,\n ) => ISankeyChartStyleProps;\n private readonly _computeClassNames: (\n styles: IStyleFunctionOrObject<ISankeyChartStyleProps, ISankeyChartStyles>,\n classNamesProps: ISankeyChartStyleProps,\n ) => IProcessedStyleSet<ISankeyChartStyles>;\n private readonly _normalizeData: NormalizeDiagramFunction;\n private readonly _fetchTooltip: (classNames: IProcessedStyleSet<ISankeyChartStyles>) => TooltipDiv;\n private readonly _nodeAttributes: (\n nodes: SNode[],\n nodeAriaLabel: (node: SNode, weight: number) => string,\n ) => ItemValues<RenderedNodeAttributes>;\n private readonly _linkAttributes: (\n links: SLink[],\n linkFrom: (node: SNode) => string,\n linkAriaLabel: (link: SLink) => string,\n ) => LinkItemValues<RenderedLinkAttributes>;\n private readonly _fetchNodes: (\n classNames: IProcessedStyleSet<ISankeyChartStyles>,\n nodes: SNode[],\n nodeAttributes: ItemValues<RenderedNodeAttributes>,\n tooltipDiv: TooltipDiv,\n ) => React.ReactNode[] | undefined;\n private readonly _fetchLinks: (\n links: SLink[],\n linkAttributes: LinkItemValues<RenderedLinkAttributes>,\n ) => React.ReactNode[] | undefined;\n\n private readonly _strings: StringRenderer;\n private readonly _accessibility: AccessibilityRenderer;\n\n constructor(props: ISankeyChartProps) {\n super(props);\n\n initializeComponentRef(this);\n\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._chartId = getId('sankeyChart');\n this._emptyChartId = getId('_SankeyChart_empty');\n this._labelTooltipId = getId('tooltip');\n this._margins = { top: 36, right: 48, bottom: 32, left: 48 };\n // We memo-ize creation so that we only create a new object when any of the fields change.\n this._computeClassNamesProps = memoizeFunction(\n (\n theme: ITheme,\n pathColor: string,\n className: string,\n containerWidth: number,\n containerHeight: number,\n enableReflow: boolean | undefined,\n ): ISankeyChartStyleProps => ({\n theme: theme!,\n width: containerWidth,\n height: containerHeight,\n pathColor,\n className,\n enableReflow,\n }),\n );\n // `getClassNames` is memoized underneath, so it only recomputes when the `styles` or `classNamesProps` change.\n // We memoize `classNamesProps` so that we only create new class names when absolutely necessary,\n // and so that we can memoize the `_createNodes` method.\n this._computeClassNames = memoizeFunction(\n (\n styles: IStyleFunctionOrObject<ISankeyChartStyleProps, ISankeyChartStyles>,\n classNamesProps: ISankeyChartStyleProps,\n ) => getClassNames(styles, classNamesProps),\n );\n this._normalizeData = memoizeFunction(\n (\n data: ISankeyChartData,\n containerWidth: number,\n containerHeight: number,\n colorsForNodes: string[] | undefined,\n borderColorsForNodes: string[] | undefined,\n ) => this._normalizeSankeyData(data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes),\n );\n this._fetchTooltip = memoizeFunction((classNames: IProcessedStyleSet<ISankeyChartStyles>) =>\n this._labelTooltipDiv(classNames),\n );\n // Prepare the localization utilities\n this._strings = memoizeFunction((strings?: ISankeyChartStrings): StringRenderer => {\n const fromString = strings?.linkFrom || 'From {0}';\n // NOTE: The `node` parameter is the sankey-generated node on the link, and not the original `node` supplied\n // by the caller.\n return {\n linkFrom: (node: SNode) => format(fromString, node.name),\n };\n })(props.strings);\n this._accessibility = memoizeFunction((accessibility?: ISankeyChartAccessibilityProps): AccessibilityRenderer => {\n const linkString = accessibility?.linkAriaLabel || 'link from {0} to {1} with weight {2}';\n const nodeString = accessibility?.nodeAriaLabel || 'node {0} with weight {1}';\n return {\n emptyAriaLabel: accessibility?.emptyAriaLabel || 'Graph has no data to display',\n linkAriaLabel: (link: SLink) =>\n format(\n linkString,\n (link.source as SNode).name,\n (link.target as SNode).name,\n link.unnormalizedValue ? this._formatNumber(link.unnormalizedValue) : link.unnormalizedValue,\n ),\n nodeAriaLabel: (node: SNode, weight: number) => format(nodeString, node.name, this._formatNumber(weight)),\n };\n })(props.accessibility);\n // NOTE: Memoizing the `_createNodes` and `_createLinks` methods would break the hoverability of the chart\n // because the nodes are currently created differently based on the layout information. Hence why we do not\n // memoize these methods (but have stubs for memoizing as the `_fetchNodes` and `_fetchLinks` methods).\n this._nodeAttributes = memoizeFunction((nodes: SNode[], nodeAriaLabel: (node: SNode, weight: number) => string) =>\n this._computeNodeAttributes(nodes, nodeAriaLabel),\n );\n this._fetchNodes = (\n classNames: IProcessedStyleSet<ISankeyChartStyles>,\n nodes: SNode[],\n nodeAttributes: ItemValues<RenderedNodeAttributes>,\n tooltipDiv: TooltipDiv,\n ) => this._createNodes(classNames, nodes, nodeAttributes, tooltipDiv);\n this._linkAttributes = memoizeFunction(\n (links: SLink[], linkFrom: (node: SNode) => string, linkAriaLabel: (link: SLink) => string) =>\n computeLinkAttributes(links, linkFrom, linkAriaLabel),\n );\n this._fetchLinks = (links: SLink[], linkAttributes: LinkItemValues<RenderedLinkAttributes>) =>\n this._createLinks(links, linkAttributes);\n // Our shorter path to performance is to pre-compute the truncated labels of each node because\n // that should not change based on the position of the mouse. This is a shorter path becase the code which\n // computes the truncated labels creates and destroys a `tempText` element in the DOM. This is causing a\n // reflow and repaint of the entire chart. This is a performance issue, and so computing the truncated labels\n // once will help to mitigate this issue.\n }\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\n public componentWillUnmount(): void {\n cancelAnimationFrame(this._reqID);\n }\n\n public render(): React.ReactNode {\n if (!this._isChartEmpty()) {\n const { theme, className, styles, pathColor, colorsForNodes, borderColorsForNodes } = this.props;\n const state = this.state;\n const classNamesProps = this._computeClassNamesProps(\n theme!,\n pathColor!,\n className!,\n state.containerWidth,\n state.containerHeight,\n this.props.enableReflow,\n );\n const classNames: IProcessedStyleSet<ISankeyChartStyles> = this._computeClassNames(styles!, classNamesProps);\n\n // Compute the position of each node and link\n const { nodes, links, width, height } = this._normalizeData(\n this.props.data.SankeyChartData!,\n state.containerWidth,\n state.containerHeight,\n colorsForNodes,\n borderColorsForNodes,\n );\n\n // In FocusZone, the focus order is determined by the rendering order of the elements. We need to find\n // a rendering order such that the focus moves through the nodes and links in a logical sequence.\n // Rendering the nodes and links layer by layer in a vertical order seems to be the most effective solution\n // with FocusZone. Although this focus order may not be entirely logical, it ensures that the focus moves\n // sequentially and prevents links (especially skip layer links) from being rendered over the nodes.\n const nodeLinkDomOrderArray: { layer: number; type: string; index: number }[] = [];\n nodes.sort((a: SNode, b: SNode) => {\n if (a.x0 !== b.x0) {\n return a.x0! - b.x0!;\n }\n return a.y0! - b.y0!;\n });\n nodes.forEach((item: SNode, index) => {\n nodeLinkDomOrderArray.push({ layer: item.layer!, type: 'node', index });\n });\n links.sort((a: SLink, b: SLink) => {\n const asx0 = (a.source as SNode).x0;\n const bsx0 = (b.source as SNode).x0;\n if (asx0 !== bsx0) {\n return asx0! - bsx0!;\n }\n return a.y0! - b.y0!;\n });\n links.forEach((item: SLink, index) => {\n nodeLinkDomOrderArray.push({ layer: (item.source as SNode).layer!, type: 'link', index });\n });\n nodeLinkDomOrderArray.sort((a, b) => {\n if (a.layer !== b.layer) {\n return a.layer - b.layer;\n }\n\n if (a.type > b.type) {\n return -1;\n }\n if (a.type < b.type) {\n return 1;\n }\n return 0;\n });\n\n // NOTE: I don't love this approach to caching the \"select\" result. Is it still valid from render-to-render?\n // although local testing seems to indicate so, I do not trust that React will always support that instance.\n // It might be better to perform this `fetch` within the `_showTooltip` and `_hideTooltip` methods.\n const tooltipDiv = this._fetchTooltip(classNames);\n // Pre-compute some important attributes about nodes, specifically text\n const nodeAttributes = this._nodeAttributes(nodes, this._accessibility.nodeAriaLabel);\n // Build the nodes and links as rendered in the UX.\n const nodeData = this._fetchNodes(classNames, nodes, nodeAttributes, tooltipDiv);\n const linkAttributes = this._linkAttributes(links, this._strings.linkFrom, this._accessibility.linkAriaLabel);\n const linkData = this._fetchLinks(links, linkAttributes);\n\n const calloutProps = {\n isCalloutVisible: state.isCalloutVisible,\n directionalHint: DirectionalHint.topAutoEdge,\n id: `toolTip${this._calloutId}`,\n target: state.refSelected,\n color: state.color,\n XValue: state.xCalloutValue,\n YValue: state.yCalloutValue ? state.yCalloutValue : state.dataForHoverCard,\n descriptionMessage: state.descriptionMessage,\n isBeakVisible: false,\n gapSpace: 15,\n onDismiss: this._onCloseCallout,\n className: classNames.calloutContentRoot,\n preventDismissOnLostFocus: true,\n ...this.props.calloutProps!,\n };\n return (\n <div\n className={classNames.root}\n role={'presentation'}\n ref={(rootElem: HTMLDivElement) => (this.chartContainer = rootElem)}\n onMouseLeave={this._onCloseCallout}\n >\n {/*\n - Horizontal navigation has been disabled because the nodes and links are rendered vertically,\n causing the left/right arrow keys to move focus up or down to the previous or next sibling element.\n - Bidirectional navigation has been disabled because it causes the up/down arrow keys to move the focus\n in a non-sequential and erratic manner within a 2D grid.\n */}\n <FocusZone direction={FocusZoneDirection.vertical} className={classNames.chartWrapper}>\n <svg width={width} height={height} id={this._chartId}>\n {nodeLinkDomOrderArray.map(item => {\n if (item.type === 'node') {\n return (\n <g key={nodes[item.index].nodeId} className={classNames.nodes}>\n {nodeData![item.index]}\n </g>\n );\n } else {\n return (\n <g\n key={`${(links[item.index].source as SNode).nodeId}-${\n (links[item.index].target as SNode).nodeId\n }`}\n className={classNames.links}\n strokeOpacity={1}\n >\n {linkData![item.index]}\n </g>\n );\n }\n })}\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 return (\n <div\n id={this._emptyChartId}\n role={'alert'}\n style={{ opacity: '0' }}\n aria-label={this._accessibility.emptyAriaLabel}\n />\n );\n }\n\n public toImage = (opts?: IImageExportOptions): Promise<string> => {\n return toImage(this.chartContainer, undefined, this._isRtl, opts);\n };\n\n private _computeNodeAttributes(\n nodes: SNode[],\n nodeAriaLabel: (node: SNode, weight: number) => string,\n ): ItemValues<RenderedNodeAttributes> {\n const result: ItemValues<RenderedNodeAttributes> = {};\n const weightSpan = select('.nodeName').append('text').attr('class', 'tempText').append('tspan').text(null);\n const nameSpan = select('.nodeName')\n .append('text')\n .attr('class', 'tempText')\n .attr('font-size', '10')\n .append('tspan')\n .text(null);\n nodes.forEach((singleNode: SNode) => {\n const height = Math.max(singleNode.y1! - singleNode.y0!, 0);\n let padding = 8;\n let textLengthForNodeWeight = 0;\n\n const nodeValue = singleNode.actualValue!;\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 // The following `select` statement injects a `tempText` element into the DOM. This injection\n // (and subsequent removal) is causing a layout recalculation. This is a performance issue.\n const measurement = measureText(weightSpan, this._formatNumber(nodeValue));\n if (measurement !== undefined) {\n textLengthForNodeWeight = measurement;\n padding = padding + textLengthForNodeWeight;\n }\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 = truncateText(nameSpan, singleNode.name, NODE_WIDTH - 8, padding);\n const isTruncated: boolean = truncatedname.slice(-3) === elipsis;\n result[singleNode.nodeId] = {\n reactId: getId('nodeBar'),\n gElementId: getId('nodeGElement'),\n name: truncatedname,\n aria: nodeAriaLabel(singleNode, nodeValue),\n trimmed: isTruncated,\n height,\n weightOffset: textLengthForNodeWeight,\n };\n });\n selectAll('.tempText').remove();\n return result;\n }\n\n private _linkCalloutAttributes(\n singleLink: SLink,\n from: string,\n ): IChartHoverCardProps & {\n selectedLink: SLink;\n isCalloutVisible: boolean;\n color: string;\n xCalloutValue: string;\n yCalloutValue: string;\n descriptionMessage: string;\n } {\n return {\n selectedLink: singleLink,\n isCalloutVisible: true,\n color: (singleLink.source as SNode).color!,\n xCalloutValue: (singleLink.target as SNode).name,\n yCalloutValue: this._formatNumber(singleLink.unnormalizedValue!),\n descriptionMessage: from,\n };\n }\n\n private _normalizeSankeyData(\n data: ISankeyChartData,\n containerWidth: number,\n containerHeight: number,\n colorsForNodes: string[] | undefined,\n borderColorsForNodes: string[] | undefined,\n ): NormalizedData {\n const { sankey, height, width } = preRenderLayout(this._margins, containerWidth, containerHeight, this._isRtl);\n // Clone the data before mutating it (via the SankeyLayoutGenerator) so that we don't mutate the original data.\n const transformed: ISankeyChartData = duplicateData(data);\n sankey(transformed);\n // NOTE: After the prior line, `transformed` is now a more-complex object than the incoming `ISankeyChartData`.\n // `transformed` should be cast to a more-specific type. This is a breaking change because we would be eliminating\n // fields from `ISankeyChartData` and putting those fields on a now-local type. But doing so makes it clearer what\n // the caller needs to supply and why. For example, the `actualValue` and `layer` fields of `ISNodeExtra` should\n // both be moved. Similarly for `unnormalizedValue` in `ISLinkExtra`.\n // `SankeyNodeMinimal` and `SankeyLinkMinimal` are both the types after `sankey(transformed)`, but have almost no\n // bearing on the data before `sankey(transformed)` (which is basically nodes with ids and names along with links\n // with source index, target index, and value).\n const nodesInColumn = groupNodesByColumn(transformed);\n this._numColumns = Object.keys(nodesInColumn).length;\n // Keep track of the original values of the links and their acccumulated values in the nodes\n // Setting these in external objects so they cannot be mutated by other code.\n // The IDs of nodes can be numbers or strings. But, the IDs of links are always the index into the \"nodes\" array.\n // After the sankey layout is computed, the each link's `source` and `target` will have the ID of the node in the\n // type originally specified in the Nodes array. Consequently, we get the values of those links after the sankey\n // transformation.\n const nodeValues = valuesOfNodes(transformed.nodes);\n const linkValues = valuesOfLinks(transformed.links);\n adjustOnePercentHeightNodes(nodesInColumn, nodeValues, linkValues);\n adjustPadding(sankey, height - 6, nodesInColumn);\n // `sankey` is called a second time, probably to re-layout the nodes with the one-percent adjusted weights.\n // NOTE: The second call to `sankey` is required to allow links to be hoverable.\n // Without the second call, the links are not hoverable.\n sankey(transformed);\n populateNodeActualValue(transformed, nodeValues, linkValues);\n assignNodeColors(transformed.nodes, colorsForNodes, borderColorsForNodes);\n return {\n width,\n height,\n nodes: transformed.nodes,\n links: transformed.links,\n };\n }\n\n private _labelTooltipDiv(classNames: IProcessedStyleSet<ISankeyChartStyles>): TooltipDiv {\n // find the tooltip div. If it doesn't exist, then create it.\n let tooltipDiv = select(`#${this._labelTooltipId}`);\n if (tooltipDiv.empty()) {\n tooltipDiv = select('body')\n .append('div')\n .attr('id', this._labelTooltipId)\n .attr('class', classNames.toolTip!)\n .style('opacity', 0);\n }\n // If the div exists, then `classNames` has changed; update the `class` on the `div`.\n tooltipDiv.attr('class', classNames.toolTip!);\n return tooltipDiv;\n }\n\n private _createLinks(\n dataLinks: SLink[],\n linkAttributes: LinkItemValues<RenderedLinkAttributes>,\n ): React.ReactNode[] | undefined {\n if (dataLinks) {\n const linkId = this._linkId;\n return dataLinks.map((singleLink: SLink, index: number): React.ReactNode => {\n const onMouseOut = () => {\n this._onStreamLeave(singleLink);\n };\n const { reactId, from, aria } = linkValue(linkAttributes, singleLink);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataPoints: Array<any> = linkToDataPoints(singleLink as unknown as SankeyLinkWithPositions);\n const key = `${linkId}-${index}`;\n const gradientId = `gradient-${key}`;\n const gradientUrl = `url(#${gradientId})`;\n const source = singleLink.source as SNode;\n const target = singleLink.target as SNode;\n // TODO: localize the aria-label string\n return (\n <g key={key}>\n <defs>\n <linearGradient id={gradientId} x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">\n <stop offset=\"0\" stopColor={source.color} />\n <stop offset=\"100%\" stopColor={target.color} />\n </linearGradient>\n </defs>\n <path\n d={linkArea(dataPoints)!}\n id={reactId}\n fill={this._fillStreamColors(singleLink, gradientUrl)}\n stroke={this._fillStreamBorder(singleLink, gradientUrl)}\n strokeWidth=\"2\"\n strokeOpacity={this._getOpacityStreamBorder(singleLink)}\n onMouseOver={event => this._onStreamHover(event, singleLink, from)}\n onMouseOut={onMouseOut}\n onFocus={event => this._onFocusLink(event, singleLink, from)}\n onBlur={this._onBlur}\n fillOpacity={this._getOpacityStream(singleLink)}\n data-is-focusable={true}\n aria-label={aria}\n role=\"img\"\n />\n </g>\n );\n });\n }\n return [];\n }\n\n private _createNodes(\n classNames: IProcessedStyleSet<ISankeyChartStyles>,\n dataNodes: SNode[],\n nodeAttributes: ItemValues<RenderedNodeAttributes>,\n tooltipDiv: TooltipDiv,\n ): React.ReactNode[] | undefined {\n if (dataNodes) {\n const state = this.state;\n const textAnchor = this._isRtl ? 'end' : 'start';\n return dataNodes.map((singleNode: SNode, index: number): React.ReactNode => {\n const onMouseOut = () => {\n this._onLeave(singleNode);\n };\n const {\n reactId: nodeId,\n gElementId,\n height,\n trimmed: isTruncated,\n name: truncatedName,\n weightOffset: textLengthForNodeWeight,\n aria,\n } = nodeAttributes[singleNode.nodeId];\n const tooTall = height > MIN_HEIGHT_FOR_DOUBLINE_TYPE;\n const { name, actualValue, x0, x1, y0 } = singleNode;\n const textColor = nodeTextColor(state, singleNode);\n return (\n <g key={index} id={gElementId}>\n <rect\n x={x0}\n y={y0}\n height={height}\n width={x1! - 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={aria}\n role=\"img\"\n />\n {height > MIN_HEIGHT_FOR_TYPE && (\n <g className={classNames.nodeTextContainer}>\n <g className=\"nodeName\">\n <text\n id={`${nodeId}-name`}\n x={x0}\n y={y0}\n dy={'1.2em'}\n dx={'0.4em'}\n textAnchor={textAnchor}\n fontWeight=\"regular\"\n aria-hidden=\"true\"\n fill={textColor}\n fontSize={10}\n onMouseOver={this._showTooltip.bind(this, name, isTruncated, tooltipDiv)}\n onMouseOut={this._hideTooltip.bind(this, tooltipDiv)}\n >\n {truncatedName}\n </text>\n </g>\n\n <text\n x={tooTall ? x0 : x1! - textLengthForNodeWeight - 8}\n y={y0}\n dy={tooTall ? '2em' : '1em'}\n dx={tooTall ? '0.4em' : '0em'}\n textAnchor={textAnchor}\n fontWeight=\"bold\"\n aria-hidden=\"true\"\n fill={textColor}\n fontSize={14}\n >\n {actualValue ? this._formatNumber(actualValue) : actualValue}\n </text>\n </g>\n )}\n </g>\n );\n });\n }\n }\n\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 private _onHover(singleNode: SNode, mouseEvent: React.MouseEvent<SVGElement>) {\n mouseEvent.persist();\n this._onCloseCallout();\n if (!this.state.selectedState) {\n const selectedLinks = getSelectedLinks(singleNode);\n const selectedNodes = 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 yCalloutValue: this._formatNumber(singleNode.actualValue!),\n });\n }\n }\n\n private _formatNumber(value: number): string {\n return this.props.formatNumberOptions\n ? value.toLocaleString(undefined, this.props.formatNumberOptions)\n : value.toString();\n }\n\n private _onStreamHover(mouseEvent: React.MouseEvent<SVGElement>, singleLink: SLink, from: string) {\n mouseEvent.persist();\n this._onCloseCallout();\n if (!this.state.selectedState) {\n const { selectedLinks, selectedNodes } = 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 ...this._linkCalloutAttributes(singleLink, from),\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(element: React.FocusEvent<SVGElement>, singleLink: SLink, from: string): void {\n // There is a big difference in how \"Tab\" and the \"Arrow keys\" are handled in this diagram.\n // In particular, I would expect the \"Down\" key to be like \"Tab\", but it jumps a little wildly. I'm not sure\n // if this behavior is an accessiblity violation, but it we might want to investigate it.\n element.persist();\n this._onCloseCallout();\n this.setState({\n refSelected: element.currentTarget,\n ...this._linkCalloutAttributes(singleLink, from),\n });\n }\n\n private _onCloseCallout = () => {\n this.setState({\n isCalloutVisible: false,\n refSelected: undefined,\n descriptionMessage: '',\n });\n };\n\n private _onBlur = (): void => {\n /**/\n };\n\n private _fillNodeColors = (singleNode: SNode): string | undefined => {\n const state = this.state;\n if (!state.selectedState) {\n return singleNode.color;\n } else {\n const selectedNode = state.selectedNode;\n if (selectedNode && state.selectedNodes.has(singleNode.index!)) {\n return selectedNode.color;\n } else if (!selectedNode) {\n return singleNode.color;\n }\n }\n };\n\n private _fillStreamColors(singleLink: SLink, gradientUrl: string): string | undefined {\n const state = this.state;\n if (state.selectedState && state.selectedLinks.has(singleLink.index!)) {\n const selectedNode = state.selectedNode;\n return selectedNode ? selectedNode.color : gradientUrl;\n }\n }\n\n private _fillStreamBorder(singleLink: SLink, gradientUrl: string): string {\n const state = this.state;\n if (!state.selectedState) {\n return NON_SELECTED_NODE_AND_STREAM_COLOR;\n } else {\n if (state.selectedLinks.has(singleLink.index!)) {\n const selectedNode = state.selectedNode;\n return selectedNode ? selectedNode.borderColor! : gradientUrl;\n }\n return NON_SELECTED_NODE_AND_STREAM_COLOR;\n }\n }\n\n private _fillNodeBorder = (singleNode: SNode): string => {\n const state = this.state;\n if (!state.selectedState) {\n return singleNode.borderColor!;\n } else {\n if (state.selectedNodes.has(singleNode.index!)) {\n const selectedNode = state.selectedNode;\n return selectedNode ? selectedNode.borderColor! : singleNode.borderColor!;\n }\n return singleNode.borderColor!;\n }\n };\n\n private _getOpacityStream(singleLink: SLink): number {\n const state = this.state;\n if (state.selectedState) {\n if (!state.selectedLinks.has(singleLink.index!)) {\n return NON_SELECTED_OPACITY;\n } else if (!state.selectedNode) {\n return SELECTED_STREAM_OPACITY;\n }\n }\n return REST_STREAM_OPACITY;\n }\n\n private _getOpacityStreamBorder(singleLink: SLink): number {\n const state = this.state;\n if (state.selectedState && !state.selectedLinks.has(singleLink.index!) && !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 // NOTE: Calls to this method trigger a re-render.\n const container = this.props.parentRef ? this.props.parentRef : this.chartContainer;\n const currentContainerWidth =\n container &&\n (this.props.enableReflow\n ? Math.max(container.getBoundingClientRect().width, this._calculateChartMinWidth())\n : container.getBoundingClientRect().width);\n const currentContainerHeight = container && 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 // 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).style('color', this.props.theme!.palette.neutralPrimary);\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 private _isChartEmpty() {\n const sankeyChartData = this.props.data?.SankeyChartData;\n return !(sankeyChartData && sankeyChartData.nodes.length > 0 && sankeyChartData.links.length > 0);\n }\n\n private _calculateChartMinWidth = (): number => {\n return (\n this._margins.left! +\n this._margins.right! +\n // total width of all node columns\n this._numColumns * NODE_WIDTH +\n // minimum total width of all column gaps\n (this._numColumns - 1) * (NODE_WIDTH / 2)\n );\n };\n}\n"]}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { ISankeyChartProps } from './SankeyChart.types';
3
+ /**
4
+ * Sankeychart component
5
+ * {@docCategory SankeyChart}
6
+ */
7
+ export declare const SankeyChart: React.FunctionComponent<ISankeyChartProps>;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SankeyChart = void 0;
4
+ var Utilities_1 = require("@fluentui/react/lib/Utilities");
5
+ var SankeyChart_base_1 = require("./SankeyChart.base");
6
+ var SankeyChart_styles_1 = require("./SankeyChart.styles");
7
+ // Create a SankeyChart variant which uses these default styles and this styled subcomponent.
8
+ /**
9
+ * Sankeychart component
10
+ * {@docCategory SankeyChart}
11
+ */
12
+ exports.SankeyChart = (0, Utilities_1.styled)(SankeyChart_base_1.SankeyChartBase, SankeyChart_styles_1.getStyles);
13
+ //# sourceMappingURL=SankeyChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.tsx"],"names":[],"mappings":";;;AACA,2DAAuD;AAEvD,uDAAqD;AACrD,2DAAiD;AAEjD,6FAA6F;AAC7F;;;GAGG;AACU,QAAA,WAAW,GAA+C,IAAA,kBAAM,EAI3E,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.\n/**\n * Sankeychart component\n * {@docCategory SankeyChart}\n */\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,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getStyles = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var Styling_1 = require("@fluentui/react/lib/Styling");
6
+ var getStyles = function (props) {
7
+ var _a, _b, _c;
8
+ var className = props.className, theme = props.theme, pathColor = props.pathColor, enableReflow = props.enableReflow;
9
+ var effects = theme.effects;
10
+ return {
11
+ root: [
12
+ theme.fonts.medium,
13
+ {
14
+ display: 'flex',
15
+ width: '100%',
16
+ height: '100%',
17
+ flexDirection: 'column',
18
+ overflow: 'hidden',
19
+ },
20
+ className,
21
+ ],
22
+ links: {
23
+ stroke: pathColor ? pathColor : theme.palette.black,
24
+ fill: theme ? theme.semanticColors.bodyBackground : '#F5F5F5',
25
+ strokeWidth: 3,
26
+ selectors: (_a = {},
27
+ _a[Styling_1.HighContrastSelectorBlack] = {
28
+ fill: '#000000',
29
+ },
30
+ _a),
31
+ },
32
+ nodes: {
33
+ fill: '#F5F5F5',
34
+ selectors: (_b = {},
35
+ _b[Styling_1.HighContrastSelectorBlack] = {
36
+ fill: '#000000',
37
+ },
38
+ _b),
39
+ },
40
+ 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' }),
41
+ nodeTextContainer: {
42
+ selectors: {
43
+ text: {
44
+ selectors: (_c = {},
45
+ _c[Styling_1.HighContrastSelectorBlack] = {
46
+ fill: 'rgb(179, 179, 179)',
47
+ },
48
+ _c),
49
+ },
50
+ },
51
+ marginTop: '4px',
52
+ marginLeft: '8px',
53
+ marginBottom: '4px',
54
+ marginRight: '8px',
55
+ },
56
+ calloutContentRoot: {
57
+ boxShadow: effects.elevation4,
58
+ },
59
+ chartWrapper: tslib_1.__assign({}, (enableReflow ? { overflow: 'auto' } : {})),
60
+ };
61
+ };
62
+ exports.getStyles = getStyles;
63
+ //# sourceMappingURL=SankeyChart.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SankeyChart.styles.js","sourceRoot":"../src/","sources":["components/SankeyChart/SankeyChart.styles.ts"],"names":[],"mappings":";;;;AACA,uDAAwE;AAEjE,IAAM,SAAS,GAAG,UAAC,KAA6B;;IAC7C,IAAA,SAAS,GAAqC,KAAK,UAA1C,EAAE,KAAK,GAA8B,KAAK,MAAnC,EAAE,SAAS,GAAmB,KAAK,UAAxB,EAAE,YAAY,GAAK,KAAK,aAAV,CAAW;IACpD,IAAA,OAAO,GAAK,KAAK,QAAV,CAAW;IAC1B,OAAO;QACL,IAAI,EAAE;YACJ,KAAK,CAAC,KAAK,CAAC,MAAM;YAClB;gBACE,OAAO,EAAE,MAAM;gBACf,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,MAAM;gBACd,aAAa,EAAE,QAAQ;gBACvB,QAAQ,EAAE,QAAQ;aACnB;YACD,SAAS;SACV;QACD,KAAK,EAAE;YACL,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK;YACnD,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS;YAC7D,WAAW,EAAE,CAAC;YACd,SAAS;gBACP,GAAC,mCAAyB,IAAG;oBAC3B,IAAI,EAAE,SAAS;iBAChB;mBACF;SACF;QACD,KAAK,EAAE;YACL,IAAI,EAAE,SAAS;YACf,SAAS;gBACP,GAAC,mCAAyB,IAAG;oBAC3B,IAAI,EAAE,SAAS;iBAChB;mBACF;SACF;QACD,OAAO,wCACF,KAAK,CAAC,KAAM,CAAC,KAAK,CAAC,MAAM,KAC5B,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,QAAQ,EACvB,OAAO,EAAE,KAAK,EACd,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAE,QAAQ,EACnB,GAAG,EAAE,KAAK,EACV,UAAU,EAAE,KAAK,CAAC,KAAM,CAAC,cAAc,CAAC,cAAc,EACtD,YAAY,EAAE,KAAK,EACnB,aAAa,EAAE,MAAM,GACtB;QACD,iBAAiB,EAAE;YACjB,SAAS,EAAE;gBACT,IAAI,EAAE;oBACJ,SAAS;wBACP,GAAC,mCAAyB,IAAG;4BAC3B,IAAI,EAAE,oBAAoB;yBAC3B;2BACF;iBACF;aACF;YAED,SAAS,EAAE,KAAK;YAChB,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;YACnB,WAAW,EAAE,KAAK;SACnB;QACD,kBAAkB,EAAE;YAClB,SAAS,EAAE,OAAO,CAAC,UAAU;SAC9B;QACD,YAAY,uBACP,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAC9C;KACF,CAAC;AACJ,CAAC,CAAC;AApEW,QAAA,SAAS,aAoEpB","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, enableReflow } = 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 chartWrapper: {\n ...(enableReflow ? { overflow: 'auto' } : {}),\n },\n };\n};\n"]}
@@ -0,0 +1,157 @@
1
+ import { IStyle, ITheme } from '@fluentui/react/lib/Styling';
2
+ import { IRefObject, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
+ import { ICalloutProps } from '@fluentui/react/lib/Callout';
4
+ import { IChart, IChartProps } from '../../types/IDataPoint';
5
+ export type { IChartProps, IDataPoint, ISankeyChartData } from '../../types/IDataPoint';
6
+ /**
7
+ * Sankey Chart properties
8
+ * {@docCategory SankeyChart}
9
+ */
10
+ export interface ISankeyChartProps {
11
+ /**
12
+ * Data to render in the chart.
13
+ */
14
+ data: IChartProps;
15
+ /**
16
+ * Width of the chart.
17
+ */
18
+ width?: number;
19
+ /**
20
+ * Height of the chart.
21
+ */
22
+ height?: number;
23
+ /**
24
+ * Additional CSS class(es) to apply to the SankeyChart.
25
+ */
26
+ className?: string;
27
+ /**
28
+ * Theme (provided through customization.)
29
+ */
30
+ theme?: ITheme;
31
+ /**
32
+ * Call to provide customized styling that will layer on top of the variant rules.
33
+ */
34
+ styles?: IStyleFunctionOrObject<ISankeyChartStyleProps, ISankeyChartStyles>;
35
+ /**
36
+ * this prop takes its parent as a HTML element to define the width and height of the Sankey chart
37
+ */
38
+ parentRef?: HTMLElement | null;
39
+ /**
40
+ * should chart resize when parent resize.
41
+ */
42
+ shouldResize?: number;
43
+ /**
44
+ * Color for path
45
+ */
46
+ pathColor?: string;
47
+ /**
48
+ * Colors for nodes
49
+ */
50
+ colorsForNodes?: string[];
51
+ /**
52
+ * Colors for nodes border
53
+ */
54
+ borderColorsForNodes?: string[];
55
+ /**
56
+ * Localized strings to show in the UX.
57
+ */
58
+ strings?: ISankeyChartStrings;
59
+ /**
60
+ * Localized strings to use for the chart's accessibility features.
61
+ */
62
+ accessibility?: ISankeyChartAccessibilityProps;
63
+ /**
64
+ * Format node and link values.
65
+ */
66
+ formatNumberOptions?: Intl.NumberFormatOptions;
67
+ /**
68
+ * Prop to disable shrinking of the chart beyond a certain limit and enable scrolling when the chart overflows
69
+ * @default true
70
+ */
71
+ enableReflow?: boolean;
72
+ /**
73
+ * Optional callback to access the IChart interface. Use this instead of ref for accessing
74
+ * the public methods and properties of the component.
75
+ */
76
+ componentRef?: IRefObject<IChart>;
77
+ /**
78
+ * props for the callout in the chart
79
+ */
80
+ calloutProps?: Partial<ICalloutProps>;
81
+ }
82
+ /**
83
+ * Sankey Chart style properties
84
+ * {@docCategory SankeyChart}
85
+ */
86
+ export interface ISankeyChartStyleProps {
87
+ theme: ITheme;
88
+ className?: string;
89
+ width: number;
90
+ height: number;
91
+ pathColor?: string;
92
+ enableReflow?: boolean;
93
+ }
94
+ /**
95
+ * Sankey Chart styles
96
+ * {@docCategory SankeyChart}
97
+ */
98
+ export interface ISankeyChartStyles {
99
+ /**
100
+ * Style for the root element.
101
+ */
102
+ root?: IStyle;
103
+ /**
104
+ * Style for the nodes.
105
+ */
106
+ nodes?: IStyle;
107
+ /**
108
+ * Style for the links.
109
+ */
110
+ links?: IStyle;
111
+ /**
112
+ * Style for the text inside node.
113
+ */
114
+ nodeTextContainer?: IStyle;
115
+ /**
116
+ * Style for the tooltip ,when user hover over the truncated node detail.
117
+ */
118
+ toolTip?: IStyle;
119
+ /**
120
+ * Style for the tooltip ,when user hover over the truncated node detail.
121
+ */
122
+ calloutContentRoot?: IStyle;
123
+ /**
124
+ * Styles for the chart wrapper div
125
+ */
126
+ chartWrapper?: IStyle;
127
+ }
128
+ /**
129
+ * Set of strings which are used when rendering the chart.
130
+ */
131
+ export interface ISankeyChartStrings {
132
+ /**
133
+ * A value similar to "from \{0\}" where \{0\} is the name of the source node for a link.
134
+ * This is shown in the `ChartHoverCard` when the user hovers the mouse over a link.
135
+ */
136
+ linkFrom?: string;
137
+ }
138
+ /**
139
+ * Set of strings which are used when rendering accessibility information within the chart.
140
+ */
141
+ export interface ISankeyChartAccessibilityProps {
142
+ /**
143
+ * Aria label for when the chart is empty.
144
+ */
145
+ emptyAriaLabel?: string;
146
+ /**
147
+ * A value similar to "node \{0\} with weight \{1\}".
148
+ * \{0\} is the name of the node.
149
+ * \{1\} is the weight of the node (as computed by the sankey layout engine via the links to or from this node).
150
+ */
151
+ nodeAriaLabel?: string;
152
+ /**
153
+ * A value similar to "link from \{0\} to $\{1\} with weight $\{2\}".
154
+ * \{0\} is the source node, \{1\} is the target node, and \{2\} is the value of the link.
155
+ */
156
+ linkAriaLabel?: string;
157
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# 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 { IStyle, ITheme } from '@fluentui/react/lib/Styling';\nimport { IRefObject, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IChart, IChartProps } from '../../types/IDataPoint';\n\nexport type { IChartProps, IDataPoint, ISankeyChartData } from '../../types/IDataPoint';\n\n/**\n * Sankey Chart properties\n * {@docCategory SankeyChart}\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 /**\n * Localized strings to show in the UX.\n */\n strings?: ISankeyChartStrings;\n\n /**\n * Localized strings to use for the chart's accessibility features.\n */\n accessibility?: ISankeyChartAccessibilityProps;\n\n /**\n * Format node and link values.\n */\n formatNumberOptions?: Intl.NumberFormatOptions;\n\n /**\n * Prop to disable shrinking of the chart beyond a certain limit and enable scrolling when the chart overflows\n * @default true\n */\n enableReflow?: boolean;\n\n /**\n * Optional callback to access the IChart interface. Use this instead of ref for accessing\n * the public methods and properties of the component.\n */\n componentRef?: IRefObject<IChart>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n}\n\n/**\n * Sankey Chart style properties\n * {@docCategory SankeyChart}\n */\nexport interface ISankeyChartStyleProps {\n theme: ITheme;\n className?: string;\n width: number;\n height: number;\n pathColor?: string;\n enableReflow?: boolean;\n}\n\n/**\n * Sankey Chart styles\n * {@docCategory SankeyChart}\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 /**\n * Styles for the chart wrapper div\n */\n chartWrapper?: IStyle;\n}\n\n/**\n * Set of strings which are used when rendering the chart.\n */\nexport interface ISankeyChartStrings {\n /**\n * A value similar to \"from \\{0\\}\" where \\{0\\} is the name of the source node for a link.\n * This is shown in the `ChartHoverCard` when the user hovers the mouse over a link.\n */\n linkFrom?: string;\n}\n\n/**\n * Set of strings which are used when rendering accessibility information within the chart.\n */\nexport interface ISankeyChartAccessibilityProps {\n /**\n * Aria label for when the chart is empty.\n */\n emptyAriaLabel?: string;\n /**\n * A value similar to \"node \\{0\\} with weight \\{1\\}\".\n * \\{0\\} is the name of the node.\n * \\{1\\} is the weight of the node (as computed by the sankey layout engine via the links to or from this node).\n */\n nodeAriaLabel?: string;\n /**\n * A value similar to \"link from \\{0\\} to $\\{1\\} with weight $\\{2\\}\".\n * \\{0\\} is the source node, \\{1\\} is the target node, and \\{2\\} is the value of the link.\n */\n linkAriaLabel?: string;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './SankeyChart';
2
+ export * from './SankeyChart.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./SankeyChart"), exports);
5
+ tslib_1.__exportStar(require("./SankeyChart.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/SankeyChart/index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,8DAAoC","sourcesContent":["export * from './SankeyChart';\nexport * from './SankeyChart.types';\n"]}
@@ -0,0 +1,23 @@
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
+ private _emptyChartId;
17
+ private _isRTL;
18
+ constructor(props: ISparklineProps);
19
+ componentDidMount(): void;
20
+ drawSparkline(): JSX.Element;
21
+ render(): JSX.Element;
22
+ private _isChartEmpty;
23
+ }
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SparklineBase = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var React = require("react");
6
+ var d3_scale_1 = require("d3-scale");
7
+ var d3_shape_1 = require("d3-shape");
8
+ var d3_array_1 = require("d3-array");
9
+ var react_focus_1 = require("@fluentui/react-focus");
10
+ var Utilities_1 = require("@fluentui/react/lib/Utilities");
11
+ var getClassNames = (0, Utilities_1.classNamesFunction)();
12
+ var SparklineBase = /** @class */ (function (_super) {
13
+ tslib_1.__extends(SparklineBase, _super);
14
+ function SparklineBase(props) {
15
+ var _this = _super.call(this, props) || this;
16
+ _this.margin = {
17
+ top: 2,
18
+ right: 0,
19
+ bottom: 0,
20
+ left: 0,
21
+ };
22
+ _this._isRTL = (0, Utilities_1.getRTL)();
23
+ _this.state = {
24
+ _points: null,
25
+ _width: _this.props.width || 80,
26
+ _height: _this.props.height || 20,
27
+ _valueTextWidth: _this.props.valueTextWidth || 80,
28
+ };
29
+ _this._emptyChartId = (0, Utilities_1.getId)('_SparklineChart_empty');
30
+ return _this;
31
+ }
32
+ SparklineBase.prototype.componentDidMount = function () {
33
+ var _this = this;
34
+ if (!this._isChartEmpty()) {
35
+ var area = (0, d3_shape_1.area)()
36
+ /* eslint-disable @typescript-eslint/no-explicit-any */
37
+ .x(function (d) { return _this.x(d.x); })
38
+ .y0(this.state._height)
39
+ /* eslint-disable @typescript-eslint/no-explicit-any */
40
+ .y1(function (d) { return _this.y(d.y); })
41
+ .curve(d3_shape_1.curveLinear);
42
+ this.area = area;
43
+ var line = (0, d3_shape_1.line)()
44
+ /* eslint-disable @typescript-eslint/no-explicit-any */
45
+ .x(function (d) { return _this.x(d.x); })
46
+ /* eslint-disable @typescript-eslint/no-explicit-any */
47
+ .y(function (d) { return _this.y(d.y); })
48
+ .curve(d3_shape_1.curveLinear);
49
+ this.line = line;
50
+ var points = this.props.data.lineChartData[0].data;
51
+ /* eslint-disable @typescript-eslint/no-explicit-any */
52
+ var _a = (0, d3_array_1.extent)(points, function (d) { return d.x; }), xMin = _a[0], xMax = _a[1];
53
+ this.x = (0, d3_scale_1.scaleLinear)()
54
+ .domain([xMin, xMax])
55
+ .range([this.margin.left, this.state._width - this.margin.right]);
56
+ this.y = (0, d3_scale_1.scaleLinear)()
57
+ /* eslint-disable @typescript-eslint/no-explicit-any */
58
+ .domain([0, (0, d3_array_1.max)(points, function (d) { return d.y; })])
59
+ .range([this.state._height - this.margin.bottom, this.margin.top]);
60
+ this.setState({
61
+ _points: points,
62
+ });
63
+ }
64
+ };
65
+ SparklineBase.prototype.drawSparkline = function () {
66
+ return (React.createElement(React.Fragment, null,
67
+ React.createElement("path", { className: "line", d: this.line(this.state._points), fill: 'transparent', opacity: 1, strokeWidth: 2, stroke: this.props.data.lineChartData[0].color }),
68
+ React.createElement("path", { className: "area", d: this.area(this.state._points), opacity: 1, fillOpacity: 0.2, fill: this.props.data.lineChartData[0].color, role: "img", "aria-hidden": true })));
69
+ };
70
+ SparklineBase.prototype.render = function () {
71
+ var classNames = getClassNames(this.props.styles, {
72
+ theme: this.props.theme,
73
+ });
74
+ return !this._isChartEmpty() ? (React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal, isCircularNavigation: true, className: classNames.inlineBlock },
75
+ React.createElement("div", { className: classNames.inlineBlock },
76
+ this.state._width >= 50 && this.state._height >= 16 ? (React.createElement("svg", { width: this.state._width, height: this.state._height, "data-is-focusable": true, "aria-label": "Sparkline with label ".concat(this.props.data.lineChartData[0].legend) }, this.state._points ? this.drawSparkline() : null)) : (React.createElement(React.Fragment, null)),
77
+ this.props.showLegend && this.props.data.lineChartData[0].legend ? (React.createElement("svg", { width: this.state._valueTextWidth, height: this.state._height, "data-is-focusable": true },
78
+ React.createElement("text", { x: "0%", textAnchor: this._isRTL ? 'end' : 'start', dx: 8, y: "100%", dy: -5, className: classNames.valueText }, this.props.data.lineChartData[0].legend))) : (React.createElement(React.Fragment, null))))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
79
+ };
80
+ SparklineBase.prototype._isChartEmpty = function () {
81
+ return !(this.props.data &&
82
+ this.props.data.lineChartData &&
83
+ this.props.data.lineChartData.length > 0 &&
84
+ this.props.data.lineChartData.filter(function (item) { return item.data.length === 0; }).length === 0);
85
+ };
86
+ return SparklineBase;
87
+ }(React.Component));
88
+ exports.SparklineBase = SparklineBase;
89
+ //# sourceMappingURL=Sparkline.base.js.map