@fluentui/react-charting 5.16.34 → 5.16.35

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 (473) hide show
  1. package/CHANGELOG.json +40 -1
  2. package/CHANGELOG.md +15 -2
  3. package/dist/react-charting.js +1 -1
  4. package/dist/react-charting.min.js +1 -1
  5. package/lib/components/AreaChart/AreaChart.base.js +13 -13
  6. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  7. package/lib/components/CommonComponents/CartesianChart.base.js +9 -9
  8. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  9. package/lib/components/CommonComponents/CartesianChart.styles.js +2 -2
  10. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  11. package/lib/components/DonutChart/Arc/Arc.js +1 -1
  12. package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
  13. package/lib/components/DonutChart/DonutChart.base.js +1 -1
  14. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  15. package/lib/components/DonutChart/DonutChart.styles.js +1 -1
  16. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -1
  17. package/lib/components/DonutChart/Pie/Pie.js +1 -1
  18. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  19. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +4 -4
  20. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  21. package/lib/components/HeatMapChart/HeatMapChart.base.js +13 -13
  22. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  23. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +5 -5
  24. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  25. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +6 -6
  26. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  27. package/lib/components/Legends/Legends.base.js +4 -4
  28. package/lib/components/Legends/Legends.base.js.map +1 -1
  29. package/lib/components/Legends/Legends.styles.js +3 -3
  30. package/lib/components/Legends/Legends.styles.js.map +1 -1
  31. package/lib/components/Legends/shape.js +10 -10
  32. package/lib/components/Legends/shape.js.map +1 -1
  33. package/lib/components/LineChart/LineChart.base.js +41 -41
  34. package/lib/components/LineChart/LineChart.base.js.map +1 -1
  35. package/lib/components/PieChart/Arc/Arc.js +1 -1
  36. package/lib/components/PieChart/Arc/Arc.js.map +1 -1
  37. package/lib/components/PieChart/Pie/Pie.js +2 -2
  38. package/lib/components/PieChart/Pie/Pie.js.map +1 -1
  39. package/lib/components/SankeyChart/SankeyChart.base.js +6 -6
  40. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
  41. package/lib/components/Sparkline/Sparkline.base.js +1 -1
  42. package/lib/components/Sparkline/Sparkline.base.js.map +1 -1
  43. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +4 -4
  44. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  45. package/lib/components/StackedBarChart/StackedBarChart.base.js +1 -1
  46. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  47. package/lib/components/StackedBarChart/StackedBarChart.styles.js +2 -2
  48. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
  49. package/lib/components/TreeChart/TreeChart.base.js +8 -8
  50. package/lib/components/TreeChart/TreeChart.base.js.map +1 -1
  51. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +7 -7
  52. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  53. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +17 -17
  54. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  55. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +2 -2
  56. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
  57. package/lib/utilities/utilities.js +10 -10
  58. package/lib/utilities/utilities.js.map +1 -1
  59. package/lib/version.js +1 -1
  60. package/lib/version.js.map +1 -1
  61. package/lib-amd/AreaChart.js +1 -1
  62. package/lib-amd/AreaChart.js.map +1 -1
  63. package/lib-amd/CartesianChart.js +1 -1
  64. package/lib-amd/CartesianChart.js.map +1 -1
  65. package/lib-amd/DonutChart.js +1 -1
  66. package/lib-amd/DonutChart.js.map +1 -1
  67. package/lib-amd/GroupedVerticalBarChart.js +1 -1
  68. package/lib-amd/GroupedVerticalBarChart.js.map +1 -1
  69. package/lib-amd/HeatMapChart.js +1 -1
  70. package/lib-amd/HeatMapChart.js.map +1 -1
  71. package/lib-amd/HorizontalBarChart.js +1 -1
  72. package/lib-amd/HorizontalBarChart.js.map +1 -1
  73. package/lib-amd/HorizontalBarChartWithAxis.js +1 -1
  74. package/lib-amd/HorizontalBarChartWithAxis.js.map +1 -1
  75. package/lib-amd/Legends.js +1 -1
  76. package/lib-amd/Legends.js.map +1 -1
  77. package/lib-amd/LineChart.js +1 -1
  78. package/lib-amd/LineChart.js.map +1 -1
  79. package/lib-amd/PieChart.js +1 -1
  80. package/lib-amd/PieChart.js.map +1 -1
  81. package/lib-amd/SankeyChart.js +1 -1
  82. package/lib-amd/SankeyChart.js.map +1 -1
  83. package/lib-amd/Sparkline.js +1 -1
  84. package/lib-amd/Sparkline.js.map +1 -1
  85. package/lib-amd/StackedBarChart.js +1 -1
  86. package/lib-amd/StackedBarChart.js.map +1 -1
  87. package/lib-amd/TreeChart.js +1 -1
  88. package/lib-amd/TreeChart.js.map +1 -1
  89. package/lib-amd/VerticalBarChart.js +1 -1
  90. package/lib-amd/VerticalBarChart.js.map +1 -1
  91. package/lib-amd/VerticalStackedBarChart.js +1 -1
  92. package/lib-amd/VerticalStackedBarChart.js.map +1 -1
  93. package/lib-amd/components/AreaChart/AreaChart.base.js +42 -42
  94. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
  95. package/lib-amd/components/AreaChart/AreaChart.js +1 -1
  96. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -1
  97. package/lib-amd/components/AreaChart/AreaChart.styles.js +1 -1
  98. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -1
  99. package/lib-amd/components/AreaChart/index.js +2 -2
  100. package/lib-amd/components/AreaChart/index.js.map +1 -1
  101. package/lib-amd/components/CommonComponents/CartesianChart.base.js +41 -41
  102. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
  103. package/lib-amd/components/CommonComponents/CartesianChart.js +1 -1
  104. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -1
  105. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +6 -6
  106. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  107. package/lib-amd/components/CommonComponents/index.js +2 -2
  108. package/lib-amd/components/CommonComponents/index.js.map +1 -1
  109. package/lib-amd/components/DonutChart/Arc/Arc.js +6 -6
  110. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
  111. package/lib-amd/components/DonutChart/Arc/index.js +2 -2
  112. package/lib-amd/components/DonutChart/Arc/index.js.map +1 -1
  113. package/lib-amd/components/DonutChart/DonutChart.base.js +10 -10
  114. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  115. package/lib-amd/components/DonutChart/DonutChart.js +1 -1
  116. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -1
  117. package/lib-amd/components/DonutChart/DonutChart.styles.js +1 -1
  118. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -1
  119. package/lib-amd/components/DonutChart/Pie/Pie.js +4 -4
  120. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -1
  121. package/lib-amd/components/DonutChart/Pie/index.js +2 -2
  122. package/lib-amd/components/DonutChart/Pie/index.js.map +1 -1
  123. package/lib-amd/components/DonutChart/index.js +3 -3
  124. package/lib-amd/components/DonutChart/index.js.map +1 -1
  125. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +23 -23
  126. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  127. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +1 -1
  128. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  129. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +1 -1
  130. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  131. package/lib-amd/components/GroupedVerticalBarChart/index.js +2 -2
  132. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -1
  133. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +25 -25
  134. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  135. package/lib-amd/components/HeatMapChart/HeatMapChart.js +1 -1
  136. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -1
  137. package/lib-amd/components/HeatMapChart/index.js +2 -2
  138. package/lib-amd/components/HeatMapChart/index.js.map +1 -1
  139. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +17 -17
  140. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  141. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +1 -1
  142. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  143. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +2 -2
  144. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
  145. package/lib-amd/components/HorizontalBarChart/index.js +3 -3
  146. package/lib-amd/components/HorizontalBarChart/index.js.map +1 -1
  147. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +36 -36
  148. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  149. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
  150. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  151. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +1 -1
  152. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  153. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +2 -2
  154. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +1 -1
  155. package/lib-amd/components/Legends/Legends.base.js +16 -16
  156. package/lib-amd/components/Legends/Legends.base.js.map +1 -1
  157. package/lib-amd/components/Legends/Legends.js +1 -1
  158. package/lib-amd/components/Legends/Legends.js.map +1 -1
  159. package/lib-amd/components/Legends/Legends.styles.js +8 -8
  160. package/lib-amd/components/Legends/Legends.styles.js.map +1 -1
  161. package/lib-amd/components/Legends/index.js +3 -3
  162. package/lib-amd/components/Legends/index.js.map +1 -1
  163. package/lib-amd/components/Legends/shape.js +11 -11
  164. package/lib-amd/components/Legends/shape.js.map +1 -1
  165. package/lib-amd/components/LineChart/LineChart.base.js +78 -78
  166. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
  167. package/lib-amd/components/LineChart/LineChart.js +1 -1
  168. package/lib-amd/components/LineChart/LineChart.js.map +1 -1
  169. package/lib-amd/components/LineChart/LineChart.styles.js +1 -1
  170. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -1
  171. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +3 -3
  172. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
  173. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +3 -3
  174. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  175. package/lib-amd/components/LineChart/index.js +3 -3
  176. package/lib-amd/components/LineChart/index.js.map +1 -1
  177. package/lib-amd/components/PieChart/Arc/Arc.js +5 -5
  178. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -1
  179. package/lib-amd/components/PieChart/Arc/index.js +2 -2
  180. package/lib-amd/components/PieChart/Arc/index.js.map +1 -1
  181. package/lib-amd/components/PieChart/Pie/Pie.js +3 -3
  182. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -1
  183. package/lib-amd/components/PieChart/Pie/index.js +2 -2
  184. package/lib-amd/components/PieChart/Pie/index.js.map +1 -1
  185. package/lib-amd/components/PieChart/PieChart.base.js +2 -2
  186. package/lib-amd/components/PieChart/PieChart.base.js.map +1 -1
  187. package/lib-amd/components/PieChart/PieChart.js +1 -1
  188. package/lib-amd/components/PieChart/PieChart.js.map +1 -1
  189. package/lib-amd/components/PieChart/PieChart.styles.js +1 -1
  190. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -1
  191. package/lib-amd/components/PieChart/index.js +2 -2
  192. package/lib-amd/components/PieChart/index.js.map +1 -1
  193. package/lib-amd/components/SankeyChart/SankeyChart.base.js +27 -27
  194. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
  195. package/lib-amd/components/SankeyChart/SankeyChart.js +1 -1
  196. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -1
  197. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +1 -1
  198. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -1
  199. package/lib-amd/components/SankeyChart/index.js +2 -2
  200. package/lib-amd/components/SankeyChart/index.js.map +1 -1
  201. package/lib-amd/components/Sparkline/Sparkline.base.js +9 -9
  202. package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -1
  203. package/lib-amd/components/Sparkline/Sparkline.js +1 -1
  204. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -1
  205. package/lib-amd/components/Sparkline/Sparkline.styles.js +1 -1
  206. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -1
  207. package/lib-amd/components/Sparkline/index.js +2 -2
  208. package/lib-amd/components/Sparkline/index.js.map +1 -1
  209. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +15 -15
  210. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  211. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +1 -1
  212. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  213. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +1 -1
  214. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
  215. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +11 -11
  216. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  217. package/lib-amd/components/StackedBarChart/StackedBarChart.js +1 -1
  218. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -1
  219. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +3 -3
  220. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
  221. package/lib-amd/components/StackedBarChart/index.js +5 -5
  222. package/lib-amd/components/StackedBarChart/index.js.map +1 -1
  223. package/lib-amd/components/TreeChart/TreeChart.base.js +20 -20
  224. package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -1
  225. package/lib-amd/components/TreeChart/TreeChart.js +1 -1
  226. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -1
  227. package/lib-amd/components/TreeChart/TreeChart.styles.js +4 -4
  228. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -1
  229. package/lib-amd/components/TreeChart/index.js +2 -2
  230. package/lib-amd/components/TreeChart/index.js.map +1 -1
  231. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +33 -33
  232. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  233. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +1 -1
  234. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  235. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +1 -1
  236. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  237. package/lib-amd/components/VerticalBarChart/index.js +2 -2
  238. package/lib-amd/components/VerticalBarChart/index.js.map +1 -1
  239. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +36 -36
  240. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  241. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
  242. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  243. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +1 -1
  244. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  245. package/lib-amd/components/VerticalStackedBarChart/index.js +2 -2
  246. package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -1
  247. package/lib-amd/index.js +19 -19
  248. package/lib-amd/index.js.map +1 -1
  249. package/lib-amd/types/index.js +2 -2
  250. package/lib-amd/types/index.js.map +1 -1
  251. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +6 -6
  252. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  253. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
  254. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  255. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +2 -2
  256. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
  257. package/lib-amd/utilities/ChartHoverCard/index.js +3 -3
  258. package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -1
  259. package/lib-amd/utilities/FocusableTooltipText.js +3 -3
  260. package/lib-amd/utilities/FocusableTooltipText.js.map +1 -1
  261. package/lib-amd/utilities/index.js +3 -3
  262. package/lib-amd/utilities/index.js.map +1 -1
  263. package/lib-amd/utilities/utilities.js +77 -77
  264. package/lib-amd/utilities/utilities.js.map +1 -1
  265. package/lib-amd/version.js +1 -1
  266. package/lib-amd/version.js.map +1 -1
  267. package/lib-commonjs/AreaChart.js +1 -1
  268. package/lib-commonjs/AreaChart.js.map +1 -1
  269. package/lib-commonjs/CartesianChart.js +1 -1
  270. package/lib-commonjs/CartesianChart.js.map +1 -1
  271. package/lib-commonjs/DonutChart.js +1 -1
  272. package/lib-commonjs/DonutChart.js.map +1 -1
  273. package/lib-commonjs/GroupedVerticalBarChart.js +1 -1
  274. package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -1
  275. package/lib-commonjs/HeatMapChart.js +1 -1
  276. package/lib-commonjs/HeatMapChart.js.map +1 -1
  277. package/lib-commonjs/HorizontalBarChart.js +1 -1
  278. package/lib-commonjs/HorizontalBarChart.js.map +1 -1
  279. package/lib-commonjs/HorizontalBarChartWithAxis.js +1 -1
  280. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -1
  281. package/lib-commonjs/Legends.js +1 -1
  282. package/lib-commonjs/Legends.js.map +1 -1
  283. package/lib-commonjs/LineChart.js +1 -1
  284. package/lib-commonjs/LineChart.js.map +1 -1
  285. package/lib-commonjs/PieChart.js +1 -1
  286. package/lib-commonjs/PieChart.js.map +1 -1
  287. package/lib-commonjs/SankeyChart.js +1 -1
  288. package/lib-commonjs/SankeyChart.js.map +1 -1
  289. package/lib-commonjs/Sparkline.js +1 -1
  290. package/lib-commonjs/Sparkline.js.map +1 -1
  291. package/lib-commonjs/StackedBarChart.js +1 -1
  292. package/lib-commonjs/StackedBarChart.js.map +1 -1
  293. package/lib-commonjs/TreeChart.js +1 -1
  294. package/lib-commonjs/TreeChart.js.map +1 -1
  295. package/lib-commonjs/VerticalBarChart.js +1 -1
  296. package/lib-commonjs/VerticalBarChart.js.map +1 -1
  297. package/lib-commonjs/VerticalStackedBarChart.js +1 -1
  298. package/lib-commonjs/VerticalStackedBarChart.js.map +1 -1
  299. package/lib-commonjs/components/AreaChart/AreaChart.base.js +42 -42
  300. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  301. package/lib-commonjs/components/AreaChart/AreaChart.js +1 -1
  302. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
  303. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +1 -1
  304. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -1
  305. package/lib-commonjs/components/AreaChart/index.js +2 -2
  306. package/lib-commonjs/components/AreaChart/index.js.map +1 -1
  307. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +41 -41
  308. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  309. package/lib-commonjs/components/CommonComponents/CartesianChart.js +1 -1
  310. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  311. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +6 -6
  312. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  313. package/lib-commonjs/components/CommonComponents/index.js +2 -2
  314. package/lib-commonjs/components/CommonComponents/index.js.map +1 -1
  315. package/lib-commonjs/components/DonutChart/Arc/Arc.js +6 -6
  316. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
  317. package/lib-commonjs/components/DonutChart/Arc/index.js +2 -2
  318. package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -1
  319. package/lib-commonjs/components/DonutChart/DonutChart.base.js +10 -10
  320. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  321. package/lib-commonjs/components/DonutChart/DonutChart.js +1 -1
  322. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
  323. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +1 -1
  324. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -1
  325. package/lib-commonjs/components/DonutChart/Pie/Pie.js +4 -4
  326. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
  327. package/lib-commonjs/components/DonutChart/Pie/index.js +2 -2
  328. package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -1
  329. package/lib-commonjs/components/DonutChart/index.js +3 -3
  330. package/lib-commonjs/components/DonutChart/index.js.map +1 -1
  331. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +23 -23
  332. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  333. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +1 -1
  334. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  335. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +1 -1
  336. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  337. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +2 -2
  338. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -1
  339. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +25 -25
  340. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  341. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +1 -1
  342. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  343. package/lib-commonjs/components/HeatMapChart/index.js +2 -2
  344. package/lib-commonjs/components/HeatMapChart/index.js.map +1 -1
  345. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +17 -17
  346. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  347. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +1 -1
  348. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  349. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +2 -2
  350. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
  351. package/lib-commonjs/components/HorizontalBarChart/index.js +3 -3
  352. package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -1
  353. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +36 -36
  354. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  355. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +1 -1
  356. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  357. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +1 -1
  358. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  359. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +2 -2
  360. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -1
  361. package/lib-commonjs/components/Legends/Legends.base.js +16 -16
  362. package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
  363. package/lib-commonjs/components/Legends/Legends.js +1 -1
  364. package/lib-commonjs/components/Legends/Legends.js.map +1 -1
  365. package/lib-commonjs/components/Legends/Legends.styles.js +8 -8
  366. package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -1
  367. package/lib-commonjs/components/Legends/index.js +3 -3
  368. package/lib-commonjs/components/Legends/index.js.map +1 -1
  369. package/lib-commonjs/components/Legends/shape.js +11 -11
  370. package/lib-commonjs/components/Legends/shape.js.map +1 -1
  371. package/lib-commonjs/components/LineChart/LineChart.base.js +78 -78
  372. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  373. package/lib-commonjs/components/LineChart/LineChart.js +1 -1
  374. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  375. package/lib-commonjs/components/LineChart/LineChart.styles.js +1 -1
  376. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -1
  377. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +3 -3
  378. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
  379. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +3 -3
  380. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  381. package/lib-commonjs/components/LineChart/index.js +3 -3
  382. package/lib-commonjs/components/LineChart/index.js.map +1 -1
  383. package/lib-commonjs/components/PieChart/Arc/Arc.js +5 -5
  384. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
  385. package/lib-commonjs/components/PieChart/Arc/index.js +2 -2
  386. package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -1
  387. package/lib-commonjs/components/PieChart/Pie/Pie.js +3 -3
  388. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -1
  389. package/lib-commonjs/components/PieChart/Pie/index.js +2 -2
  390. package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -1
  391. package/lib-commonjs/components/PieChart/PieChart.base.js +2 -2
  392. package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -1
  393. package/lib-commonjs/components/PieChart/PieChart.js +1 -1
  394. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
  395. package/lib-commonjs/components/PieChart/PieChart.styles.js +1 -1
  396. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -1
  397. package/lib-commonjs/components/PieChart/index.js +2 -2
  398. package/lib-commonjs/components/PieChart/index.js.map +1 -1
  399. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +27 -27
  400. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
  401. package/lib-commonjs/components/SankeyChart/SankeyChart.js +1 -1
  402. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  403. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +1 -1
  404. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -1
  405. package/lib-commonjs/components/SankeyChart/index.js +2 -2
  406. package/lib-commonjs/components/SankeyChart/index.js.map +1 -1
  407. package/lib-commonjs/components/Sparkline/Sparkline.base.js +9 -9
  408. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -1
  409. package/lib-commonjs/components/Sparkline/Sparkline.js +1 -1
  410. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
  411. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +1 -1
  412. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -1
  413. package/lib-commonjs/components/Sparkline/index.js +2 -2
  414. package/lib-commonjs/components/Sparkline/index.js.map +1 -1
  415. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +15 -15
  416. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  417. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +1 -1
  418. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  419. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +1 -1
  420. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
  421. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +11 -11
  422. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  423. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +1 -1
  424. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
  425. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +3 -3
  426. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
  427. package/lib-commonjs/components/StackedBarChart/index.js +5 -5
  428. package/lib-commonjs/components/StackedBarChart/index.js.map +1 -1
  429. package/lib-commonjs/components/TreeChart/TreeChart.base.js +20 -20
  430. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -1
  431. package/lib-commonjs/components/TreeChart/TreeChart.js +1 -1
  432. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
  433. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +4 -4
  434. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -1
  435. package/lib-commonjs/components/TreeChart/index.js +2 -2
  436. package/lib-commonjs/components/TreeChart/index.js.map +1 -1
  437. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +33 -33
  438. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  439. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +1 -1
  440. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  441. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +1 -1
  442. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  443. package/lib-commonjs/components/VerticalBarChart/index.js +2 -2
  444. package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -1
  445. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +36 -36
  446. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  447. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +1 -1
  448. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  449. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +1 -1
  450. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  451. package/lib-commonjs/components/VerticalStackedBarChart/index.js +2 -2
  452. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -1
  453. package/lib-commonjs/index.js +19 -19
  454. package/lib-commonjs/index.js.map +1 -1
  455. package/lib-commonjs/types/index.js +2 -2
  456. package/lib-commonjs/types/index.js.map +1 -1
  457. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +6 -6
  458. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  459. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +1 -1
  460. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  461. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +2 -2
  462. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
  463. package/lib-commonjs/utilities/ChartHoverCard/index.js +3 -3
  464. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -1
  465. package/lib-commonjs/utilities/FocusableTooltipText.js +3 -3
  466. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -1
  467. package/lib-commonjs/utilities/index.js +3 -3
  468. package/lib-commonjs/utilities/index.js.map +1 -1
  469. package/lib-commonjs/utilities/utilities.js +77 -77
  470. package/lib-commonjs/utilities/utilities.js.map +1 -1
  471. package/lib-commonjs/version.js +1 -1
  472. package/lib-commonjs/version.js.map +1 -1
  473. package/package.json +7 -7
@@ -12,14 +12,14 @@ var index_2 = require("../../index");
12
12
  var Callout_1 = require("@fluentui/react/lib/Callout");
13
13
  var EventAnnotation_1 = require("./eventAnnotation/EventAnnotation");
14
14
  var index_3 = require("../../utilities/index");
15
- var getClassNames = Utilities_1.classNamesFunction();
15
+ var getClassNames = (0, Utilities_1.classNamesFunction)();
16
16
  var PointSize;
17
17
  (function (PointSize) {
18
18
  PointSize[PointSize["hoverSize"] = 11] = "hoverSize";
19
19
  PointSize[PointSize["invisibleSize"] = 1] = "invisibleSize";
20
20
  })(PointSize || (PointSize = {}));
21
21
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
22
- var bisect = d3_array_1.bisector(function (d) { return d.x; }).left;
22
+ var bisect = (0, d3_array_1.bisector)(function (d) { return d.x; }).left;
23
23
  var DEFAULT_LINE_STROKE_SIZE = 4;
24
24
  // The given shape of a icon must be 2.5 times bigger than line width (known as stroke width)
25
25
  var PATH_MULTIPLY_SIZE = 2.5;
@@ -33,26 +33,26 @@ var PATH_MULTIPLY_SIZE = 2.5;
33
33
  var _getPointPath = function (x, y, w, index) {
34
34
  var allPointPaths = [
35
35
  // circle path
36
- "M" + (x - w / 2) + " " + y + "\n A" + w / 2 + " " + w / 2 + " 0 1 0 " + (x + w / 2) + " " + y + "\n M" + (x - w / 2) + " " + y + "\n A " + w / 2 + " " + w / 2 + " 0 1 1 " + (x + w / 2) + " " + y + "\n ",
36
+ "M".concat(x - w / 2, " ").concat(y, "\n A").concat(w / 2, " ").concat(w / 2, " 0 1 0 ").concat(x + w / 2, " ").concat(y, "\n M").concat(x - w / 2, " ").concat(y, "\n A ").concat(w / 2, " ").concat(w / 2, " 0 1 1 ").concat(x + w / 2, " ").concat(y, "\n "),
37
37
  //square
38
- "M" + (x - w / 2) + " " + (y - w / 2) + "\n L" + (x + w / 2) + " " + (y - w / 2) + "\n L" + (x + w / 2) + " " + (y + w / 2) + "\n L" + (x - w / 2) + " " + (y + w / 2) + "\n Z",
38
+ "M".concat(x - w / 2, " ").concat(y - w / 2, "\n L").concat(x + w / 2, " ").concat(y - w / 2, "\n L").concat(x + w / 2, " ").concat(y + w / 2, "\n L").concat(x - w / 2, " ").concat(y + w / 2, "\n Z"),
39
39
  //triangle
40
- "M" + (x - w / 2) + " " + (y - 0.2886 * w) + "\n H " + (x + w / 2) + "\n L" + x + " " + (y + 0.5774 * w) + " Z",
40
+ "M".concat(x - w / 2, " ").concat(y - 0.2886 * w, "\n H ").concat(x + w / 2, "\n L").concat(x, " ").concat(y + 0.5774 * w, " Z"),
41
41
  //diamond
42
- "M" + x + " " + (y - w / 2) + "\n L" + (x + w / 2) + " " + y + "\n L" + x + " " + (y + w / 2) + "\n L" + (x - w / 2) + " " + y + "\n Z",
42
+ "M".concat(x, " ").concat(y - w / 2, "\n L").concat(x + w / 2, " ").concat(y, "\n L").concat(x, " ").concat(y + w / 2, "\n L").concat(x - w / 2, " ").concat(y, "\n Z"),
43
43
  //pyramid
44
- "M" + x + " " + (y - 0.5774 * w) + "\n L" + (x + w / 2) + " " + (y + 0.2886 * w) + "\n L" + (x - w / 2) + " " + (y + 0.2886 * w) + " Z",
44
+ "M".concat(x, " ").concat(y - 0.5774 * w, "\n L").concat(x + w / 2, " ").concat(y + 0.2886 * w, "\n L").concat(x - w / 2, " ").concat(y + 0.2886 * w, " Z"),
45
45
  //hexagon
46
- "M" + (x - 0.5 * w) + " " + (y - 0.866 * w) + "\n L" + (x + 0.5 * w) + " " + (y - 0.866 * w) + "\n L" + (x + w) + " " + y + "\n L" + (x + 0.5 * w) + " " + (y + 0.866 * w) + "\n L" + (x - 0.5 * w) + " " + (y + 0.866 * w) + "\n L" + (x - w) + " " + y + "\n Z",
46
+ "M".concat(x - 0.5 * w, " ").concat(y - 0.866 * w, "\n L").concat(x + 0.5 * w, " ").concat(y - 0.866 * w, "\n L").concat(x + w, " ").concat(y, "\n L").concat(x + 0.5 * w, " ").concat(y + 0.866 * w, "\n L").concat(x - 0.5 * w, " ").concat(y + 0.866 * w, "\n L").concat(x - w, " ").concat(y, "\n Z"),
47
47
  //pentagon
48
- "M" + x + " " + (y - 0.851 * w) + "\n L" + (x + 0.6884 * w) + " " + (y - 0.2633 * w) + "\n L" + (x + 0.5001 * w) + " " + (y + 0.6884 * w) + "\n L" + (x - 0.5001 * w) + " " + (y + 0.6884 * w) + "\n L" + (x - 0.6884 * w) + " " + (y - 0.2633 * w) + "\n Z",
48
+ "M".concat(x, " ").concat(y - 0.851 * w, "\n L").concat(x + 0.6884 * w, " ").concat(y - 0.2633 * w, "\n L").concat(x + 0.5001 * w, " ").concat(y + 0.6884 * w, "\n L").concat(x - 0.5001 * w, " ").concat(y + 0.6884 * w, "\n L").concat(x - 0.6884 * w, " ").concat(y - 0.2633 * w, "\n Z"),
49
49
  //octagon
50
- "M" + (x - 0.5001 * w) + " " + (y - 1.207 * w) + "\n L" + (x + 0.5001 * w) + " " + (y - 1.207 * w) + "\n L" + (x + 1.207 * w) + " " + (y - 0.5001 * w) + "\n L" + (x + 1.207 * w) + " " + (y + 0.5001 * w) + "\n L" + (x + 0.5001 * w) + " " + (y + 1.207 * w) + "\n L" + (x - 0.5001 * w) + " " + (y + 1.207 * w) + "\n L" + (x - 1.207 * w) + " " + (y + 0.5001 * w) + "\n L" + (x - 1.207 * w) + " " + (y - 0.5001 * w) + "\n Z",
50
+ "M".concat(x - 0.5001 * w, " ").concat(y - 1.207 * w, "\n L").concat(x + 0.5001 * w, " ").concat(y - 1.207 * w, "\n L").concat(x + 1.207 * w, " ").concat(y - 0.5001 * w, "\n L").concat(x + 1.207 * w, " ").concat(y + 0.5001 * w, "\n L").concat(x + 0.5001 * w, " ").concat(y + 1.207 * w, "\n L").concat(x - 0.5001 * w, " ").concat(y + 1.207 * w, "\n L").concat(x - 1.207 * w, " ").concat(y + 0.5001 * w, "\n L").concat(x - 1.207 * w, " ").concat(y - 0.5001 * w, "\n Z"),
51
51
  ];
52
52
  return allPointPaths[index];
53
53
  };
54
54
  var LineChartBase = /** @class */ (function (_super) {
55
- tslib_1.__extends(LineChartBase, _super);
55
+ (0, tslib_1.__extends)(LineChartBase, _super);
56
56
  function LineChartBase(props) {
57
57
  var _this_1 = _super.call(this, props) || this;
58
58
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -68,12 +68,12 @@ var LineChartBase = /** @class */ (function (_super) {
68
68
  var color;
69
69
  // isInverted property is applicable to v8 themes only
70
70
  if (typeof item.color === 'undefined') {
71
- color = index_3.getNextColor(index, 0, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
71
+ color = (0, index_3.getNextColor)(index, 0, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
72
72
  }
73
73
  else {
74
- color = index_3.getColorFromToken(item.color, (_b = _this_1.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted);
74
+ color = (0, index_3.getColorFromToken)(item.color, (_b = _this_1.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted);
75
75
  }
76
- return tslib_1.__assign(tslib_1.__assign({}, item), { index: allowMultipleShapesForPoints ? index : -1, color: color });
76
+ return (0, tslib_1.__assign)((0, tslib_1.__assign)({}, item), { index: allowMultipleShapesForPoints ? index : -1, color: color });
77
77
  })
78
78
  : [];
79
79
  };
@@ -185,13 +185,13 @@ var LineChartBase = /** @class */ (function (_super) {
185
185
  else {
186
186
  _this_1._colorFillBars = _this_1.props.colorFillBars;
187
187
  }
188
- var yMinMaxValues = index_3.getMinMaxOfYAxis(_this_1._points, index_3.ChartTypes.LineChart);
188
+ var yMinMaxValues = (0, index_3.getMinMaxOfYAxis)(_this_1._points, index_3.ChartTypes.LineChart);
189
189
  var FILL_Y_PADDING = 3;
190
190
  for (var i = 0; i < _this_1._colorFillBars.length; i++) {
191
191
  var colorFillBar = _this_1._colorFillBars[i];
192
- var colorFillBarId = Utilities_1.getId(colorFillBar.legend.replace(/\W/g, ''));
192
+ var colorFillBarId = (0, Utilities_1.getId)(colorFillBar.legend.replace(/\W/g, ''));
193
193
  // isInverted property is applicable to v8 themes only
194
- var color = index_3.getColorFromToken(colorFillBar.color, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
194
+ var color = (0, index_3.getColorFromToken)(colorFillBar.color, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
195
195
  if (colorFillBar.applyPattern) {
196
196
  // Using a pattern element because CSS was unable to render diagonal stripes for rect elements
197
197
  colorFillBars.push(_this_1._getStripePattern(color, i));
@@ -202,7 +202,7 @@ var LineChartBase = /** @class */ (function (_super) {
202
202
  var opacity = _this_1._legendHighlighted(colorFillBar.legend) || _this_1._noLegendHighlighted() || _this_1.state.isSelectedLegend
203
203
  ? _this_1._getColorFillBarOpacity(colorFillBar)
204
204
  : 0.1;
205
- colorFillBars.push(React.createElement("rect", { fill: colorFillBar.applyPattern ? "url(#" + _this_1._colorFillBarPatternId + "_" + i + ")" : color, fillOpacity: opacity, x: _this_1._xAxisScale(startX), y: _this_1._yAxisScale(yMinMaxValues.endValue) - FILL_Y_PADDING, width: Math.abs(_this_1._xAxisScale(endX) - _this_1._xAxisScale(startX)), height: _this_1._yAxisScale(_this_1.props.yMinValue || 0) - _this_1._yAxisScale(yMinMaxValues.endValue) + FILL_Y_PADDING, key: "" + colorFillBarId + j }));
205
+ colorFillBars.push(React.createElement("rect", { fill: colorFillBar.applyPattern ? "url(#".concat(_this_1._colorFillBarPatternId, "_").concat(i, ")") : color, fillOpacity: opacity, x: _this_1._xAxisScale(startX), y: _this_1._yAxisScale(yMinMaxValues.endValue) - FILL_Y_PADDING, width: Math.abs(_this_1._xAxisScale(endX) - _this_1._xAxisScale(startX)), height: _this_1._yAxisScale(_this_1.props.yMinValue || 0) - _this_1._yAxisScale(yMinMaxValues.endValue) + FILL_Y_PADDING, key: "".concat(colorFillBarId).concat(j) }));
206
206
  }
207
207
  }
208
208
  return colorFillBars;
@@ -211,7 +211,7 @@ var LineChartBase = /** @class */ (function (_super) {
211
211
  // This describes a tile pattern that resembles diagonal stripes
212
212
  // For more information: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d
213
213
  var stripePath = 'M-4,4 l8,-8 M0,16 l16,-16 M12,20 l8,-8';
214
- return (React.createElement("pattern", { id: _this_1._colorFillBarPatternId + "_" + id, width: 16, height: 16, key: _this_1._colorFillBarPatternId + "_" + id, patternUnits: 'userSpaceOnUse' },
214
+ return (React.createElement("pattern", { id: "".concat(_this_1._colorFillBarPatternId, "_").concat(id), width: 16, height: 16, key: "".concat(_this_1._colorFillBarPatternId, "_").concat(id), patternUnits: 'userSpaceOnUse' },
215
215
  React.createElement("path", { d: stripePath, stroke: color, strokeWidth: 1.25 })));
216
216
  };
217
217
  _this_1._checkInGap = function (pointIndex, gaps, currentGapIndex) {
@@ -230,7 +230,7 @@ var LineChartBase = /** @class */ (function (_super) {
230
230
  var data = _this_1.props.data;
231
231
  var lineChartData = data.lineChartData;
232
232
  // This will get the value of the X when mouse is on the chart
233
- var xOffset = _this_1._xAxisScale.invert(d3_selection_1.clientPoint(document.getElementById(_this_1._rectId), mouseEvent)[0]);
233
+ var xOffset = _this_1._xAxisScale.invert((0, d3_selection_1.clientPoint)(document.getElementById(_this_1._rectId), mouseEvent)[0]);
234
234
  var i = bisect(lineChartData[linenumber].data, xOffset);
235
235
  var d0 = lineChartData[linenumber].data[i - 1];
236
236
  var d1 = lineChartData[linenumber].data[i];
@@ -246,7 +246,7 @@ var LineChartBase = /** @class */ (function (_super) {
246
246
  index = i - 1;
247
247
  }
248
248
  else {
249
- axisType = index_3.getTypeOfAxis(lineChartData[linenumber].data[0].x, true);
249
+ axisType = (0, index_3.getTypeOfAxis)(lineChartData[linenumber].data[0].x, true);
250
250
  var x0 = void 0;
251
251
  var point0 = void 0;
252
252
  var point1 = void 0;
@@ -273,7 +273,7 @@ var LineChartBase = /** @class */ (function (_super) {
273
273
  var formattedDate = xPointToHighlight instanceof Date ? xPointToHighlight.toLocaleString() : xPointToHighlight;
274
274
  var modifiedXVal = xPointToHighlight instanceof Date ? xPointToHighlight.getTime() : xPointToHighlight;
275
275
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
276
- var found = Utilities_1.find(_this_1._calloutPoints, function (element) {
276
+ var found = (0, Utilities_1.find)(_this_1._calloutPoints, function (element) {
277
277
  return element.x === modifiedXVal;
278
278
  });
279
279
  var pointToHighlight = lineChartData[linenumber].data[index];
@@ -284,19 +284,19 @@ var LineChartBase = /** @class */ (function (_super) {
284
284
  _this_1.state.nearestCircleToHighlight.y !== pointToHighlight.y));
285
285
  // if no points need to be called out then don't show vertical line and callout card
286
286
  if (found && pointToHighlightUpdated) {
287
- _this_1._uniqueCallOutID = "#" + _this_1._staticHighlightCircle + "_" + linenumber;
288
- d3_selection_1.select("#" + _this_1._staticHighlightCircle + "_" + linenumber)
289
- .attr('cx', "" + _this_1._xAxisScale(pointToHighlight.x))
290
- .attr('cy', "" + _this_1._yAxisScale(pointToHighlight.y))
287
+ _this_1._uniqueCallOutID = "#".concat(_this_1._staticHighlightCircle, "_").concat(linenumber);
288
+ (0, d3_selection_1.select)("#".concat(_this_1._staticHighlightCircle, "_").concat(linenumber))
289
+ .attr('cx', "".concat(_this_1._xAxisScale(pointToHighlight.x)))
290
+ .attr('cy', "".concat(_this_1._yAxisScale(pointToHighlight.y)))
291
291
  .attr('visibility', 'visibility');
292
- d3_selection_1.select("#" + _this_1._verticalLine)
293
- .attr('transform', function () { return "translate(" + _this_1._xAxisScale(pointToHighlight.x) + ", " + _this_1._yAxisScale(pointToHighlight.y) + ")"; })
292
+ (0, d3_selection_1.select)("#".concat(_this_1._verticalLine))
293
+ .attr('transform', function () { return "translate(".concat(_this_1._xAxisScale(pointToHighlight.x), ", ").concat(_this_1._yAxisScale(pointToHighlight.y), ")"); })
294
294
  .attr('visibility', 'visibility')
295
- .attr('y2', "" + (lineHeight - _this_1._yAxisScale(pointToHighlight.y)));
295
+ .attr('y2', "".concat(lineHeight - _this_1._yAxisScale(pointToHighlight.y)));
296
296
  _this_1.setState({
297
297
  nearestCircleToHighlight: pointToHighlight,
298
298
  isCalloutVisible: true,
299
- refSelected: "#" + _this_1._staticHighlightCircle + "_" + linenumber,
299
+ refSelected: "#".concat(_this_1._staticHighlightCircle, "_").concat(linenumber),
300
300
  stackCalloutProps: found,
301
301
  YValueHover: found.values,
302
302
  dataPointCalloutProps: found,
@@ -319,12 +319,12 @@ var LineChartBase = /** @class */ (function (_super) {
319
319
  _this_1._uniqueCallOutID = circleId;
320
320
  var formattedData = x instanceof Date ? x.toLocaleDateString() : x;
321
321
  var xVal = x instanceof Date ? x.getTime() : x;
322
- var found = Utilities_1.find(_this_1._calloutPoints, function (element) { return element.x === xVal; });
322
+ var found = (0, Utilities_1.find)(_this_1._calloutPoints, function (element) { return element.x === xVal; });
323
323
  // if no points need to be called out then don't show vertical line and callout card
324
324
  if (found) {
325
325
  var _this_2 = _this_1;
326
- d3_selection_1.select("#" + _this_1._verticalLine)
327
- .attr('transform', function () { return "translate(" + _this_2._xAxisScale(x) + ", 0)"; })
326
+ (0, d3_selection_1.select)("#".concat(_this_1._verticalLine))
327
+ .attr('transform', function () { return "translate(".concat(_this_2._xAxisScale(x), ", 0)"); })
328
328
  .attr('visibility', 'visibility');
329
329
  _this_1._refArray.forEach(function (obj) {
330
330
  if (obj.index === lineId) {
@@ -352,18 +352,18 @@ var LineChartBase = /** @class */ (function (_super) {
352
352
  var formattedData = x instanceof Date ? x.toLocaleDateString() : x;
353
353
  var xVal = x instanceof Date ? x.getTime() : x;
354
354
  var _this = _this_1;
355
- var found = Utilities_1.find(_this_1._calloutPoints, function (element) { return element.x === xVal; });
355
+ var found = (0, Utilities_1.find)(_this_1._calloutPoints, function (element) { return element.x === xVal; });
356
356
  // if no points need to be called out then don't show vertical line and callout card
357
357
  if (found) {
358
- d3_selection_1.select("#" + _this_1._verticalLine)
359
- .attr('transform', function () { return "translate(" + _this._xAxisScale(x) + ", " + _this._yAxisScale(y) + ")"; })
358
+ (0, d3_selection_1.select)("#".concat(_this_1._verticalLine))
359
+ .attr('transform', function () { return "translate(".concat(_this._xAxisScale(x), ", ").concat(_this._yAxisScale(y), ")"); })
360
360
  .attr('visibility', 'visibility')
361
- .attr('y2', "" + (lineHeight - _this._yAxisScale(y)));
361
+ .attr('y2', "".concat(lineHeight - _this._yAxisScale(y)));
362
362
  if (_this_1._uniqueCallOutID !== circleId) {
363
363
  _this_1._uniqueCallOutID = circleId;
364
364
  _this_1.setState({
365
365
  isCalloutVisible: true,
366
- refSelected: "#" + circleId,
366
+ refSelected: "#".concat(circleId),
367
367
  hoverXValue: xAxisCalloutData ? xAxisCalloutData : '' + formattedData,
368
368
  YValueHover: found.values,
369
369
  stackCalloutProps: found,
@@ -396,7 +396,7 @@ var LineChartBase = /** @class */ (function (_super) {
396
396
  return {};
397
397
  };
398
398
  _this_1._handleMouseOut = function () {
399
- d3_selection_1.select("#" + _this_1._verticalLine).attr('visibility', 'hidden');
399
+ (0, d3_selection_1.select)("#".concat(_this_1._verticalLine)).attr('visibility', 'hidden');
400
400
  };
401
401
  _this_1._handleChartMouseLeave = function () {
402
402
  _this_1._uniqueCallOutID = null;
@@ -422,7 +422,7 @@ var LineChartBase = /** @class */ (function (_super) {
422
422
  }, -1);
423
423
  var selectedLines;
424
424
  if (selectedLineIndex === -1) {
425
- selectedLines = tslib_1.__spreadArray(tslib_1.__spreadArray([], _this_1.state.selectedLegendPoints), [selectedLine]);
425
+ selectedLines = (0, tslib_1.__spreadArray)((0, tslib_1.__spreadArray)([], _this_1.state.selectedLegendPoints, true), [selectedLine], false);
426
426
  }
427
427
  else {
428
428
  selectedLines = _this_1.state.selectedLegendPoints
@@ -462,7 +462,7 @@ var LineChartBase = /** @class */ (function (_super) {
462
462
  }, -1);
463
463
  var selectedColorFillBars;
464
464
  if (selectedColorFillBarIndex === -1) {
465
- selectedColorFillBars = tslib_1.__spreadArray(tslib_1.__spreadArray([], _this_1.state.selectedColorBarLegend), [selectedColorFillBar]);
465
+ selectedColorFillBars = (0, tslib_1.__spreadArray)((0, tslib_1.__spreadArray)([], _this_1.state.selectedColorBarLegend, true), [selectedColorFillBar], false);
466
466
  }
467
467
  else {
468
468
  selectedColorFillBars = _this_1.state.selectedColorBarLegend
@@ -524,7 +524,7 @@ var LineChartBase = /** @class */ (function (_super) {
524
524
  var xValue = point.xAxisCalloutData || formattedDate;
525
525
  var legend = line.legend;
526
526
  var yValue = point.yAxisCalloutData || point.y;
527
- return ((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) || xValue + ". " + legend + ", " + yValue + ".";
527
+ return ((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) || "".concat(xValue, ". ").concat(legend, ", ").concat(yValue, ".");
528
528
  };
529
529
  _this_1.state = {
530
530
  hoverXValue: '',
@@ -543,15 +543,15 @@ var LineChartBase = /** @class */ (function (_super) {
543
543
  _this_1._refArray = [];
544
544
  _this_1._points = _this_1._injectIndexPropertyInLineChartData(_this_1.props.data.lineChartData);
545
545
  _this_1._colorFillBars = [];
546
- _this_1._calloutPoints = index_3.calloutData(_this_1._points) || [];
547
- _this_1._circleId = Utilities_1.getId('circle');
548
- _this_1._lineId = Utilities_1.getId('lineID');
549
- _this_1._borderId = Utilities_1.getId('borderID');
550
- _this_1._verticalLine = Utilities_1.getId('verticalLine');
551
- _this_1._colorFillBarPatternId = Utilities_1.getId('colorFillBarPattern');
552
- _this_1._tooltipId = Utilities_1.getId('LineChartTooltipId_');
553
- _this_1._rectId = Utilities_1.getId('containerRectLD');
554
- _this_1._staticHighlightCircle = Utilities_1.getId('staticHighlightCircle');
546
+ _this_1._calloutPoints = (0, index_3.calloutData)(_this_1._points) || [];
547
+ _this_1._circleId = (0, Utilities_1.getId)('circle');
548
+ _this_1._lineId = (0, Utilities_1.getId)('lineID');
549
+ _this_1._borderId = (0, Utilities_1.getId)('borderID');
550
+ _this_1._verticalLine = (0, Utilities_1.getId)('verticalLine');
551
+ _this_1._colorFillBarPatternId = (0, Utilities_1.getId)('colorFillBarPattern');
552
+ _this_1._tooltipId = (0, Utilities_1.getId)('LineChartTooltipId_');
553
+ _this_1._rectId = (0, Utilities_1.getId)('containerRectLD');
554
+ _this_1._staticHighlightCircle = (0, Utilities_1.getId)('staticHighlightCircle');
555
555
  props.eventAnnotationProps &&
556
556
  props.eventAnnotationProps.labelHeight &&
557
557
  (_this_1.eventLabelHeight = props.eventAnnotationProps.labelHeight);
@@ -565,28 +565,28 @@ var LineChartBase = /** @class */ (function (_super) {
565
565
  prevProps.width !== this.props.width ||
566
566
  prevProps.data !== this.props.data) {
567
567
  this._points = this._injectIndexPropertyInLineChartData(this.props.data.lineChartData);
568
- this._calloutPoints = index_3.calloutData(this._points) || [];
568
+ this._calloutPoints = (0, index_3.calloutData)(this._points) || [];
569
569
  }
570
570
  };
571
571
  LineChartBase.prototype.render = function () {
572
572
  var _this_1 = this;
573
573
  var _a = this.props, tickValues = _a.tickValues, tickFormat = _a.tickFormat, eventAnnotationProps = _a.eventAnnotationProps, legendProps = _a.legendProps, data = _a.data;
574
574
  this._points = this._injectIndexPropertyInLineChartData(data.lineChartData);
575
- var isXAxisDateType = index_3.getXAxisType(this._points);
575
+ var isXAxisDateType = (0, index_3.getXAxisType)(this._points);
576
576
  var points = this._points;
577
577
  if (legendProps && !!legendProps.canSelectMultipleLegends) {
578
578
  points = this.state.selectedLegendPoints.length >= 1 ? this.state.selectedLegendPoints : this._points;
579
- this._calloutPoints = index_3.calloutData(points);
579
+ this._calloutPoints = (0, index_3.calloutData)(points);
580
580
  }
581
581
  var legendBars = this._createLegends(this._points);
582
- var calloutProps = tslib_1.__assign({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: Callout_1.DirectionalHint.topAutoEdge, YValueHover: this.state.YValueHover, hoverXValue: this.state.hoverXValue, id: "toolTip" + this._uniqueCallOutID, target: this.state.refSelected, isBeakVisible: false, gapSpace: 15, onDismiss: this._closeCallout, preventDismissOnEvent: function () { return true; }, hidden: !(!this.props.hideTooltip && this.state.isCalloutVisible), descriptionMessage: this.props.getCalloutDescriptionMessage && this.state.stackCalloutProps
582
+ var calloutProps = (0, tslib_1.__assign)({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: Callout_1.DirectionalHint.topAutoEdge, YValueHover: this.state.YValueHover, hoverXValue: this.state.hoverXValue, id: "toolTip".concat(this._uniqueCallOutID), target: this.state.refSelected, isBeakVisible: false, gapSpace: 15, onDismiss: this._closeCallout, preventDismissOnEvent: function () { return true; }, hidden: !(!this.props.hideTooltip && this.state.isCalloutVisible), descriptionMessage: this.props.getCalloutDescriptionMessage && this.state.stackCalloutProps
583
583
  ? this.props.getCalloutDescriptionMessage(this.state.stackCalloutProps)
584
584
  : undefined, 'data-is-focusable': true, xAxisCalloutAccessibilityData: this.state.xAxisCalloutAccessibilityData }, this.props.calloutProps);
585
585
  var tickParams = {
586
586
  tickValues: tickValues,
587
587
  tickFormat: tickFormat,
588
588
  };
589
- return (React.createElement(index_2.CartesianChart, tslib_1.__assign({}, this.props, { chartTitle: data.chartTitle, points: points, chartType: index_3.ChartTypes.LineChart, isCalloutForStack: true, calloutProps: calloutProps, tickParams: tickParams, legendBars: legendBars, getmargins: this._getMargins, getGraphData: this._initializeLineChartData, xAxisType: isXAxisDateType ? index_3.XAxisTypes.DateAxis : index_3.XAxisTypes.NumericAxis, customizedCallout: this._getCustomizedCallout(), onChartMouseLeave: this._handleChartMouseLeave,
589
+ return (React.createElement(index_2.CartesianChart, (0, tslib_1.__assign)({}, this.props, { chartTitle: data.chartTitle, points: points, chartType: index_3.ChartTypes.LineChart, isCalloutForStack: true, calloutProps: calloutProps, tickParams: tickParams, legendBars: legendBars, getmargins: this._getMargins, getGraphData: this._initializeLineChartData, xAxisType: isXAxisDateType ? index_3.XAxisTypes.DateAxis : index_3.XAxisTypes.NumericAxis, customizedCallout: this._getCustomizedCallout(), onChartMouseLeave: this._handleChartMouseLeave,
590
590
  /* eslint-disable react/jsx-no-bind */
591
591
  // eslint-disable-next-line react/no-children-prop
592
592
  children: function (props) {
@@ -599,7 +599,7 @@ var LineChartBase = /** @class */ (function (_super) {
599
599
  React.createElement("g", null,
600
600
  _this_1._renderedColorFillBars,
601
601
  _this_1.lines),
602
- eventAnnotationProps && (React.createElement(EventAnnotation_1.EventsAnnotation, tslib_1.__assign({}, eventAnnotationProps, { scale: props.xScale, chartYTop: _this_1.margins.top + _this_1.eventLabelHeight, chartYBottom: props.containerHeight - 35 }))))));
602
+ eventAnnotationProps && (React.createElement(EventAnnotation_1.EventsAnnotation, (0, tslib_1.__assign)({}, eventAnnotationProps, { scale: props.xScale, chartYTop: _this_1.margins.top + _this_1.eventLabelHeight, chartYBottom: props.containerHeight - 35 }))))));
603
603
  } })));
604
604
  };
605
605
  LineChartBase.prototype._createLegends = function (data) {
@@ -609,7 +609,7 @@ var LineChartBase = /** @class */ (function (_super) {
609
609
  var legendDataItems = data.map(function (point) {
610
610
  var color = point.color;
611
611
  // mapping data to the format Legends component needs
612
- var legend = tslib_1.__assign(tslib_1.__assign({ title: point.legend, color: color, action: function () {
612
+ var legend = (0, tslib_1.__assign)((0, tslib_1.__assign)({ title: point.legend, color: color, action: function () {
613
613
  if (isLegendMultiSelectEnabled) {
614
614
  _this_1._handleMultipleLineLegendSelectionAction(point);
615
615
  }
@@ -633,7 +633,7 @@ var LineChartBase = /** @class */ (function (_super) {
633
633
  var _a;
634
634
  var title = colorFillBar.legend;
635
635
  // isInverted property is applicable to v8 themes only
636
- var color = index_3.getColorFromToken(colorFillBar.color, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
636
+ var color = (0, index_3.getColorFromToken)(colorFillBar.color, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
637
637
  var legend = {
638
638
  title: title,
639
639
  color: color,
@@ -658,7 +658,7 @@ var LineChartBase = /** @class */ (function (_super) {
658
658
  return legend;
659
659
  })
660
660
  : [];
661
- var legends = (React.createElement(index_1.Legends, tslib_1.__assign({ legends: tslib_1.__spreadArray(tslib_1.__spreadArray([], legendDataItems), colorFillBarsLegendDataItems), enabledWrapLines: this.props.enabledLegendsWrapLines, overflowProps: this.props.legendsOverflowProps, focusZonePropsInHoverCard: this.props.focusZonePropsForLegendsInHoverCard, overflowText: this.props.legendsOverflowText }, (isLegendMultiSelectEnabled && { onLegendHoverCardLeave: this._onHoverCardHide }), this.props.legendProps)));
661
+ var legends = (React.createElement(index_1.Legends, (0, tslib_1.__assign)({ legends: (0, tslib_1.__spreadArray)((0, tslib_1.__spreadArray)([], legendDataItems, true), colorFillBarsLegendDataItems, true), enabledWrapLines: this.props.enabledLegendsWrapLines, overflowProps: this.props.legendsOverflowProps, focusZonePropsInHoverCard: this.props.focusZonePropsForLegendsInHoverCard, overflowText: this.props.legendsOverflowText }, (isLegendMultiSelectEnabled && { onLegendHoverCardLeave: this._onHoverCardHide }), this.props.legendProps)));
662
662
  return legends;
663
663
  };
664
664
  LineChartBase.prototype._createLines = function (xElement, containerHeight) {
@@ -682,8 +682,8 @@ var LineChartBase = /** @class */ (function (_super) {
682
682
  var verticaLineHeight = containerHeight - this_1.margins.bottom + 6;
683
683
  if (this_1._points[i].data.length === 1) {
684
684
  var _0 = this_1._points[i].data[0], x1_1 = _0.x, y1 = _0.y, xAxisCalloutData_1 = _0.xAxisCalloutData, xAxisCalloutAccessibilityData_1 = _0.xAxisCalloutAccessibilityData;
685
- var circleId_1 = this_1._circleId + "_" + i;
686
- pointsForLine.push(React.createElement("circle", tslib_1.__assign({ id: circleId_1, key: circleId_1, r: activePoint === circleId_1 ? 5.5 : 3.5, cx: this_1._xAxisScale(x1_1), cy: this_1._yAxisScale(y1), fill: activePoint === circleId_1 ? theme.palette.white : lineColor, onMouseOver: this_1._handleHover.bind(this_1, x1_1, y1, verticaLineHeight, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x1_1, y1, verticaLineHeight, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, strokeWidth: activePoint === circleId_1 ? DEFAULT_LINE_STROKE_SIZE : 0, stroke: activePoint === circleId_1 ? lineColor : '', role: "img", "aria-label": this_1._getAriaLabel(i, 0), "data-is-focusable": true, ref: function (e) {
685
+ var circleId_1 = "".concat(this_1._circleId, "_").concat(i);
686
+ pointsForLine.push(React.createElement("circle", (0, tslib_1.__assign)({ id: circleId_1, key: circleId_1, r: activePoint === circleId_1 ? 5.5 : 3.5, cx: this_1._xAxisScale(x1_1), cy: this_1._yAxisScale(y1), fill: activePoint === circleId_1 ? theme.palette.white : lineColor, onMouseOver: this_1._handleHover.bind(this_1, x1_1, y1, verticaLineHeight, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x1_1, y1, verticaLineHeight, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, strokeWidth: activePoint === circleId_1 ? DEFAULT_LINE_STROKE_SIZE : 0, stroke: activePoint === circleId_1 ? lineColor : '', role: "img", "aria-label": this_1._getAriaLabel(i, 0), "data-is-focusable": true, ref: function (e) {
687
687
  _this_1._refCallback(e, circleId_1);
688
688
  }, onFocus: function () { return _this_1._handleFocus(circleId_1, x1_1, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1); }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[0].onDataPointClick))));
689
689
  }
@@ -691,14 +691,14 @@ var LineChartBase = /** @class */ (function (_super) {
691
691
  var gaps = (_b = (_a = this_1._points[i].gaps) === null || _a === void 0 ? void 0 : _a.sort(function (a, b) { return a.startIndex - b.startIndex; })) !== null && _b !== void 0 ? _b : [];
692
692
  // Use path rendering technique for larger datasets to optimize performance.
693
693
  if (this_1.props.optimizeLargeData && this_1._points[i].data.length > 1) {
694
- var line = d3_shape_1.line()
694
+ var line = (0, d3_shape_1.line)()
695
695
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
696
696
  .x(function (d) { return _this_1._xAxisScale(d[0]); })
697
697
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
698
698
  .y(function (d) { return _this_1._yAxisScale(d[1]); })
699
699
  .curve(d3_shape_1.curveLinear);
700
- var lineId = this_1._lineId + "_" + i;
701
- var borderId = this_1._borderId + "_" + i;
700
+ var lineId = "".concat(this_1._lineId, "_").concat(i);
701
+ var borderId = "".concat(this_1._borderId, "_").concat(i);
702
702
  var strokeWidth = ((_c = this_1._points[i].lineOptions) === null || _c === void 0 ? void 0 : _c.strokeWidth) || this_1.props.strokeWidth || DEFAULT_LINE_STROKE_SIZE;
703
703
  var isLegendSelected = this_1._legendHighlighted(legendVal) || this_1._noLegendHighlighted() || this_1.state.isSelectedLegend;
704
704
  var lineData = [];
@@ -717,36 +717,36 @@ var LineChartBase = /** @class */ (function (_super) {
717
717
  if (lineBorderWidth > 0) {
718
718
  bordersForLine.push(React.createElement("path", { id: borderId, key: borderId, d: line(lineData), fill: "transparent", strokeLinecap: (_f = (_e = this_1._points[i].lineOptions) === null || _e === void 0 ? void 0 : _e.strokeLinecap) !== null && _f !== void 0 ? _f : 'round', strokeWidth: Number.parseFloat(strokeWidth.toString()) + lineBorderWidth, stroke: ((_g = this_1._points[i].lineOptions) === null || _g === void 0 ? void 0 : _g.lineBorderColor) || theme.palette.white, opacity: 1 }));
719
719
  }
720
- linesForLine.push(React.createElement("path", tslib_1.__assign({ id: lineId, key: lineId, d: line(lineData), fill: "transparent", "data-is-focusable": true, stroke: lineColor, strokeWidth: strokeWidth, strokeLinecap: (_j = (_h = this_1._points[i].lineOptions) === null || _h === void 0 ? void 0 : _h.strokeLinecap) !== null && _j !== void 0 ? _j : 'round', onMouseMove: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOver: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOut: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].onLineClick), { opacity: 1, role: "img", "aria-label": legendVal + ", series " + (i + 1) + " of " + this_1._points.length + " with " + this_1._points[i].data.length + " data points." })));
720
+ linesForLine.push(React.createElement("path", (0, tslib_1.__assign)({ id: lineId, key: lineId, d: line(lineData), fill: "transparent", "data-is-focusable": true, stroke: lineColor, strokeWidth: strokeWidth, strokeLinecap: (_j = (_h = this_1._points[i].lineOptions) === null || _h === void 0 ? void 0 : _h.strokeLinecap) !== null && _j !== void 0 ? _j : 'round', onMouseMove: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOver: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOut: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].onLineClick), { opacity: 1, role: "img", "aria-label": "".concat(legendVal, ", series ").concat(i + 1, " of ").concat(this_1._points.length, " with ").concat(this_1._points[i].data.length, " data points.") })));
721
721
  }
722
722
  else {
723
- linesForLine.push(React.createElement("path", { id: lineId, key: lineId, d: line(lineData), fill: "transparent", "data-is-focusable": true, stroke: lineColor, strokeWidth: strokeWidth, strokeLinecap: (_l = (_k = this_1._points[i].lineOptions) === null || _k === void 0 ? void 0 : _k.strokeLinecap) !== null && _l !== void 0 ? _l : 'round', opacity: 0.1, role: "img", "aria-label": legendVal + ", series " + (i + 1) + " of " + this_1._points.length + " with " + this_1._points[i].data.length + " data points." }));
723
+ linesForLine.push(React.createElement("path", { id: lineId, key: lineId, d: line(lineData), fill: "transparent", "data-is-focusable": true, stroke: lineColor, strokeWidth: strokeWidth, strokeLinecap: (_l = (_k = this_1._points[i].lineOptions) === null || _k === void 0 ? void 0 : _k.strokeLinecap) !== null && _l !== void 0 ? _l : 'round', opacity: 0.1, role: "img", "aria-label": "".concat(legendVal, ", series ").concat(i + 1, " of ").concat(this_1._points.length, " with ").concat(this_1._points[i].data.length, " data points.") }));
724
724
  }
725
725
  var isPointHighlighted = this_1.state.activeLine !== null && this_1.state.activeLine === i;
726
- pointsForLine.push(React.createElement("circle", { id: this_1._staticHighlightCircle + "_" + i, key: this_1._staticHighlightCircle + "_" + i, r: 5.5, cx: 0, cy: 0, fill: theme.palette.white, strokeWidth: DEFAULT_LINE_STROKE_SIZE, stroke: lineColor, visibility: isPointHighlighted ? 'visibility' : 'hidden', onMouseMove: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOver: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOut: this_1._handleMouseOut }));
726
+ pointsForLine.push(React.createElement("circle", { id: "".concat(this_1._staticHighlightCircle, "_").concat(i), key: "".concat(this_1._staticHighlightCircle, "_").concat(i), r: 5.5, cx: 0, cy: 0, fill: theme.palette.white, strokeWidth: DEFAULT_LINE_STROKE_SIZE, stroke: lineColor, visibility: isPointHighlighted ? 'visibility' : 'hidden', onMouseMove: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOver: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOut: this_1._handleMouseOut }));
727
727
  }
728
728
  else if (!this_1.props.optimizeLargeData) {
729
729
  var _loop_2 = function (j) {
730
730
  var gapResult = this_1._checkInGap(j, gaps, gapIndex);
731
731
  var isInGap = gapResult.isInGap;
732
732
  gapIndex = gapResult.gapIndex;
733
- var lineId = this_1._lineId + "_" + i + "_" + j;
734
- var borderId = this_1._borderId + "_" + i + "_" + j;
735
- var circleId = this_1._circleId + "_" + i + "_" + j;
733
+ var lineId = "".concat(this_1._lineId, "_").concat(i, "_").concat(j);
734
+ var borderId = "".concat(this_1._borderId, "_").concat(i, "_").concat(j);
735
+ var circleId = "".concat(this_1._circleId, "_").concat(i, "_").concat(j);
736
736
  var _1 = this_1._points[i].data[j - 1], x1 = _1.x, y1 = _1.y, xAxisCalloutData = _1.xAxisCalloutData, xAxisCalloutAccessibilityData = _1.xAxisCalloutAccessibilityData;
737
737
  var _2 = this_1._points[i].data[j], x2 = _2.x, y2 = _2.y;
738
738
  var path = this_1._getPath(this_1._xAxisScale(x1), this_1._yAxisScale(y1), circleId, j, false, this_1._points[i].index);
739
739
  var strokeWidth = ((_m = this_1._points[i].lineOptions) === null || _m === void 0 ? void 0 : _m.strokeWidth) || this_1.props.strokeWidth || DEFAULT_LINE_STROKE_SIZE;
740
740
  var isLegendSelected = this_1._legendHighlighted(legendVal) || this_1._noLegendHighlighted() || this_1.state.isSelectedLegend;
741
741
  var currentPointHidden = this_1._points[i].hideNonActiveDots && activePoint !== circleId;
742
- pointsForLine.push(React.createElement("path", tslib_1.__assign({ id: circleId, key: circleId, d: path, "data-is-focusable": true, onMouseOver: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this_1._handleMouseOut, onFocus: function () { return _this_1._handleFocus(lineId, x1, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData); }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[j - 1].onDataPointClick), { opacity: isLegendSelected && !currentPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, circleId, j, false), stroke: lineColor, strokeWidth: strokeWidth, role: "img", "aria-label": this_1._getAriaLabel(i, j - 1) })));
742
+ pointsForLine.push(React.createElement("path", (0, tslib_1.__assign)({ id: circleId, key: circleId, d: path, "data-is-focusable": true, onMouseOver: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this_1._handleMouseOut, onFocus: function () { return _this_1._handleFocus(lineId, x1, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData); }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[j - 1].onDataPointClick), { opacity: isLegendSelected && !currentPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, circleId, j, false), stroke: lineColor, strokeWidth: strokeWidth, role: "img", "aria-label": this_1._getAriaLabel(i, j - 1) })));
743
743
  if (j + 1 === this_1._points[i].data.length) {
744
744
  // If this is last point of the line segment.
745
- var lastCircleId_1 = "" + circleId + j + "L";
745
+ var lastCircleId_1 = "".concat(circleId).concat(j, "L");
746
746
  var lastPointHidden = this_1._points[i].hideNonActiveDots && activePoint !== lastCircleId_1;
747
747
  path = this_1._getPath(this_1._xAxisScale(x2), this_1._yAxisScale(y2), lastCircleId_1, j, true, this_1._points[i].index);
748
748
  var _3 = this_1._points[i].data[j], lastCirlceXCallout_1 = _3.xAxisCalloutData, lastCirlceXCalloutAccessibilityData_1 = _3.xAxisCalloutAccessibilityData;
749
- pointsForLine.push(React.createElement("path", tslib_1.__assign({ id: lastCircleId_1, key: lastCircleId_1, d: path, "data-is-focusable": true, onMouseOver: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, onFocus: function () {
749
+ pointsForLine.push(React.createElement("path", (0, tslib_1.__assign)({ id: lastCircleId_1, key: lastCircleId_1, d: path, "data-is-focusable": true, onMouseOver: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, onFocus: function () {
750
750
  return _this_1._handleFocus(lineId, x2, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1);
751
751
  }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[j].onDataPointClick), { opacity: isLegendSelected && !lastPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, lastCircleId_1, j, true), stroke: lineColor, strokeWidth: strokeWidth, role: "img", "aria-label": this_1._getAriaLabel(i, j) })));
752
752
  /* eslint-enable react/jsx-no-bind */
@@ -760,7 +760,7 @@ var LineChartBase = /** @class */ (function (_super) {
760
760
  if (lineBorderWidth > 0) {
761
761
  bordersForLine.push(React.createElement("line", { id: borderId, key: borderId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeLinecap: (_q = (_p = this_1._points[i].lineOptions) === null || _p === void 0 ? void 0 : _p.strokeLinecap) !== null && _q !== void 0 ? _q : 'round', strokeWidth: Number.parseFloat(strokeWidth.toString()) + lineBorderWidth, stroke: ((_r = this_1._points[i].lineOptions) === null || _r === void 0 ? void 0 : _r.lineBorderColor) || theme.palette.white, opacity: 1 }));
762
762
  }
763
- linesForLine.push(React.createElement("line", tslib_1.__assign({ id: lineId, key: lineId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeWidth: strokeWidth, ref: function (e) {
763
+ linesForLine.push(React.createElement("line", (0, tslib_1.__assign)({ id: lineId, key: lineId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeWidth: strokeWidth, ref: function (e) {
764
764
  _this_1._refCallback(e, lineId);
765
765
  }, onMouseOver: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this_1._handleMouseOut, stroke: lineColor, strokeLinecap: (_t = (_s = this_1._points[i].lineOptions) === null || _s === void 0 ? void 0 : _s.strokeLinecap) !== null && _t !== void 0 ? _t : 'round', strokeDasharray: (_u = this_1._points[i].lineOptions) === null || _u === void 0 ? void 0 : _u.strokeDasharray, strokeDashoffset: (_v = this_1._points[i].lineOptions) === null || _v === void 0 ? void 0 : _v.strokeDashoffset, opacity: 1 }, this_1._getClickHandler(this_1._points[i].onLineClick))));
766
766
  }
@@ -775,7 +775,7 @@ var LineChartBase = /** @class */ (function (_super) {
775
775
  _loop_2(j);
776
776
  }
777
777
  }
778
- lines.push.apply(lines, tslib_1.__spreadArray(tslib_1.__spreadArray(tslib_1.__spreadArray([], bordersForLine), linesForLine), pointsForLine));
778
+ lines.push.apply(lines, (0, tslib_1.__spreadArray)((0, tslib_1.__spreadArray)((0, tslib_1.__spreadArray)([], bordersForLine, false), linesForLine, false), pointsForLine, false));
779
779
  };
780
780
  var this_1 = this;
781
781
  for (var i = this._points.length - 1; i >= 0; i--) {
@@ -794,7 +794,7 @@ var LineChartBase = /** @class */ (function (_super) {
794
794
  }
795
795
  // Used to display tooltip at x axis labels.
796
796
  if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
797
- var xAxisElement = d3_selection_1.select(xElement).call(this._xAxisScale);
797
+ var xAxisElement = (0, d3_selection_1.select)(xElement).call(this._xAxisScale);
798
798
  try {
799
799
  document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
800
800
  // eslint-disable-next-line no-empty
@@ -805,7 +805,7 @@ var LineChartBase = /** @class */ (function (_super) {
805
805
  id: this._tooltipId,
806
806
  xAxis: xAxisElement,
807
807
  };
808
- xAxisElement && index_3.tooltipOfXAxislabels(tooltipProps);
808
+ xAxisElement && (0, index_3.tooltipOfXAxislabels)(tooltipProps);
809
809
  }
810
810
  return lines;
811
811
  };