@fluentui/react-charting 5.23.12 → 5.23.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1338) hide show
  1. package/CHANGELOG.json +43 -1
  2. package/CHANGELOG.md +22 -2
  3. package/package.json +3 -3
  4. package/dist/react-charting.d.ts +0 -4292
  5. package/dist/react-charting.js +0 -1
  6. package/dist/react-charting.min.js +0 -1
  7. package/lib/AreaChart.d.ts +0 -1
  8. package/lib/AreaChart.js +0 -2
  9. package/lib/AreaChart.js.map +0 -1
  10. package/lib/CartesianChart.d.ts +0 -1
  11. package/lib/CartesianChart.js +0 -2
  12. package/lib/CartesianChart.js.map +0 -1
  13. package/lib/DonutChart.d.ts +0 -1
  14. package/lib/DonutChart.js +0 -2
  15. package/lib/DonutChart.js.map +0 -1
  16. package/lib/GaugeChart.d.ts +0 -1
  17. package/lib/GaugeChart.js +0 -2
  18. package/lib/GaugeChart.js.map +0 -1
  19. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  20. package/lib/GroupedVerticalBarChart.js +0 -2
  21. package/lib/GroupedVerticalBarChart.js.map +0 -1
  22. package/lib/HeatMapChart.d.ts +0 -1
  23. package/lib/HeatMapChart.js +0 -2
  24. package/lib/HeatMapChart.js.map +0 -1
  25. package/lib/HorizontalBarChart.d.ts +0 -1
  26. package/lib/HorizontalBarChart.js +0 -2
  27. package/lib/HorizontalBarChart.js.map +0 -1
  28. package/lib/HorizontalBarChartWithAxis.d.ts +0 -1
  29. package/lib/HorizontalBarChartWithAxis.js +0 -2
  30. package/lib/HorizontalBarChartWithAxis.js.map +0 -1
  31. package/lib/Legends.d.ts +0 -1
  32. package/lib/Legends.js +0 -2
  33. package/lib/Legends.js.map +0 -1
  34. package/lib/LineChart.d.ts +0 -1
  35. package/lib/LineChart.js +0 -2
  36. package/lib/LineChart.js.map +0 -1
  37. package/lib/PieChart.d.ts +0 -1
  38. package/lib/PieChart.js +0 -2
  39. package/lib/PieChart.js.map +0 -1
  40. package/lib/SankeyChart.d.ts +0 -1
  41. package/lib/SankeyChart.js +0 -2
  42. package/lib/SankeyChart.js.map +0 -1
  43. package/lib/Sparkline.d.ts +0 -1
  44. package/lib/Sparkline.js +0 -2
  45. package/lib/Sparkline.js.map +0 -1
  46. package/lib/StackedBarChart.d.ts +0 -1
  47. package/lib/StackedBarChart.js +0 -2
  48. package/lib/StackedBarChart.js.map +0 -1
  49. package/lib/Styling.d.ts +0 -2
  50. package/lib/Styling.js +0 -8
  51. package/lib/Styling.js.map +0 -1
  52. package/lib/TreeChart.d.ts +0 -1
  53. package/lib/TreeChart.js +0 -2
  54. package/lib/TreeChart.js.map +0 -1
  55. package/lib/Utilities.d.ts +0 -2
  56. package/lib/Utilities.js +0 -20
  57. package/lib/Utilities.js.map +0 -1
  58. package/lib/VerticalBarChart.d.ts +0 -1
  59. package/lib/VerticalBarChart.js +0 -2
  60. package/lib/VerticalBarChart.js.map +0 -1
  61. package/lib/VerticalStackedBarChart.d.ts +0 -1
  62. package/lib/VerticalStackedBarChart.js +0 -2
  63. package/lib/VerticalStackedBarChart.js.map +0 -1
  64. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -103
  65. package/lib/components/AreaChart/AreaChart.base.js +0 -659
  66. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  67. package/lib/components/AreaChart/AreaChart.d.ts +0 -7
  68. package/lib/components/AreaChart/AreaChart.js +0 -10
  69. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  70. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  71. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  72. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  73. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -59
  74. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  75. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  76. package/lib/components/AreaChart/index.d.ts +0 -2
  77. package/lib/components/AreaChart/index.js +0 -3
  78. package/lib/components/AreaChart/index.js.map +0 -1
  79. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  80. package/lib/components/CommonComponents/CartesianChart.base.js +0 -598
  81. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  82. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -7
  83. package/lib/components/CommonComponents/CartesianChart.js +0 -9
  84. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  85. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  86. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -177
  87. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  88. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  89. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  90. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  91. package/lib/components/CommonComponents/index.d.ts +0 -2
  92. package/lib/components/CommonComponents/index.js +0 -3
  93. package/lib/components/CommonComponents/index.js.map +0 -1
  94. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
  95. package/lib/components/DonutChart/Arc/Arc.js +0 -101
  96. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  97. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  98. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -35
  99. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  100. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  101. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  102. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  103. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  104. package/lib/components/DonutChart/Arc/index.js +0 -3
  105. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  106. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -54
  107. package/lib/components/DonutChart/DonutChart.base.js +0 -254
  108. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  109. package/lib/components/DonutChart/DonutChart.d.ts +0 -7
  110. package/lib/components/DonutChart/DonutChart.js +0 -10
  111. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  112. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  113. package/lib/components/DonutChart/DonutChart.styles.js +0 -30
  114. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  115. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -85
  116. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  117. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  118. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
  119. package/lib/components/DonutChart/Pie/Pie.js +0 -75
  120. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  121. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  122. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
  123. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  124. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  125. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  126. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  127. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  128. package/lib/components/DonutChart/Pie/index.js +0 -3
  129. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  130. package/lib/components/DonutChart/index.d.ts +0 -3
  131. package/lib/components/DonutChart/index.js +0 -4
  132. package/lib/components/DonutChart/index.js.map +0 -1
  133. package/lib/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  134. package/lib/components/GaugeChart/GaugeChart.base.js +0 -438
  135. package/lib/components/GaugeChart/GaugeChart.base.js.map +0 -1
  136. package/lib/components/GaugeChart/GaugeChart.d.ts +0 -7
  137. package/lib/components/GaugeChart/GaugeChart.js +0 -9
  138. package/lib/components/GaugeChart/GaugeChart.js.map +0 -1
  139. package/lib/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  140. package/lib/components/GaugeChart/GaugeChart.styles.js +0 -126
  141. package/lib/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  142. package/lib/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  143. package/lib/components/GaugeChart/GaugeChart.types.js +0 -17
  144. package/lib/components/GaugeChart/GaugeChart.types.js.map +0 -1
  145. package/lib/components/GaugeChart/index.d.ts +0 -2
  146. package/lib/components/GaugeChart/index.js +0 -3
  147. package/lib/components/GaugeChart/index.js.map +0 -1
  148. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  149. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -453
  150. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  151. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  152. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -10
  153. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  154. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  155. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
  156. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  157. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  158. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  159. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  160. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  161. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  162. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  163. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  164. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -545
  165. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  166. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  167. package/lib/components/HeatMapChart/HeatMapChart.js +0 -9
  168. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  169. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  170. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
  171. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  172. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  173. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  174. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  175. package/lib/components/HeatMapChart/index.d.ts +0 -2
  176. package/lib/components/HeatMapChart/index.js +0 -3
  177. package/lib/components/HeatMapChart/index.js.map +0 -1
  178. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  179. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -291
  180. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  181. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  182. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -10
  183. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  184. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  185. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -66
  186. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  187. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  188. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -9
  189. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  190. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  191. package/lib/components/HorizontalBarChart/index.js +0 -4
  192. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  193. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  194. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -550
  195. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  196. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  197. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -10
  198. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  199. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  200. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -12
  201. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  202. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  203. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -2
  204. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  205. package/lib/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  206. package/lib/components/HorizontalBarChartWithAxis/index.js +0 -3
  207. package/lib/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  208. package/lib/components/Legends/Legends.base.d.ts +0 -43
  209. package/lib/components/Legends/Legends.base.js +0 -311
  210. package/lib/components/Legends/Legends.base.js.map +0 -1
  211. package/lib/components/Legends/Legends.d.ts +0 -7
  212. package/lib/components/Legends/Legends.js +0 -9
  213. package/lib/components/Legends/Legends.js.map +0 -1
  214. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  215. package/lib/components/Legends/Legends.styles.js +0 -107
  216. package/lib/components/Legends/Legends.styles.js.map +0 -1
  217. package/lib/components/Legends/Legends.types.d.ts +0 -210
  218. package/lib/components/Legends/Legends.types.js +0 -2
  219. package/lib/components/Legends/Legends.types.js.map +0 -1
  220. package/lib/components/Legends/index.d.ts +0 -3
  221. package/lib/components/Legends/index.js +0 -4
  222. package/lib/components/Legends/index.js.map +0 -1
  223. package/lib/components/Legends/shape.d.ts +0 -9
  224. package/lib/components/Legends/shape.js +0 -24
  225. package/lib/components/Legends/shape.js.map +0 -1
  226. package/lib/components/LineChart/LineChart.base.d.ts +0 -92
  227. package/lib/components/LineChart/LineChart.base.js +0 -867
  228. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  229. package/lib/components/LineChart/LineChart.d.ts +0 -7
  230. package/lib/components/LineChart/LineChart.js +0 -10
  231. package/lib/components/LineChart/LineChart.js.map +0 -1
  232. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  233. package/lib/components/LineChart/LineChart.styles.js +0 -7
  234. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  235. package/lib/components/LineChart/LineChart.types.d.ts +0 -98
  236. package/lib/components/LineChart/LineChart.types.js +0 -2
  237. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  238. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  239. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -96
  240. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  241. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  242. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  243. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  244. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  245. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  246. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  247. package/lib/components/LineChart/index.d.ts +0 -3
  248. package/lib/components/LineChart/index.js +0 -4
  249. package/lib/components/LineChart/index.js.map +0 -1
  250. package/lib/components/PieChart/Arc/Arc.d.ts +0 -17
  251. package/lib/components/PieChart/Arc/Arc.js +0 -88
  252. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  253. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  254. package/lib/components/PieChart/Arc/Arc.styles.js +0 -11
  255. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  256. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -73
  257. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  258. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  259. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  260. package/lib/components/PieChart/Arc/index.js +0 -3
  261. package/lib/components/PieChart/Arc/index.js.map +0 -1
  262. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  263. package/lib/components/PieChart/Pie/Pie.js +0 -45
  264. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  265. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  266. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  267. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  268. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -47
  269. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  270. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  271. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  272. package/lib/components/PieChart/Pie/index.js +0 -3
  273. package/lib/components/PieChart/Pie/index.js.map +0 -1
  274. package/lib/components/PieChart/PieChart.base.d.ts +0 -10
  275. package/lib/components/PieChart/PieChart.base.js +0 -45
  276. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  277. package/lib/components/PieChart/PieChart.d.ts +0 -7
  278. package/lib/components/PieChart/PieChart.js +0 -10
  279. package/lib/components/PieChart/PieChart.js.map +0 -1
  280. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  281. package/lib/components/PieChart/PieChart.styles.js +0 -29
  282. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  283. package/lib/components/PieChart/PieChart.types.d.ts +0 -75
  284. package/lib/components/PieChart/PieChart.types.js +0 -2
  285. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  286. package/lib/components/PieChart/index.d.ts +0 -2
  287. package/lib/components/PieChart/index.js +0 -3
  288. package/lib/components/PieChart/index.js.map +0 -1
  289. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  290. package/lib/components/SankeyChart/SankeyChart.base.js +0 -932
  291. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  292. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -7
  293. package/lib/components/SankeyChart/SankeyChart.js +0 -10
  294. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  295. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  296. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -61
  297. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  298. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  299. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  300. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  301. package/lib/components/SankeyChart/index.d.ts +0 -2
  302. package/lib/components/SankeyChart/index.js +0 -3
  303. package/lib/components/SankeyChart/index.js.map +0 -1
  304. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -23
  305. package/lib/components/Sparkline/Sparkline.base.js +0 -86
  306. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  307. package/lib/components/Sparkline/Sparkline.d.ts +0 -7
  308. package/lib/components/Sparkline/Sparkline.js +0 -10
  309. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  310. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  311. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  312. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  313. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -59
  314. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  315. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  316. package/lib/components/Sparkline/index.d.ts +0 -2
  317. package/lib/components/Sparkline/index.js +0 -3
  318. package/lib/components/Sparkline/index.js.map +0 -1
  319. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  320. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -436
  321. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  322. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  323. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -10
  324. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  325. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  326. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -86
  327. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  328. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  329. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -9
  330. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  331. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  332. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -364
  333. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  334. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  335. package/lib/components/StackedBarChart/StackedBarChart.js +0 -10
  336. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  337. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  338. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -103
  339. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  340. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  341. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  342. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  343. package/lib/components/StackedBarChart/index.d.ts +0 -5
  344. package/lib/components/StackedBarChart/index.js +0 -6
  345. package/lib/components/StackedBarChart/index.js.map +0 -1
  346. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  347. package/lib/components/TreeChart/TreeChart.base.js +0 -322
  348. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  349. package/lib/components/TreeChart/TreeChart.d.ts +0 -7
  350. package/lib/components/TreeChart/TreeChart.js +0 -9
  351. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  352. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  353. package/lib/components/TreeChart/TreeChart.styles.js +0 -29
  354. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  355. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -216
  356. package/lib/components/TreeChart/TreeChart.types.js +0 -29
  357. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  358. package/lib/components/TreeChart/index.d.ts +0 -2
  359. package/lib/components/TreeChart/index.js +0 -3
  360. package/lib/components/TreeChart/index.js.map +0 -1
  361. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  362. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -809
  363. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  364. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  365. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -10
  366. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  367. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  368. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
  369. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  370. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  371. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  372. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  373. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  374. package/lib/components/VerticalBarChart/index.js +0 -3
  375. package/lib/components/VerticalBarChart/index.js.map +0 -1
  376. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  377. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -782
  378. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  379. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  380. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -10
  381. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  382. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  383. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
  384. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  385. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  386. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  387. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  388. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  389. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  390. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  391. package/lib/index.d.ts +0 -40
  392. package/lib/index.js +0 -22
  393. package/lib/index.js.map +0 -1
  394. package/lib/types/IDataPoint.d.ts +0 -712
  395. package/lib/types/IDataPoint.js +0 -2
  396. package/lib/types/IDataPoint.js.map +0 -1
  397. package/lib/types/IEventAnnotation.d.ts +0 -6
  398. package/lib/types/IEventAnnotation.js +0 -2
  399. package/lib/types/IEventAnnotation.js.map +0 -1
  400. package/lib/types/ILegendDataItem.d.ts +0 -10
  401. package/lib/types/ILegendDataItem.js +0 -2
  402. package/lib/types/ILegendDataItem.js.map +0 -1
  403. package/lib/types/index.d.ts +0 -2
  404. package/lib/types/index.js +0 -3
  405. package/lib/types/index.js.map +0 -1
  406. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  407. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  408. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  409. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  410. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  411. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  412. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  413. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -98
  414. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  415. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  416. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  417. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  418. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  419. package/lib/utilities/ChartHoverCard/index.js +0 -4
  420. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  421. package/lib/utilities/FocusableTooltipText.d.ts +0 -27
  422. package/lib/utilities/FocusableTooltipText.js +0 -54
  423. package/lib/utilities/FocusableTooltipText.js.map +0 -1
  424. package/lib/utilities/SVGTooltipText.d.ts +0 -95
  425. package/lib/utilities/SVGTooltipText.js +0 -174
  426. package/lib/utilities/SVGTooltipText.js.map +0 -1
  427. package/lib/utilities/colors.d.ts +0 -51
  428. package/lib/utilities/colors.js +0 -132
  429. package/lib/utilities/colors.js.map +0 -1
  430. package/lib/utilities/gradients.d.ts +0 -30
  431. package/lib/utilities/gradients.js +0 -173
  432. package/lib/utilities/gradients.js.map +0 -1
  433. package/lib/utilities/index.d.ts +0 -5
  434. package/lib/utilities/index.js +0 -6
  435. package/lib/utilities/index.js.map +0 -1
  436. package/lib/utilities/locale-util.d.ts +0 -3
  437. package/lib/utilities/locale-util.js +0 -18
  438. package/lib/utilities/locale-util.js.map +0 -1
  439. package/lib/utilities/test-data.d.ts +0 -27
  440. package/lib/utilities/test-data.js +0 -210
  441. package/lib/utilities/test-data.js.map +0 -1
  442. package/lib/utilities/utilities.d.ts +0 -411
  443. package/lib/utilities/utilities.js +0 -1052
  444. package/lib/utilities/utilities.js.map +0 -1
  445. package/lib/utilities/vbc-utils.d.ts +0 -2
  446. package/lib/utilities/vbc-utils.js +0 -31
  447. package/lib/utilities/vbc-utils.js.map +0 -1
  448. package/lib/version.d.ts +0 -1
  449. package/lib/version.js +0 -5
  450. package/lib/version.js.map +0 -1
  451. package/lib-amd/AreaChart.d.ts +0 -1
  452. package/lib-amd/AreaChart.js +0 -6
  453. package/lib-amd/AreaChart.js.map +0 -1
  454. package/lib-amd/CartesianChart.d.ts +0 -1
  455. package/lib-amd/CartesianChart.js +0 -6
  456. package/lib-amd/CartesianChart.js.map +0 -1
  457. package/lib-amd/DonutChart.d.ts +0 -1
  458. package/lib-amd/DonutChart.js +0 -6
  459. package/lib-amd/DonutChart.js.map +0 -1
  460. package/lib-amd/GaugeChart.d.ts +0 -1
  461. package/lib-amd/GaugeChart.js +0 -6
  462. package/lib-amd/GaugeChart.js.map +0 -1
  463. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  464. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  465. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  466. package/lib-amd/HeatMapChart.d.ts +0 -1
  467. package/lib-amd/HeatMapChart.js +0 -6
  468. package/lib-amd/HeatMapChart.js.map +0 -1
  469. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  470. package/lib-amd/HorizontalBarChart.js +0 -6
  471. package/lib-amd/HorizontalBarChart.js.map +0 -1
  472. package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
  473. package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
  474. package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
  475. package/lib-amd/Legends.d.ts +0 -1
  476. package/lib-amd/Legends.js +0 -6
  477. package/lib-amd/Legends.js.map +0 -1
  478. package/lib-amd/LineChart.d.ts +0 -1
  479. package/lib-amd/LineChart.js +0 -6
  480. package/lib-amd/LineChart.js.map +0 -1
  481. package/lib-amd/PieChart.d.ts +0 -1
  482. package/lib-amd/PieChart.js +0 -6
  483. package/lib-amd/PieChart.js.map +0 -1
  484. package/lib-amd/SankeyChart.d.ts +0 -1
  485. package/lib-amd/SankeyChart.js +0 -6
  486. package/lib-amd/SankeyChart.js.map +0 -1
  487. package/lib-amd/Sparkline.d.ts +0 -1
  488. package/lib-amd/Sparkline.js +0 -6
  489. package/lib-amd/Sparkline.js.map +0 -1
  490. package/lib-amd/StackedBarChart.d.ts +0 -1
  491. package/lib-amd/StackedBarChart.js +0 -6
  492. package/lib-amd/StackedBarChart.js.map +0 -1
  493. package/lib-amd/Styling.d.ts +0 -2
  494. package/lib-amd/Styling.js +0 -75
  495. package/lib-amd/Styling.js.map +0 -1
  496. package/lib-amd/TreeChart.d.ts +0 -1
  497. package/lib-amd/TreeChart.js +0 -6
  498. package/lib-amd/TreeChart.js.map +0 -1
  499. package/lib-amd/Utilities.d.ts +0 -2
  500. package/lib-amd/Utilities.js +0 -183
  501. package/lib-amd/Utilities.js.map +0 -1
  502. package/lib-amd/VerticalBarChart.d.ts +0 -1
  503. package/lib-amd/VerticalBarChart.js +0 -6
  504. package/lib-amd/VerticalBarChart.js.map +0 -1
  505. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  506. package/lib-amd/VerticalStackedBarChart.js +0 -6
  507. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  508. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -103
  509. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -652
  510. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  511. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
  512. package/lib-amd/components/AreaChart/AreaChart.js +0 -12
  513. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  514. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  515. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  516. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  517. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -59
  518. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  519. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  520. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  521. package/lib-amd/components/AreaChart/index.js +0 -7
  522. package/lib-amd/components/AreaChart/index.js.map +0 -1
  523. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  524. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -593
  525. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  526. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
  527. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
  528. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  529. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  530. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -180
  531. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  532. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  533. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  534. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  535. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  536. package/lib-amd/components/CommonComponents/index.js +0 -7
  537. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  538. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  539. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -99
  540. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  541. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  542. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -40
  543. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  544. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  545. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  546. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  547. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  548. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  549. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  550. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -54
  551. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -250
  552. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  553. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
  554. package/lib-amd/components/DonutChart/DonutChart.js +0 -12
  555. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  556. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  557. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  558. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  559. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -85
  560. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  561. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  562. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  563. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -73
  564. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  565. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  566. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  567. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  568. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  569. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  570. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  571. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  572. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  573. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  574. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  575. package/lib-amd/components/DonutChart/index.js +0 -8
  576. package/lib-amd/components/DonutChart/index.js.map +0 -1
  577. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  578. package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -434
  579. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
  580. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
  581. package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
  582. package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
  583. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  584. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -130
  585. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  586. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  587. package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
  588. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
  589. package/lib-amd/components/GaugeChart/index.d.ts +0 -2
  590. package/lib-amd/components/GaugeChart/index.js +0 -7
  591. package/lib-amd/components/GaugeChart/index.js.map +0 -1
  592. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  593. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -448
  594. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  595. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  596. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
  597. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  598. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  599. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  600. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  601. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  602. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  603. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  604. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  605. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  606. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  607. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  608. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -538
  609. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  610. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  611. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
  612. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  613. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  614. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  615. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  616. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  617. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  618. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  619. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  620. package/lib-amd/components/HeatMapChart/index.js +0 -7
  621. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  622. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  623. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -287
  624. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  625. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  626. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
  627. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  628. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  629. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  630. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  631. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  632. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
  633. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  634. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  635. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  636. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  637. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  638. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -544
  639. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  640. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  641. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
  642. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  643. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  644. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
  645. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  646. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  647. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
  648. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  649. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  650. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
  651. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  652. package/lib-amd/components/Legends/Legends.base.d.ts +0 -43
  653. package/lib-amd/components/Legends/Legends.base.js +0 -308
  654. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  655. package/lib-amd/components/Legends/Legends.d.ts +0 -7
  656. package/lib-amd/components/Legends/Legends.js +0 -11
  657. package/lib-amd/components/Legends/Legends.js.map +0 -1
  658. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  659. package/lib-amd/components/Legends/Legends.styles.js +0 -111
  660. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  661. package/lib-amd/components/Legends/Legends.types.d.ts +0 -210
  662. package/lib-amd/components/Legends/Legends.types.js +0 -5
  663. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  664. package/lib-amd/components/Legends/index.d.ts +0 -3
  665. package/lib-amd/components/Legends/index.js +0 -8
  666. package/lib-amd/components/Legends/index.js.map +0 -1
  667. package/lib-amd/components/Legends/shape.d.ts +0 -9
  668. package/lib-amd/components/Legends/shape.js +0 -27
  669. package/lib-amd/components/Legends/shape.js.map +0 -1
  670. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -92
  671. package/lib-amd/components/LineChart/LineChart.base.js +0 -861
  672. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  673. package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
  674. package/lib-amd/components/LineChart/LineChart.js +0 -12
  675. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  676. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  677. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  678. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  679. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -98
  680. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  681. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  682. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  683. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  684. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  685. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  686. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
  687. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  688. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  689. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  690. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  691. package/lib-amd/components/LineChart/index.d.ts +0 -3
  692. package/lib-amd/components/LineChart/index.js +0 -8
  693. package/lib-amd/components/LineChart/index.js.map +0 -1
  694. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
  695. package/lib-amd/components/PieChart/Arc/Arc.js +0 -85
  696. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  697. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  698. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
  699. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  700. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
  701. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  702. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  703. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  704. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  705. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  706. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  707. package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
  708. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  709. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  710. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  711. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  712. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
  713. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  714. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  715. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  716. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  717. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  718. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
  719. package/lib-amd/components/PieChart/PieChart.base.js +0 -46
  720. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  721. package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
  722. package/lib-amd/components/PieChart/PieChart.js +0 -12
  723. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  724. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  725. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  726. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  727. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
  728. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  729. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  730. package/lib-amd/components/PieChart/index.d.ts +0 -2
  731. package/lib-amd/components/PieChart/index.js +0 -7
  732. package/lib-amd/components/PieChart/index.js.map +0 -1
  733. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  734. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -930
  735. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  736. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
  737. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
  738. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  739. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  740. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -65
  741. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  742. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  743. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  744. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  745. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  746. package/lib-amd/components/SankeyChart/index.js +0 -7
  747. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  748. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
  749. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
  750. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  751. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
  752. package/lib-amd/components/Sparkline/Sparkline.js +0 -12
  753. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  754. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  755. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  756. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  757. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
  758. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  759. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  760. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  761. package/lib-amd/components/Sparkline/index.js +0 -7
  762. package/lib-amd/components/Sparkline/index.js.map +0 -1
  763. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  764. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -431
  765. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  766. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  767. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
  768. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  769. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  770. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
  771. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  772. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  773. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
  774. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  775. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  776. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -360
  777. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  778. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  779. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
  780. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  781. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  782. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  783. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  784. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  785. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  786. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  787. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  788. package/lib-amd/components/StackedBarChart/index.js +0 -10
  789. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  790. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  791. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -320
  792. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  793. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
  794. package/lib-amd/components/TreeChart/TreeChart.js +0 -11
  795. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  796. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  797. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  798. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  799. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
  800. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
  801. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  802. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  803. package/lib-amd/components/TreeChart/index.js +0 -7
  804. package/lib-amd/components/TreeChart/index.js.map +0 -1
  805. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  806. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -803
  807. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  808. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  809. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
  810. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  811. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  812. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  813. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  814. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  815. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  816. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  817. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  818. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  819. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  820. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  821. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -776
  822. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  823. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  824. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
  825. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  826. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  827. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  828. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  829. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  830. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  831. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  832. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  833. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  834. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  835. package/lib-amd/index.d.ts +0 -40
  836. package/lib-amd/index.js +0 -40
  837. package/lib-amd/index.js.map +0 -1
  838. package/lib-amd/types/IDataPoint.d.ts +0 -712
  839. package/lib-amd/types/IDataPoint.js +0 -5
  840. package/lib-amd/types/IDataPoint.js.map +0 -1
  841. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  842. package/lib-amd/types/IEventAnnotation.js +0 -5
  843. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  844. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  845. package/lib-amd/types/ILegendDataItem.js +0 -5
  846. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  847. package/lib-amd/types/index.d.ts +0 -2
  848. package/lib-amd/types/index.js +0 -7
  849. package/lib-amd/types/index.js.map +0 -1
  850. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  851. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  852. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  853. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  854. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  855. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  856. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  857. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
  858. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  859. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  860. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  861. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  862. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  863. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  864. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  865. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  866. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  867. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  868. package/lib-amd/utilities/SVGTooltipText.d.ts +0 -95
  869. package/lib-amd/utilities/SVGTooltipText.js +0 -175
  870. package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
  871. package/lib-amd/utilities/colors.d.ts +0 -51
  872. package/lib-amd/utilities/colors.js +0 -139
  873. package/lib-amd/utilities/colors.js.map +0 -1
  874. package/lib-amd/utilities/gradients.d.ts +0 -30
  875. package/lib-amd/utilities/gradients.js +0 -180
  876. package/lib-amd/utilities/gradients.js.map +0 -1
  877. package/lib-amd/utilities/index.d.ts +0 -5
  878. package/lib-amd/utilities/index.js +0 -10
  879. package/lib-amd/utilities/index.js.map +0 -1
  880. package/lib-amd/utilities/locale-util.d.ts +0 -3
  881. package/lib-amd/utilities/locale-util.js +0 -24
  882. package/lib-amd/utilities/locale-util.js.map +0 -1
  883. package/lib-amd/utilities/test-data.d.ts +0 -27
  884. package/lib-amd/utilities/test-data.js +0 -214
  885. package/lib-amd/utilities/test-data.js.map +0 -1
  886. package/lib-amd/utilities/utilities.d.ts +0 -411
  887. package/lib-amd/utilities/utilities.js +0 -1085
  888. package/lib-amd/utilities/utilities.js.map +0 -1
  889. package/lib-amd/utilities/vbc-utils.d.ts +0 -2
  890. package/lib-amd/utilities/vbc-utils.js +0 -38
  891. package/lib-amd/utilities/vbc-utils.js.map +0 -1
  892. package/lib-amd/version.d.ts +0 -1
  893. package/lib-amd/version.js +0 -6
  894. package/lib-amd/version.js.map +0 -1
  895. package/lib-commonjs/AreaChart.d.ts +0 -1
  896. package/lib-commonjs/AreaChart.js +0 -5
  897. package/lib-commonjs/AreaChart.js.map +0 -1
  898. package/lib-commonjs/CartesianChart.d.ts +0 -1
  899. package/lib-commonjs/CartesianChart.js +0 -5
  900. package/lib-commonjs/CartesianChart.js.map +0 -1
  901. package/lib-commonjs/DonutChart.d.ts +0 -1
  902. package/lib-commonjs/DonutChart.js +0 -5
  903. package/lib-commonjs/DonutChart.js.map +0 -1
  904. package/lib-commonjs/GaugeChart.d.ts +0 -1
  905. package/lib-commonjs/GaugeChart.js +0 -5
  906. package/lib-commonjs/GaugeChart.js.map +0 -1
  907. package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
  908. package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
  909. package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
  910. package/lib-commonjs/HeatMapChart.d.ts +0 -1
  911. package/lib-commonjs/HeatMapChart.js +0 -5
  912. package/lib-commonjs/HeatMapChart.js.map +0 -1
  913. package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
  914. package/lib-commonjs/HorizontalBarChart.js +0 -5
  915. package/lib-commonjs/HorizontalBarChart.js.map +0 -1
  916. package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +0 -1
  917. package/lib-commonjs/HorizontalBarChartWithAxis.js +0 -5
  918. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +0 -1
  919. package/lib-commonjs/Legends.d.ts +0 -1
  920. package/lib-commonjs/Legends.js +0 -5
  921. package/lib-commonjs/Legends.js.map +0 -1
  922. package/lib-commonjs/LineChart.d.ts +0 -1
  923. package/lib-commonjs/LineChart.js +0 -5
  924. package/lib-commonjs/LineChart.js.map +0 -1
  925. package/lib-commonjs/PieChart.d.ts +0 -1
  926. package/lib-commonjs/PieChart.js +0 -5
  927. package/lib-commonjs/PieChart.js.map +0 -1
  928. package/lib-commonjs/SankeyChart.d.ts +0 -1
  929. package/lib-commonjs/SankeyChart.js +0 -5
  930. package/lib-commonjs/SankeyChart.js.map +0 -1
  931. package/lib-commonjs/Sparkline.d.ts +0 -1
  932. package/lib-commonjs/Sparkline.js +0 -5
  933. package/lib-commonjs/Sparkline.js.map +0 -1
  934. package/lib-commonjs/StackedBarChart.d.ts +0 -1
  935. package/lib-commonjs/StackedBarChart.js +0 -5
  936. package/lib-commonjs/StackedBarChart.js.map +0 -1
  937. package/lib-commonjs/Styling.d.ts +0 -2
  938. package/lib-commonjs/Styling.js +0 -75
  939. package/lib-commonjs/Styling.js.map +0 -1
  940. package/lib-commonjs/TreeChart.d.ts +0 -1
  941. package/lib-commonjs/TreeChart.js +0 -5
  942. package/lib-commonjs/TreeChart.js.map +0 -1
  943. package/lib-commonjs/Utilities.d.ts +0 -2
  944. package/lib-commonjs/Utilities.js +0 -185
  945. package/lib-commonjs/Utilities.js.map +0 -1
  946. package/lib-commonjs/VerticalBarChart.d.ts +0 -1
  947. package/lib-commonjs/VerticalBarChart.js +0 -5
  948. package/lib-commonjs/VerticalBarChart.js.map +0 -1
  949. package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
  950. package/lib-commonjs/VerticalStackedBarChart.js +0 -5
  951. package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
  952. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -103
  953. package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -662
  954. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
  955. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -7
  956. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -13
  957. package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
  958. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
  959. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
  960. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
  961. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -59
  962. package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
  963. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
  964. package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
  965. package/lib-commonjs/components/AreaChart/index.js +0 -6
  966. package/lib-commonjs/components/AreaChart/index.js.map +0 -1
  967. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  968. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -601
  969. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
  970. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -7
  971. package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -12
  972. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
  973. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  974. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -181
  975. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  976. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  977. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
  978. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
  979. package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
  980. package/lib-commonjs/components/CommonComponents/index.js +0 -6
  981. package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
  982. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -21
  983. package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -104
  984. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
  985. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  986. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -39
  987. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  988. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  989. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
  990. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
  991. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
  992. package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
  993. package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
  994. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -54
  995. package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -257
  996. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
  997. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -7
  998. package/lib-commonjs/components/DonutChart/DonutChart.js +0 -13
  999. package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
  1000. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
  1001. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -34
  1002. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
  1003. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -85
  1004. package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
  1005. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
  1006. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -15
  1007. package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -78
  1008. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
  1009. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  1010. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -23
  1011. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  1012. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  1013. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
  1014. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
  1015. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
  1016. package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
  1017. package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
  1018. package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
  1019. package/lib-commonjs/components/DonutChart/index.js +0 -7
  1020. package/lib-commonjs/components/DonutChart/index.js.map +0 -1
  1021. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  1022. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +0 -444
  1023. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +0 -1
  1024. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +0 -7
  1025. package/lib-commonjs/components/GaugeChart/GaugeChart.js +0 -12
  1026. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +0 -1
  1027. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  1028. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +0 -130
  1029. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  1030. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  1031. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +0 -20
  1032. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +0 -1
  1033. package/lib-commonjs/components/GaugeChart/index.d.ts +0 -2
  1034. package/lib-commonjs/components/GaugeChart/index.js +0 -6
  1035. package/lib-commonjs/components/GaugeChart/index.js.map +0 -1
  1036. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  1037. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -456
  1038. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  1039. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  1040. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -13
  1041. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  1042. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  1043. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  1044. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  1045. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  1046. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
  1047. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  1048. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
  1049. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
  1050. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
  1051. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  1052. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -548
  1053. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  1054. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  1055. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -12
  1056. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
  1057. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  1058. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -28
  1059. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  1060. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  1061. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
  1062. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  1063. package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
  1064. package/lib-commonjs/components/HeatMapChart/index.js +0 -6
  1065. package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
  1066. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  1067. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -294
  1068. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  1069. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  1070. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -13
  1071. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  1072. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  1073. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -70
  1074. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  1075. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  1076. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -12
  1077. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  1078. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
  1079. package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
  1080. package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
  1081. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  1082. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -553
  1083. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  1084. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  1085. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -13
  1086. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  1087. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  1088. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -16
  1089. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  1090. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  1091. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -3
  1092. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  1093. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  1094. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +0 -6
  1095. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  1096. package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -43
  1097. package/lib-commonjs/components/Legends/Legends.base.js +0 -314
  1098. package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
  1099. package/lib-commonjs/components/Legends/Legends.d.ts +0 -7
  1100. package/lib-commonjs/components/Legends/Legends.js +0 -12
  1101. package/lib-commonjs/components/Legends/Legends.js.map +0 -1
  1102. package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -2
  1103. package/lib-commonjs/components/Legends/Legends.styles.js +0 -111
  1104. package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
  1105. package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -210
  1106. package/lib-commonjs/components/Legends/Legends.types.js +0 -3
  1107. package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
  1108. package/lib-commonjs/components/Legends/index.d.ts +0 -3
  1109. package/lib-commonjs/components/Legends/index.js +0 -7
  1110. package/lib-commonjs/components/Legends/index.js.map +0 -1
  1111. package/lib-commonjs/components/Legends/shape.d.ts +0 -9
  1112. package/lib-commonjs/components/Legends/shape.js +0 -28
  1113. package/lib-commonjs/components/Legends/shape.js.map +0 -1
  1114. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -92
  1115. package/lib-commonjs/components/LineChart/LineChart.base.js +0 -870
  1116. package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
  1117. package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -7
  1118. package/lib-commonjs/components/LineChart/LineChart.js +0 -13
  1119. package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
  1120. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
  1121. package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
  1122. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
  1123. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -98
  1124. package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
  1125. package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
  1126. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  1127. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -100
  1128. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  1129. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  1130. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -44
  1131. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  1132. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  1133. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -41
  1134. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  1135. package/lib-commonjs/components/LineChart/index.d.ts +0 -3
  1136. package/lib-commonjs/components/LineChart/index.js +0 -7
  1137. package/lib-commonjs/components/LineChart/index.js.map +0 -1
  1138. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -17
  1139. package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -91
  1140. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
  1141. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  1142. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -15
  1143. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
  1144. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -73
  1145. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
  1146. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
  1147. package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
  1148. package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
  1149. package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
  1150. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
  1151. package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -48
  1152. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
  1153. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  1154. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
  1155. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
  1156. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -47
  1157. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
  1158. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
  1159. package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
  1160. package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
  1161. package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
  1162. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -10
  1163. package/lib-commonjs/components/PieChart/PieChart.base.js +0 -48
  1164. package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
  1165. package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -7
  1166. package/lib-commonjs/components/PieChart/PieChart.js +0 -13
  1167. package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
  1168. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
  1169. package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
  1170. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
  1171. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -75
  1172. package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
  1173. package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
  1174. package/lib-commonjs/components/PieChart/index.d.ts +0 -2
  1175. package/lib-commonjs/components/PieChart/index.js +0 -6
  1176. package/lib-commonjs/components/PieChart/index.js.map +0 -1
  1177. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  1178. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -938
  1179. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
  1180. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -7
  1181. package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -13
  1182. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
  1183. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  1184. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -65
  1185. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  1186. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  1187. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
  1188. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
  1189. package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
  1190. package/lib-commonjs/components/SankeyChart/index.js +0 -6
  1191. package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
  1192. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -23
  1193. package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -89
  1194. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
  1195. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -7
  1196. package/lib-commonjs/components/Sparkline/Sparkline.js +0 -13
  1197. package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
  1198. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
  1199. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
  1200. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
  1201. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -59
  1202. package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
  1203. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
  1204. package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
  1205. package/lib-commonjs/components/Sparkline/index.js +0 -6
  1206. package/lib-commonjs/components/Sparkline/index.js.map +0 -1
  1207. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  1208. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -439
  1209. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  1210. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  1211. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -13
  1212. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  1213. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  1214. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
  1215. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  1216. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  1217. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -12
  1218. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  1219. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  1220. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -367
  1221. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  1222. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  1223. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -13
  1224. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
  1225. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  1226. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  1227. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  1228. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  1229. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
  1230. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  1231. package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
  1232. package/lib-commonjs/components/StackedBarChart/index.js +0 -9
  1233. package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
  1234. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
  1235. package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -325
  1236. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
  1237. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -7
  1238. package/lib-commonjs/components/TreeChart/TreeChart.js +0 -12
  1239. package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
  1240. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
  1241. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -33
  1242. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
  1243. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -216
  1244. package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -32
  1245. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
  1246. package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
  1247. package/lib-commonjs/components/TreeChart/index.js +0 -6
  1248. package/lib-commonjs/components/TreeChart/index.js.map +0 -1
  1249. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  1250. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -812
  1251. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  1252. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  1253. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -13
  1254. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  1255. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  1256. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  1257. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  1258. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  1259. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
  1260. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  1261. package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
  1262. package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
  1263. package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
  1264. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  1265. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -785
  1266. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  1267. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  1268. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -13
  1269. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  1270. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  1271. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  1272. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  1273. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  1274. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
  1275. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  1276. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
  1277. package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
  1278. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
  1279. package/lib-commonjs/index.d.ts +0 -40
  1280. package/lib-commonjs/index.js +0 -59
  1281. package/lib-commonjs/index.js.map +0 -1
  1282. package/lib-commonjs/types/IDataPoint.d.ts +0 -712
  1283. package/lib-commonjs/types/IDataPoint.js +0 -3
  1284. package/lib-commonjs/types/IDataPoint.js.map +0 -1
  1285. package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
  1286. package/lib-commonjs/types/IEventAnnotation.js +0 -3
  1287. package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
  1288. package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
  1289. package/lib-commonjs/types/ILegendDataItem.js +0 -3
  1290. package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
  1291. package/lib-commonjs/types/index.d.ts +0 -2
  1292. package/lib-commonjs/types/index.js +0 -6
  1293. package/lib-commonjs/types/index.js.map +0 -1
  1294. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  1295. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
  1296. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  1297. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  1298. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
  1299. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  1300. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  1301. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -102
  1302. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  1303. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  1304. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
  1305. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  1306. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
  1307. package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
  1308. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
  1309. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +0 -27
  1310. package/lib-commonjs/utilities/FocusableTooltipText.js +0 -57
  1311. package/lib-commonjs/utilities/FocusableTooltipText.js.map +0 -1
  1312. package/lib-commonjs/utilities/SVGTooltipText.d.ts +0 -95
  1313. package/lib-commonjs/utilities/SVGTooltipText.js +0 -177
  1314. package/lib-commonjs/utilities/SVGTooltipText.js.map +0 -1
  1315. package/lib-commonjs/utilities/colors.d.ts +0 -51
  1316. package/lib-commonjs/utilities/colors.js +0 -137
  1317. package/lib-commonjs/utilities/colors.js.map +0 -1
  1318. package/lib-commonjs/utilities/gradients.d.ts +0 -30
  1319. package/lib-commonjs/utilities/gradients.js +0 -178
  1320. package/lib-commonjs/utilities/gradients.js.map +0 -1
  1321. package/lib-commonjs/utilities/index.d.ts +0 -5
  1322. package/lib-commonjs/utilities/index.js +0 -9
  1323. package/lib-commonjs/utilities/index.js.map +0 -1
  1324. package/lib-commonjs/utilities/locale-util.d.ts +0 -3
  1325. package/lib-commonjs/utilities/locale-util.js +0 -22
  1326. package/lib-commonjs/utilities/locale-util.js.map +0 -1
  1327. package/lib-commonjs/utilities/test-data.d.ts +0 -27
  1328. package/lib-commonjs/utilities/test-data.js +0 -213
  1329. package/lib-commonjs/utilities/test-data.js.map +0 -1
  1330. package/lib-commonjs/utilities/utilities.d.ts +0 -411
  1331. package/lib-commonjs/utilities/utilities.js +0 -1092
  1332. package/lib-commonjs/utilities/utilities.js.map +0 -1
  1333. package/lib-commonjs/utilities/vbc-utils.d.ts +0 -2
  1334. package/lib-commonjs/utilities/vbc-utils.js +0 -36
  1335. package/lib-commonjs/utilities/vbc-utils.js.map +0 -1
  1336. package/lib-commonjs/version.d.ts +0 -1
  1337. package/lib-commonjs/version.js +0 -7
  1338. package/lib-commonjs/version.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"LabelLink.js","sourceRoot":"../src/","sources":["components/LineChart/eventAnnotation/LabelLink.tsx"],"names":[],"mappings":"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","sourcesContent":["import * as React from 'react';\nimport { Callout, FocusZone, FocusZoneDirection, List } from '@fluentui/react';\nimport { IEventAnnotation } from '../../../types/IEventAnnotation';\nimport { Textbox } from './Textbox';\nimport { ITheme } from '@fluentui/react/lib/Styling';\nimport { getColorFromToken } from '../../../utilities/colors';\n\nexport interface ILineDef extends IEventAnnotation {\n x: number;\n}\n\nexport interface ILabelDef {\n x: number;\n aggregatedIdx: number[];\n anchor: 'start' | 'end';\n}\n\ninterface ILabelLinkProps {\n lineDefs: ILineDef[];\n labelDef: ILabelDef;\n textY: number;\n textWidth: number;\n textLineHeight: number;\n textFontSize: string;\n textColor: string | undefined;\n theme: ITheme | undefined;\n mergedLabel: (count: number) => string;\n}\n\nexport const LabelLink: React.FunctionComponent<ILabelLinkProps> = props => {\n const gRef = React.useRef<SVGGElement>(null);\n const [showCard, setShowCard] = React.useState(false);\n const onDismiss = () => setShowCard(false);\n const onClick = () => setShowCard(true);\n const onRenderCell = (i: (() => React.ReactNode) | undefined) => <div data-is-focusable={true}>{i && i()}</div>;\n\n let callout: React.ReactNode = null;\n if (showCard) {\n const cards = props.labelDef.aggregatedIdx.map(i => props.lineDefs[i].onRenderCard!).filter(c => !!c);\n if (cards.length > 0) {\n callout = (\n <Callout\n target={gRef.current}\n // eslint-disable-next-line react/jsx-no-bind\n onDismiss={onDismiss}\n setInitialFocus={true}\n role=\"dialog\"\n >\n <FocusZone isCircularNavigation={true} direction={FocusZoneDirection.vertical}>\n <List<() => React.ReactNode>\n items={cards}\n role=\"alert\"\n aria-roledescription=\" \"\n // eslint-disable-next-line react/jsx-no-bind\n onRenderCell={onRenderCell}\n />\n </FocusZone>\n </Callout>\n );\n }\n }\n\n let text: string;\n const fill: string | undefined = props.textColor\n ? getColorFromToken(props.textColor, props.theme?.isInverted)\n : props.theme?.semanticColors.messageText;\n\n if (props.labelDef.aggregatedIdx.length === 1) {\n text = props.lineDefs[props.labelDef.aggregatedIdx[0]].event;\n } else {\n text = props.mergedLabel(props.labelDef.aggregatedIdx.length);\n }\n\n return (\n <>\n <g ref={gRef} onClick={onClick} data-is-focusable={true} style={{ cursor: 'pointer' }}>\n <Textbox\n text={text}\n x={props.labelDef.x}\n y={props.textY}\n width={props.textWidth}\n lineHeight={props.textLineHeight}\n textAnchor={props.labelDef.anchor}\n fontSize={props.textFontSize}\n fill={fill}\n />\n </g>\n {callout}\n </>\n );\n};\n"]}
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- interface ITextboxProps {
3
- text: string;
4
- width: number;
5
- x: number;
6
- y: number;
7
- lineHeight: number;
8
- textAnchor?: 'start' | 'middle' | 'end';
9
- fontSize?: string;
10
- fill?: string;
11
- }
12
- export declare const Textbox: React.FunctionComponent<ITextboxProps>;
13
- export {};
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Textbox = void 0;
4
- var tslib_1 = require("tslib");
5
- var React = require("react");
6
- var d3_selection_1 = require("d3-selection");
7
- var Textbox = function (props) {
8
- var textElementRef = React.useRef(null);
9
- var wrapWords = function () {
10
- if (!textElementRef.current) {
11
- return;
12
- }
13
- var text = (0, d3_selection_1.select)(textElementRef.current);
14
- var words = props.text.split(/\s+/);
15
- var line = [];
16
- var tspan = text.append('tspan');
17
- var numLines = 0;
18
- words.forEach(function (word) {
19
- line.push(word);
20
- tspan.text(line.join(' '));
21
- var node = tspan.node();
22
- if (node && node.getComputedTextLength() > props.width && line.length > 1) {
23
- numLines++;
24
- line.pop();
25
- tspan.text(line.join(' '));
26
- line = [word];
27
- tspan = text.append('tspan').text(word).attr('dy', props.lineHeight).attr('x', props.x);
28
- }
29
- });
30
- // bottom aligns text
31
- text.attr('dy', -numLines * props.lineHeight);
32
- return function () {
33
- text.selectAll('tspan').remove();
34
- };
35
- };
36
- React.useEffect(wrapWords);
37
- var lineHeight = props.lineHeight, rest = tslib_1.__rest(props, ["lineHeight"]);
38
- return React.createElement("text", tslib_1.__assign({ ref: textElementRef }, rest));
39
- };
40
- exports.Textbox = Textbox;
41
- //# sourceMappingURL=Textbox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textbox.js","sourceRoot":"../src/","sources":["components/LineChart/eventAnnotation/Textbox.tsx"],"names":[],"mappings":";;;;AAAA,6BAA+B;AAC/B,6CAAsC;AAa/B,IAAM,OAAO,GAA2C,UAAA,KAAK;IAClE,IAAM,cAAc,GAAoC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAE3E,IAAM,SAAS,GAAG;QAChB,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE;YAC3B,OAAO;SACR;QACD,IAAM,IAAI,GAAG,IAAA,qBAAM,EAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtC,IAAI,IAAI,GAAa,EAAE,CAAC;QACxB,IAAI,KAAK,GAAG,IAAI,CAAC,MAAM,CAAkB,OAAO,CAAC,CAAC;QAClD,IAAI,QAAQ,GAAG,CAAC,CAAC;QAEjB,KAAK,CAAC,OAAO,CAAC,UAAA,IAAI;YAChB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAChB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;YAC3B,IAAM,IAAI,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;YAC1B,IAAI,IAAI,IAAI,IAAI,CAAC,qBAAqB,EAAE,GAAG,KAAK,CAAC,KAAK,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;gBACzE,QAAQ,EAAE,CAAC;gBACX,IAAI,CAAC,GAAG,EAAE,CAAC;gBACX,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;gBAC3B,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC;gBACd,KAAK,GAAG,IAAI,CAAC,MAAM,CAAkB,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;aAC1G;QACH,CAAC,CAAC,CAAC;QACH,qBAAqB;QACrB,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;QAE9C,OAAO;YACL,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC;QACnC,CAAC,CAAC;IACJ,CAAC,CAAC;IACF,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;IAEnB,IAAA,UAAU,GAAc,KAAK,WAAnB,EAAK,IAAI,kBAAK,KAAK,EAA/B,cAAuB,CAAF,CAAW;IAEtC,OAAO,+CAAM,GAAG,EAAE,cAAc,IAAM,IAAI,EAAI,CAAC;AACjD,CAAC,CAAC;AArCW,QAAA,OAAO,WAqClB","sourcesContent":["import * as React from 'react';\nimport { select } from 'd3-selection';\n\ninterface ITextboxProps {\n text: string;\n width: number;\n x: number;\n y: number;\n lineHeight: number;\n textAnchor?: 'start' | 'middle' | 'end';\n fontSize?: string;\n fill?: string;\n}\n\nexport const Textbox: React.FunctionComponent<ITextboxProps> = props => {\n const textElementRef: React.RefObject<SVGTextElement> = React.useRef(null);\n\n const wrapWords = () => {\n if (!textElementRef.current) {\n return;\n }\n const text = select(textElementRef.current);\n const words = props.text.split(/\\s+/);\n let line: string[] = [];\n let tspan = text.append<SVGTSpanElement>('tspan');\n let numLines = 0;\n\n words.forEach(word => {\n line.push(word);\n tspan.text(line.join(' '));\n const node = tspan.node();\n if (node && node.getComputedTextLength() > props.width && line.length > 1) {\n numLines++;\n line.pop();\n tspan.text(line.join(' '));\n line = [word];\n tspan = text.append<SVGTSpanElement>('tspan').text(word).attr('dy', props.lineHeight).attr('x', props.x);\n }\n });\n // bottom aligns text\n text.attr('dy', -numLines * props.lineHeight);\n\n return () => {\n text.selectAll('tspan').remove();\n };\n };\n React.useEffect(wrapWords);\n\n const { lineHeight, ...rest } = props;\n\n return <text ref={textElementRef} {...rest} />;\n};\n"]}
@@ -1,3 +0,0 @@
1
- export * from './LineChart';
2
- export * from './LineChart.types';
3
- export * from './eventAnnotation/Textbox';
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./LineChart"), exports);
5
- tslib_1.__exportStar(require("./LineChart.types"), exports);
6
- tslib_1.__exportStar(require("./eventAnnotation/Textbox"), exports);
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/LineChart/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,4DAAkC;AAClC,oEAA0C","sourcesContent":["export * from './LineChart';\nexport * from './LineChart.types';\nexport * from './eventAnnotation/Textbox';\n"]}
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- import { IArcProps, IArcState } from './Arc.types';
3
- export declare class Arc extends React.Component<IArcProps, IArcState> {
4
- static defaultProps: Partial<IArcProps>;
5
- protected _arcId: string;
6
- static getDerivedStateFromProps(nextProps: Readonly<IArcProps>): null;
7
- constructor(props: IArcProps);
8
- updateChart: (newProps: IArcProps) => void;
9
- render(): JSX.Element;
10
- protected _onFocus: () => void;
11
- protected _onBlur: () => void;
12
- }
13
- export declare class LabeledArc extends Arc {
14
- private _isRTL;
15
- constructor(props: IArcProps);
16
- render(): JSX.Element;
17
- }
@@ -1,91 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LabeledArc = exports.Arc = void 0;
4
- var tslib_1 = require("tslib");
5
- var React = require("react");
6
- var d3_shape_1 = require("d3-shape");
7
- var Utilities_1 = require("@fluentui/react/lib/Utilities");
8
- var Arc_styles_1 = require("./Arc.styles");
9
- var utilities_1 = require("../../../utilities/utilities");
10
- var SVGTooltipText_1 = require("../../../utilities/SVGTooltipText");
11
- var locale_util_1 = require("../../../utilities/locale-util");
12
- var Arc = exports.Arc = /** @class */ (function (_super) {
13
- tslib_1.__extends(Arc, _super);
14
- function Arc(props) {
15
- var _this = _super.call(this, props) || this;
16
- _this.updateChart = function (newProps) {
17
- _updateChart(newProps);
18
- };
19
- _this._onFocus = function () {
20
- _this.setState({ isArcFocused: true });
21
- };
22
- _this._onBlur = function () {
23
- _this.setState({ isArcFocused: false });
24
- };
25
- _this.state = {
26
- isArcFocused: false,
27
- };
28
- _this._arcId = (0, Utilities_1.getId)('piechart_arc');
29
- return _this;
30
- }
31
- Arc.getDerivedStateFromProps = function (nextProps) {
32
- _updateChart(nextProps);
33
- return null;
34
- };
35
- Arc.prototype.render = function () {
36
- var _this = this;
37
- var _a;
38
- var arc = this.props.arc;
39
- var getClassNames = (0, Utilities_1.classNamesFunction)();
40
- var classNames = getClassNames(function (props) { return (0, Arc_styles_1.getStyles)(props, _this.props.theme); }, tslib_1.__assign({}, this.props));
41
- return (React.createElement("path", { d: arc(this.props.data), className: "".concat(this.state.isArcFocused ? classNames.arcRootFocussed : classNames.arcRoot), onClick: (_a = this.props.data) === null || _a === void 0 ? void 0 : _a.data.onClick }));
42
- };
43
- Arc.defaultProps = {
44
- arc: (0, d3_shape_1.arc)(),
45
- };
46
- return Arc;
47
- }(React.Component));
48
- var LabeledArc = /** @class */ (function (_super) {
49
- tslib_1.__extends(LabeledArc, _super);
50
- function LabeledArc(props) {
51
- var _this = _super.call(this, props) || this;
52
- _this._isRTL = (0, Utilities_1.getRTL)();
53
- _this._arcId = (0, Utilities_1.getId)('piechart_arc');
54
- return _this;
55
- }
56
- LabeledArc.prototype.render = function () {
57
- var _this = this;
58
- var _a, _b;
59
- var _c = this.props, data = _c.data, culture = _c.culture;
60
- var gap = 4;
61
- // placing the labels on the outside arc
62
- var _d = (0, d3_shape_1.arc)().centroid({
63
- endAngle: (data === null || data === void 0 ? void 0 : data.endAngle) || 0,
64
- startAngle: (data === null || data === void 0 ? void 0 : data.startAngle) || 0,
65
- padAngle: data === null || data === void 0 ? void 0 : data.padAngle,
66
- innerRadius: ((_a = this.props) === null || _a === void 0 ? void 0 : _a.outerRadius) || 0,
67
- outerRadius: ((_b = this.props) === null || _b === void 0 ? void 0 : _b.outerRadius) || 0 + gap,
68
- }), labelX = _d[0], labelY = _d[1];
69
- var getClassNames = (0, Utilities_1.classNamesFunction)();
70
- var classNames = getClassNames(function (props) { return (0, Arc_styles_1.getStyles)(props, _this.props.theme); });
71
- var angle = (((data === null || data === void 0 ? void 0 : data.startAngle) || 0) + ((data === null || data === void 0 ? void 0 : data.endAngle) || 0)) / 2;
72
- var content = "".concat(data === null || data === void 0 ? void 0 : data.data.x, "-").concat((0, locale_util_1.convertToLocaleString)(data === null || data === void 0 ? void 0 : data.data.y, culture));
73
- return (React.createElement("g", { className: "".concat(classNames.arc, " arc"), "data-is-focusable": true, id: this._arcId, onFocus: this._onFocus, onBlur: this._onBlur, "aria-label": content, role: "img" },
74
- _super.prototype.render.call(this),
75
- React.createElement(SVGTooltipText_1.SVGTooltipText, { content: content, textProps: {
76
- x: labelX,
77
- y: labelY,
78
- dominantBaseline: angle > Math.PI / 2 && angle < (3 * Math.PI) / 2 ? 'hanging' : 'auto',
79
- textAnchor: (!this._isRTL && angle > Math.PI) || (this._isRTL && angle < Math.PI) ? 'end' : 'start',
80
- 'aria-label': "".concat(data === null || data === void 0 ? void 0 : data.data.x, "-").concat((0, locale_util_1.convertToLocaleString)(data === null || data === void 0 ? void 0 : data.data.y, culture)),
81
- className: classNames.arcText,
82
- }, isTooltipVisibleProp: this.state.isArcFocused, shouldReceiveFocus: false, maxWidth: 40, wrapContent: utilities_1.wrapContent })));
83
- };
84
- return LabeledArc;
85
- }(Arc));
86
- exports.LabeledArc = LabeledArc;
87
- function _updateChart(newProps) {
88
- newProps.arc.innerRadius(newProps.innerRadius);
89
- newProps.arc.outerRadius(newProps.outerRadius);
90
- }
91
- //# sourceMappingURL=Arc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Arc.js","sourceRoot":"../src/","sources":["components/PieChart/Arc/Arc.tsx"],"names":[],"mappings":"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","sourcesContent":["import * as React from 'react';\nimport { arc as d3Arc } from 'd3-shape';\nimport { IArcProps, IArcState, IArcStyles } from './Arc.types';\nimport { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';\nimport { getStyles } from './Arc.styles';\nimport { wrapContent } from '../../../utilities/utilities';\nimport { SVGTooltipText } from '../../../utilities/SVGTooltipText';\nimport { convertToLocaleString } from '../../../utilities/locale-util';\n\nexport class Arc extends React.Component<IArcProps, IArcState> {\n public static defaultProps: Partial<IArcProps> = {\n arc: d3Arc(),\n };\n\n protected _arcId: string;\n\n public static getDerivedStateFromProps(nextProps: Readonly<IArcProps>): null {\n _updateChart(nextProps);\n return null;\n }\n\n public constructor(props: IArcProps) {\n super(props);\n this.state = {\n isArcFocused: false,\n };\n\n this._arcId = getId('piechart_arc');\n }\n\n public updateChart = (newProps: IArcProps) => {\n _updateChart(newProps);\n };\n\n public render(): JSX.Element {\n const { arc } = this.props;\n const getClassNames = classNamesFunction<IArcProps, IArcStyles>();\n const classNames = getClassNames(props => getStyles(props, this.props.theme), { ...this.props });\n\n return (\n <path\n d={arc(this.props.data)}\n className={`${this.state.isArcFocused ? classNames.arcRootFocussed : classNames.arcRoot}`}\n onClick={this.props.data?.data.onClick}\n />\n );\n }\n\n protected _onFocus = () => {\n this.setState({ isArcFocused: true });\n };\n\n protected _onBlur = () => {\n this.setState({ isArcFocused: false });\n };\n}\n\nexport class LabeledArc extends Arc {\n private _isRTL = getRTL();\n\n public constructor(props: IArcProps) {\n super(props);\n this._arcId = getId('piechart_arc');\n }\n\n public render(): JSX.Element {\n const { data, culture } = this.props;\n const gap = 4;\n // placing the labels on the outside arc\n const [labelX, labelY] = d3Arc().centroid({\n endAngle: data?.endAngle || 0,\n startAngle: data?.startAngle || 0,\n padAngle: data?.padAngle,\n innerRadius: this.props?.outerRadius || 0,\n outerRadius: this.props?.outerRadius || 0 + gap,\n });\n\n const getClassNames = classNamesFunction<IArcProps, IArcStyles>();\n const classNames = getClassNames(props => getStyles(props, this.props.theme));\n\n const angle = ((data?.startAngle || 0) + (data?.endAngle || 0)) / 2;\n\n const content = `${data?.data.x}-${convertToLocaleString(data?.data.y, culture)}`;\n\n return (\n <g\n className={`${classNames.arc} arc`}\n data-is-focusable={true}\n id={this._arcId}\n onFocus={this._onFocus}\n onBlur={this._onBlur}\n aria-label={content}\n role=\"img\"\n >\n {super.render()}\n <SVGTooltipText\n content={content}\n textProps={{\n x: labelX,\n y: labelY,\n dominantBaseline: angle > Math.PI / 2 && angle < (3 * Math.PI) / 2 ? 'hanging' : 'auto',\n textAnchor: (!this._isRTL && angle > Math.PI) || (this._isRTL && angle < Math.PI) ? 'end' : 'start',\n 'aria-label': `${data?.data.x}-${convertToLocaleString(data?.data.y, culture)}`,\n className: classNames.arcText,\n }}\n isTooltipVisibleProp={this.state.isArcFocused}\n shouldReceiveFocus={false}\n maxWidth={40}\n wrapContent={wrapContent}\n />\n </g>\n );\n }\n}\n\nfunction _updateChart(newProps: IArcProps): void {\n newProps.arc.innerRadius(newProps.innerRadius);\n newProps.arc.outerRadius(newProps.outerRadius);\n}\n"]}
@@ -1,3 +0,0 @@
1
- import { IArcProps, IArcStyles } from './Arc.types';
2
- import { ITheme } from '@fluentui/react/lib/Styling';
3
- export declare const getStyles: (props: IArcProps, theme: ITheme | undefined) => IArcStyles;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getStyles = void 0;
4
- var Styling_1 = require("@fluentui/react/lib/Styling");
5
- var getStyles = function (props, theme) {
6
- var color = props.color;
7
- return {
8
- arcRoot: { fill: color },
9
- arcRootFocussed: { fill: color, stroke: (theme === null || theme === void 0 ? void 0 : theme.palette.black) || Styling_1.DefaultPalette.black, strokeWidth: 2 },
10
- arc: { outline: 'none' },
11
- arcText: { fill: (theme === null || theme === void 0 ? void 0 : theme.palette.black) || Styling_1.DefaultPalette.black, outline: 'none' },
12
- };
13
- };
14
- exports.getStyles = getStyles;
15
- //# sourceMappingURL=Arc.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Arc.styles.js","sourceRoot":"../src/","sources":["components/PieChart/Arc/Arc.styles.ts"],"names":[],"mappings":";;;AACA,uDAAqE;AAC9D,IAAM,SAAS,GAAG,UAAC,KAAgB,EAAE,KAAyB;IAC3D,IAAA,KAAK,GAAK,KAAK,MAAV,CAAW;IACxB,OAAO;QACL,OAAO,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;QACxB,eAAe,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAC,KAAK,KAAI,wBAAc,CAAC,KAAK,EAAE,WAAW,EAAE,CAAC,EAAE;QACtG,GAAG,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QACxB,OAAO,EAAE,EAAE,IAAI,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAC,KAAK,KAAI,wBAAc,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE;KACjF,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,SAAS,aAQpB","sourcesContent":["import { IArcProps, IArcStyles } from './Arc.types';\nimport { DefaultPalette, ITheme } from '@fluentui/react/lib/Styling';\nexport const getStyles = (props: IArcProps, theme: ITheme | undefined): IArcStyles => {\n const { color } = props;\n return {\n arcRoot: { fill: color },\n arcRootFocussed: { fill: color, stroke: theme?.palette.black || DefaultPalette.black, strokeWidth: 2 },\n arc: { outline: 'none' },\n arcText: { fill: theme?.palette.black || DefaultPalette.black, outline: 'none' },\n };\n};\n"]}
@@ -1,73 +0,0 @@
1
- import { IStyle, ITheme } from '@fluentui/react/lib/Styling';
2
- import { IDataPoint } from '../PieChart.types';
3
- export interface IArcProps {
4
- /**
5
- * Data to render in the Arc.
6
- */
7
- data?: IArcData;
8
- /**
9
- * shape for Arc.
10
- */
11
- arc?: any;
12
- /**
13
- * innerRadius of the Arc.
14
- */
15
- innerRadius?: number;
16
- /**
17
- * outerRadius of the Arc.
18
- */
19
- outerRadius?: number;
20
- /**
21
- * Color for the Arc.
22
- */
23
- color: string;
24
- /**
25
- * The prop used to define the culture to localized the numbers
26
- */
27
- culture?: string;
28
- /**
29
- * to pass the theme
30
- */
31
- theme?: ITheme;
32
- }
33
- export interface IArcState {
34
- /**
35
- * The state controls, whether the arc needs to be focused or not
36
- */
37
- isArcFocused?: boolean;
38
- }
39
- export interface IArcData {
40
- /**
41
- * Data to render in the chart for individual arc.
42
- */
43
- data: IDataPoint;
44
- /**
45
- * endAngle of the Arc
46
- */
47
- endAngle: number;
48
- /**
49
- * index of the Arc
50
- */
51
- index: number;
52
- /**
53
- * padAngle of the Arc
54
- */
55
- padAngle: number;
56
- /**
57
- * startAngle of the Arc
58
- */
59
- startAngle: number;
60
- /**
61
- * value of the Arc
62
- */
63
- value: number;
64
- }
65
- export interface IArcStyles {
66
- /**
67
- * Style set for the card header component root
68
- */
69
- arcRoot: IStyle;
70
- arc: IStyle;
71
- arcRootFocussed: IStyle;
72
- arcText: IStyle;
73
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Arc.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Arc.types.js","sourceRoot":"../src/","sources":["components/PieChart/Arc/Arc.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyle, ITheme } from '@fluentui/react/lib/Styling';\nimport { IDataPoint } from '../PieChart.types';\n\nexport interface IArcProps {\n /**\n * Data to render in the Arc.\n */\n data?: IArcData;\n\n /**\n * shape for Arc.\n */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n arc?: any;\n\n /**\n * innerRadius of the Arc.\n */\n innerRadius?: number;\n /**\n * outerRadius of the Arc.\n */\n outerRadius?: number;\n /**\n * Color for the Arc.\n */\n color: string;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n /**\n * to pass the theme\n */\n theme?: ITheme;\n}\n\nexport interface IArcState {\n /**\n * The state controls, whether the arc needs to be focused or not\n */\n isArcFocused?: boolean;\n}\n\nexport interface IArcData {\n /**\n * Data to render in the chart for individual arc.\n */\n data: IDataPoint;\n /**\n * endAngle of the Arc\n */\n endAngle: number;\n /**\n * index of the Arc\n */\n index: number;\n /**\n * padAngle of the Arc\n */\n padAngle: number;\n /**\n * startAngle of the Arc\n */\n startAngle: number;\n /**\n * value of the Arc\n */\n value: number;\n}\n\nexport interface IArcStyles {\n /**\n * Style set for the card header component root\n */\n arcRoot: IStyle;\n\n arc: IStyle;\n\n arcRootFocussed: IStyle;\n\n arcText: IStyle;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export * from './Arc';
2
- export * from './Arc.types';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Arc"), exports);
5
- tslib_1.__exportStar(require("./Arc.types"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/PieChart/Arc/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB;AACtB,sDAA4B","sourcesContent":["export * from './Arc';\nexport * from './Arc.types';\n"]}
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import { IPieProps } from './Pie.types';
3
- import { IArcData } from '../Arc/Arc.types';
4
- export declare class Pie extends React.Component<IPieProps, {}> {
5
- static defaultProps: Partial<IPieProps>;
6
- private colors;
7
- constructor(props: IPieProps);
8
- arcGenerator: (d: IArcData, i: number) => JSX.Element;
9
- render(): JSX.Element;
10
- }
@@ -1,48 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Pie = void 0;
4
- var tslib_1 = require("tslib");
5
- var React = require("react");
6
- var d3_shape_1 = require("d3-shape");
7
- var d3_scale_1 = require("d3-scale");
8
- var Arc_1 = require("../Arc/Arc");
9
- var react_focus_1 = require("@fluentui/react-focus");
10
- var colors_1 = require("../../../utilities/colors");
11
- var Pie = exports.Pie = /** @class */ (function (_super) {
12
- tslib_1.__extends(Pie, _super);
13
- function Pie(props) {
14
- var _this = _super.call(this, props) || this;
15
- _this.arcGenerator = function (d, i) {
16
- return (React.createElement(Arc_1.LabeledArc, { culture: _this.props.culture, key: i, data: d, innerRadius: _this.props.innerRadius, outerRadius: _this.props.outerRadius, color: "".concat(_this.colors(i)), theme: _this.props.theme }));
17
- };
18
- return _this;
19
- }
20
- Pie.prototype.render = function () {
21
- var _a, _b;
22
- var _this = this;
23
- // const getClassNames = classNamesFunction<IPieProps, IPieStyles>();
24
- var pie = (_a = this.props, _a.pie), data = _a.data, width = _a.width, height = _a.height, chartTitle = _a.chartTitle, theme = _a.theme;
25
- var defaultColors = [];
26
- if (data && !this.props.colors) {
27
- for (var i = 0; i < data.length; i++) {
28
- defaultColors.push((0, colors_1.getNextColor)(i, 0, theme === null || theme === void 0 ? void 0 : theme.isInverted));
29
- }
30
- }
31
- var colors = (_b = this.props.colors, _b === void 0 ? defaultColors : _b);
32
- this.colors = (0, d3_scale_1.scaleOrdinal)().range(colors.map(function (color) { return (0, colors_1.getColorFromToken)(color); }));
33
- var piechart = pie(data);
34
- var translate = "translate(".concat(width / 2, ", ").concat(height / 2, ")");
35
- return (React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.domOrder },
36
- React.createElement("svg", { width: width, height: height, "aria-label": chartTitle },
37
- React.createElement("g", { className: "pie", transform: translate }, piechart.map(function (d, i) { return _this.arcGenerator(d, i); })))));
38
- };
39
- Pie.defaultProps = {
40
- pie: (0, d3_shape_1.pie)()
41
- .padAngle(0.01)
42
- .sort(null)
43
- /* eslint-disable @typescript-eslint/no-explicit-any */
44
- .value(function (d) { return d.y; }),
45
- };
46
- return Pie;
47
- }(React.Component));
48
- //# sourceMappingURL=Pie.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Pie.js","sourceRoot":"../src/","sources":["components/PieChart/Pie/Pie.tsx"],"names":[],"mappings":";;;;AAAA,6BAA+B;AAC/B,qCAAwC;AACxC,qCAAsD;AAEtD,kCAAwC;AAExC,qDAAsE;AACtE,oDAA4E;AAE5E;IAAyB,+BAA8B;IAUrD,aAAY,KAAgB;QAA5B,YACE,kBAAM,KAAK,CAAC,SACb;QAEM,kBAAY,GAAG,UAAC,CAAW,EAAE,CAAS;YAC3C,OAAO,CACL,oBAAC,gBAAU,IACT,OAAO,EAAE,KAAI,CAAC,KAAK,CAAC,OAAO,EAC3B,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EACP,WAAW,EAAE,KAAI,CAAC,KAAK,CAAC,WAAW,EACnC,WAAW,EAAE,KAAI,CAAC,KAAK,CAAC,WAAW,EACnC,KAAK,EAAE,UAAG,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAE,EAC1B,KAAK,EAAE,KAAI,CAAC,KAAK,CAAC,KAAK,GACvB,CACH,CAAC;QACJ,CAAC,CAAC;;IAdF,CAAC;IAgBM,oBAAM,GAAb;;QAAA,iBA0BC;QAzBC,qEAAqE;QAC7D,IAAA,GAAG,IAAL,KAAkD,IAAI,CAAC,KAAK,SAAvD,EAAE,IAAI,UAAA,EAAE,KAAK,WAAA,EAAE,MAAM,YAAA,EAAE,UAAU,gBAAA,EAAE,KAAK,WAAA,CAAgB;QAEnE,IAAM,aAAa,GAAkB,EAAE,CAAC;QACxC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;YAC9B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACpC,aAAa,CAAC,IAAI,CAAC,IAAA,qBAAY,EAAC,CAAC,EAAE,CAAC,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,UAAU,CAAC,CAAC,CAAC;aAC3D;SACF;QACO,IAAA,MAAM,IAAN,KAA2B,IAAI,CAAC,KAAK,OAAf,kBAAb,aAAa,MAAA,CAAgB;QAE9C,IAAI,CAAC,MAAM,GAAG,IAAA,uBAAY,GAAE,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,UAAA,KAAK,IAAI,OAAA,IAAA,0BAAiB,EAAC,KAAK,CAAC,EAAxB,CAAwB,CAAC,CAAC,CAAC;QAElF,IAAM,QAAQ,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;QAC3B,IAAM,SAAS,GAAG,oBAAa,KAAK,GAAG,CAAC,eAAK,MAAM,GAAG,CAAC,MAAG,CAAC;QAE3D,OAAO,CACL,oBAAC,uBAAS,IAAC,SAAS,EAAE,gCAAkB,CAAC,QAAQ;YAC/C,6BAAK,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAc,UAAU;gBACvD,2BAAG,SAAS,EAAC,KAAK,EAAC,SAAS,EAAE,SAAS,IACpC,QAAQ,CAAC,GAAG,CAAC,UAAC,CAAW,EAAE,CAAS,IAAK,OAAA,KAAI,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,EAAvB,CAAuB,CAAC,CAChE,CACA,CACI,CACb,CAAC;IACJ,CAAC;IArDa,gBAAY,GAAuB;QAC/C,GAAG,EAAE,IAAA,cAAK,GAAE;aACT,QAAQ,CAAC,IAAI,CAAC;aACd,IAAI,CAAC,IAAI,CAAC;YACX,uDAAuD;aACtD,KAAK,CAAC,UAAC,CAAM,IAAK,OAAA,CAAC,CAAC,CAAC,EAAH,CAAG,CAAC;KAC1B,AANyB,CAMxB;IAgDJ,UAAC;CAAA,AAvDD,CAAyB,KAAK,CAAC,SAAS,GAuDvC","sourcesContent":["import * as React from 'react';\nimport { pie as d3Pie } from 'd3-shape';\nimport { ScaleOrdinal, scaleOrdinal } from 'd3-scale';\nimport { IPieProps } from './Pie.types';\nimport { LabeledArc } from '../Arc/Arc';\nimport { IArcData } from '../Arc/Arc.types';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport { getColorFromToken, getNextColor } from '../../../utilities/colors';\n\nexport class Pie extends React.Component<IPieProps, {}> {\n public static defaultProps: Partial<IPieProps> = {\n pie: d3Pie()\n .padAngle(0.01)\n .sort(null)\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .value((d: any) => d.y),\n };\n private colors: ScaleOrdinal<string | number, any>;\n\n constructor(props: IPieProps) {\n super(props);\n }\n\n public arcGenerator = (d: IArcData, i: number): JSX.Element => {\n return (\n <LabeledArc\n culture={this.props.culture}\n key={i}\n data={d}\n innerRadius={this.props.innerRadius}\n outerRadius={this.props.outerRadius}\n color={`${this.colors(i)}`}\n theme={this.props.theme}\n />\n );\n };\n\n public render(): JSX.Element {\n // const getClassNames = classNamesFunction<IPieProps, IPieStyles>();\n const { pie, data, width, height, chartTitle, theme } = this.props;\n\n const defaultColors: Array<string> = [];\n if (data && !this.props.colors) {\n for (let i = 0; i < data.length; i++) {\n defaultColors.push(getNextColor(i, 0, theme?.isInverted));\n }\n }\n const { colors = defaultColors } = this.props;\n\n this.colors = scaleOrdinal().range(colors.map(color => getColorFromToken(color)));\n\n const piechart = pie(data);\n const translate = `translate(${width / 2}, ${height / 2})`;\n\n return (\n <FocusZone direction={FocusZoneDirection.domOrder}>\n <svg width={width} height={height} aria-label={chartTitle}>\n <g className=\"pie\" transform={translate}>\n {piechart.map((d: IArcData, i: number) => this.arcGenerator(d, i))}\n </g>\n </svg>\n </FocusZone>\n );\n }\n}\n"]}
@@ -1,2 +0,0 @@
1
- import { IPieProps, IPieStyles } from './Pie.types';
2
- export declare const getStyles: (props: IPieProps) => IPieStyles;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getStyles = void 0;
4
- var getStyles = function (props) {
5
- return {
6
- root: {},
7
- };
8
- };
9
- exports.getStyles = getStyles;
10
- //# sourceMappingURL=Pie.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Pie.styles.js","sourceRoot":"../src/","sources":["components/PieChart/Pie/Pie.styles.ts"],"names":[],"mappings":";;;AAEO,IAAM,SAAS,GAAG,UAAC,KAAgB;IACxC,OAAO;QACL,IAAI,EAAE,EAAE;KACT,CAAC;AACJ,CAAC,CAAC;AAJW,QAAA,SAAS,aAIpB","sourcesContent":["import { IPieProps, IPieStyles } from './Pie.types';\n\nexport const getStyles = (props: IPieProps): IPieStyles => {\n return {\n root: {},\n };\n};\n"]}
@@ -1,47 +0,0 @@
1
- import { IStyle, ITheme } from '@fluentui/react/lib/Styling';
2
- import { IDataPoint } from '../PieChart.types';
3
- export interface IPieProps {
4
- /**
5
- * Width of the Pie.
6
- */
7
- width: number;
8
- /**
9
- * Height of the Pie.
10
- */
11
- height: number;
12
- /**
13
- * outerRadius of the Pie.
14
- */
15
- outerRadius: number;
16
- /**
17
- * innerRadius of the Pie.
18
- */
19
- innerRadius: number;
20
- /**
21
- * Data to render in the Pie.
22
- */
23
- data: IDataPoint[];
24
- /**
25
- * colors to render in the Pie.
26
- */
27
- colors?: string[];
28
- /**
29
- * Title to apply to the whole chart.
30
- */
31
- chartTitle?: string;
32
- /**
33
- * shape for pie.
34
- */
35
- pie?: any;
36
- /**
37
- * The prop used to define the culture to localized the numbers
38
- */
39
- culture?: string;
40
- theme?: ITheme;
41
- }
42
- export interface IPieStyles {
43
- /**
44
- * Style set for the card header component root
45
- */
46
- root: IStyle;
47
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Pie.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Pie.types.js","sourceRoot":"../src/","sources":["components/PieChart/Pie/Pie.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyle, ITheme } from '@fluentui/react/lib/Styling';\nimport { IDataPoint } from '../PieChart.types';\n\nexport interface IPieProps {\n /**\n * Width of the Pie.\n */\n width: number;\n /**\n * Height of the Pie.\n */\n height: number;\n /**\n * outerRadius of the Pie.\n */\n outerRadius: number;\n /**\n * innerRadius of the Pie.\n */\n innerRadius: number;\n /**\n * Data to render in the Pie.\n */\n data: IDataPoint[];\n /**\n * colors to render in the Pie.\n */\n colors?: string[];\n /**\n * Title to apply to the whole chart.\n */\n chartTitle?: string;\n /**\n * shape for pie.\n */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n pie?: any;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n theme?: ITheme;\n}\n\nexport interface IPieStyles {\n /**\n * Style set for the card header component root\n */\n root: IStyle;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export * from './Pie';
2
- export * from './Pie.types';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Pie"), exports);
5
- tslib_1.__exportStar(require("./Pie.types"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/PieChart/Pie/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB;AACtB,sDAA4B","sourcesContent":["export * from './Pie';\nexport * from './Pie.types';\n"]}
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import { IPieChartProps } from './PieChart.types';
3
- export declare class PieChartBase extends React.Component<IPieChartProps, {}> {
4
- static defaultProps: Partial<IPieChartProps>;
5
- private _classNames;
6
- private _emptyChartId;
7
- constructor(props: IPieChartProps);
8
- render(): JSX.Element;
9
- private _isChartEmpty;
10
- }
@@ -1,48 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PieChartBase = void 0;
4
- var tslib_1 = require("tslib");
5
- var React = require("react");
6
- var Utilities_1 = require("@fluentui/react/lib/Utilities");
7
- var Pie_1 = require("./Pie/Pie");
8
- var getClassNames = (0, Utilities_1.classNamesFunction)();
9
- var PieChartBase = exports.PieChartBase = /** @class */ (function (_super) {
10
- tslib_1.__extends(PieChartBase, _super);
11
- function PieChartBase(props) {
12
- var _this = _super.call(this, props) || this;
13
- _this._emptyChartId = (0, Utilities_1.getId)('_PieChart_empty');
14
- return _this;
15
- }
16
- PieChartBase.prototype.render = function () {
17
- var _a, _b;
18
- var data = (_a = this.props, _a.data), width = _a.width, height = _a.height, colors = _a.colors, chartTitle = _a.chartTitle;
19
- var theme = (_b = this.props, _b.theme), className = _b.className, styles = _b.styles, culture = _b.culture;
20
- this._classNames = getClassNames(styles, {
21
- theme: theme,
22
- width: width,
23
- height: height,
24
- className: className,
25
- });
26
- var TEXT_MAX_WIDTH = 40;
27
- var TEXT_LINE_HEIGHT = 16;
28
- /**
29
- * The radius for the pie chart is computed based on the space available inside the svg
30
- * after subtracting the max amount of space that can be used by the text in pie chart
31
- */
32
- var radius = Math.min(width - 2 * TEXT_MAX_WIDTH, height - 2 * TEXT_LINE_HEIGHT) / 2;
33
- var outerRadius = radius;
34
- return !this._isChartEmpty() ? (React.createElement("div", { className: this._classNames.root },
35
- this.props.chartTitle && React.createElement("p", { className: this._classNames.chartTitle }, this.props.chartTitle),
36
- React.createElement(Pie_1.Pie, { culture: culture, width: width, height: height, outerRadius: outerRadius, innerRadius: 1, data: data, colors: colors, chartTitle: chartTitle, theme: theme }))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
37
- };
38
- PieChartBase.prototype._isChartEmpty = function () {
39
- return !(this.props.data && this.props.data.length > 0 && this.props.data.filter(function (item) { return item.y > 0; }).length > 0);
40
- };
41
- PieChartBase.defaultProps = {
42
- data: [],
43
- width: 600,
44
- height: 350,
45
- };
46
- return PieChartBase;
47
- }(React.Component));
48
- //# sourceMappingURL=PieChart.base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PieChart.base.js","sourceRoot":"../src/","sources":["components/PieChart/PieChart.base.tsx"],"names":[],"mappings":";;;;AAAA,6BAA+B;AAC/B,2DAA0E;AAE1E,iCAAgC;AAGhC,IAAM,aAAa,GAAG,IAAA,8BAAkB,GAAwC,CAAC;AAEjF;IAAkC,wCAAmC;IASnE,sBAAmB,KAAqB;QAAxC,YACE,kBAAM,KAAK,CAAC,SAEb;QADC,KAAI,CAAC,aAAa,GAAG,IAAA,iBAAK,EAAC,iBAAiB,CAAC,CAAC;;IAChD,CAAC;IAEM,6BAAM,GAAb;;QACU,IAAA,IAAI,IAAN,KAA8C,IAAI,CAAC,KAAK,UAAlD,EAAE,KAAK,WAAA,EAAE,MAAM,YAAA,EAAE,MAAM,YAAA,EAAE,UAAU,gBAAA,CAAgB;QAEvD,IAAA,KAAK,IAAP,KAAwC,IAAI,CAAC,KAAK,WAA3C,EAAE,SAAS,eAAA,EAAE,MAAM,YAAA,EAAE,OAAO,aAAA,CAAgB;QACzD,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC,MAAO,EAAE;YACxC,KAAK,EAAE,KAAM;YACb,KAAK,EAAE,KAAM;YACb,MAAM,EAAE,MAAO;YACf,SAAS,WAAA;SACV,CAAC,CAAC;QAEH,IAAM,cAAc,GAAG,EAAE,CAAC;QAC1B,IAAM,gBAAgB,GAAG,EAAE,CAAC;QAE5B;;;WAGG;QAEH,IAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,KAAM,GAAG,CAAC,GAAG,cAAc,EAAE,MAAO,GAAG,CAAC,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC;QACzF,IAAM,WAAW,GAAG,MAAM,CAAC;QAE3B,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAC7B,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI;YAClC,IAAI,CAAC,KAAK,CAAC,UAAU,IAAI,2BAAG,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,UAAU,IAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAK;YAChG,oBAAC,SAAG,IACF,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAM,EACb,MAAM,EAAE,MAAO,EACf,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,CAAC,EACd,IAAI,EAAE,IAAK,EACX,MAAM,EAAE,MAAO,EACf,UAAU,EAAE,UAAW,EACvB,KAAK,EAAE,KAAK,GACZ,CACE,CACP,CAAC,CAAC,CAAC,CACF,6BACE,EAAE,EAAE,IAAI,CAAC,aAAa,EACtB,IAAI,EAAE,OAAO,EACb,KAAK,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,gBACX,8BAA8B,GAC1C,CACH,CAAC;IACJ,CAAC;IAEO,oCAAa,GAArB;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,UAAA,IAAI,IAAI,OAAA,IAAI,CAAC,CAAC,GAAG,CAAC,EAAV,CAAU,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACnH,CAAC;IA9Da,yBAAY,GAA4B;QACpD,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;KACZ,CAAC;IA2DJ,mBAAC;CAAA,AAhED,CAAkC,KAAK,CAAC,SAAS,GAgEhD","sourcesContent":["import * as React from 'react';\nimport { classNamesFunction, getId } from '@fluentui/react/lib/Utilities';\nimport { IPieChartProps, IPieChartStyleProps, IPieChartStyles } from './PieChart.types';\nimport { Pie } from './Pie/Pie';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\n\nconst getClassNames = classNamesFunction<IPieChartStyleProps, IPieChartStyles>();\n\nexport class PieChartBase extends React.Component<IPieChartProps, {}> {\n public static defaultProps: Partial<IPieChartProps> = {\n data: [],\n width: 600,\n height: 350,\n };\n private _classNames: IProcessedStyleSet<IPieChartStyles>;\n private _emptyChartId: string;\n\n public constructor(props: IPieChartProps) {\n super(props);\n this._emptyChartId = getId('_PieChart_empty');\n }\n\n public render(): JSX.Element {\n const { data, width, height, colors, chartTitle } = this.props;\n\n const { theme, className, styles, culture } = this.props;\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n width: width!,\n height: height!,\n className,\n });\n\n const TEXT_MAX_WIDTH = 40;\n const TEXT_LINE_HEIGHT = 16;\n\n /**\n * The radius for the pie chart is computed based on the space available inside the svg\n * after subtracting the max amount of space that can be used by the text in pie chart\n */\n\n const radius = Math.min(width! - 2 * TEXT_MAX_WIDTH, height! - 2 * TEXT_LINE_HEIGHT) / 2;\n const outerRadius = radius;\n\n return !this._isChartEmpty() ? (\n <div className={this._classNames.root}>\n {this.props.chartTitle && <p className={this._classNames.chartTitle}>{this.props.chartTitle}</p>}\n <Pie\n culture={culture}\n width={width!}\n height={height!}\n outerRadius={outerRadius}\n innerRadius={1}\n data={data!}\n colors={colors!}\n chartTitle={chartTitle!}\n theme={theme}\n />\n </div>\n ) : (\n <div\n id={this._emptyChartId}\n role={'alert'}\n style={{ opacity: '0' }}\n aria-label={'Graph has no data to display'}\n />\n );\n }\n\n private _isChartEmpty(): boolean {\n return !(this.props.data && this.props.data.length > 0 && this.props.data.filter(item => item.y > 0).length > 0);\n }\n}\n"]}
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { IPieChartProps } from './PieChart.types';
3
- /**
4
- * Piechart component
5
- * {@docCategory PieChart}
6
- */
7
- export declare const PieChart: React.FunctionComponent<IPieChartProps>;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PieChart = void 0;
4
- var Utilities_1 = require("@fluentui/react/lib/Utilities");
5
- var PieChart_base_1 = require("./PieChart.base");
6
- var PieChart_styles_1 = require("./PieChart.styles");
7
- // Create a PieChart variant which uses these default styles and this styled subcomponent.
8
- /**
9
- * Piechart component
10
- * {@docCategory PieChart}
11
- */
12
- exports.PieChart = (0, Utilities_1.styled)(PieChart_base_1.PieChartBase, PieChart_styles_1.getStyles);
13
- //# sourceMappingURL=PieChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PieChart.js","sourceRoot":"../src/","sources":["components/PieChart/PieChart.tsx"],"names":[],"mappings":";;;AACA,2DAAuD;AAEvD,iDAA+C;AAC/C,qDAA8C;AAE9C,0FAA0F;AAC1F;;;GAGG;AACU,QAAA,QAAQ,GAA4C,IAAA,kBAAM,EAIrE,4BAAY,EAAE,2BAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IPieChartProps, IPieChartStyleProps, IPieChartStyles } from './PieChart.types';\nimport { PieChartBase } from './PieChart.base';\nimport { getStyles } from './PieChart.styles';\n\n// Create a PieChart variant which uses these default styles and this styled subcomponent.\n/**\n * Piechart component\n * {@docCategory PieChart}\n */\nexport const PieChart: React.FunctionComponent<IPieChartProps> = styled<\n IPieChartProps,\n IPieChartStyleProps,\n IPieChartStyles\n>(PieChartBase, getStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IPieChartStyleProps, IPieChartStyles } from './PieChart.types';
2
- export declare const getStyles: (props: IPieChartStyleProps) => IPieChartStyles;