@kubit-ui-web/react-charts 0.1.0

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 (1407) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +368 -0
  3. package/dist/cjs/charts/barChart/barChart.d.ts +9 -0
  4. package/dist/cjs/charts/barChart/barChart.d.ts.map +1 -0
  5. package/dist/cjs/charts/barChart/barChart.js +30 -0
  6. package/dist/cjs/charts/barChart/barChart.type.d.ts +116 -0
  7. package/dist/cjs/charts/barChart/barChart.type.d.ts.map +1 -0
  8. package/dist/cjs/charts/barChart/barChart.type.js +2 -0
  9. package/dist/cjs/charts/barChart/barChartStructure.d.ts +3 -0
  10. package/dist/cjs/charts/barChart/barChartStructure.d.ts.map +1 -0
  11. package/dist/cjs/charts/barChart/barChartStructure.js +68 -0
  12. package/dist/cjs/charts/barChart/context/barChartContext.d.ts +3 -0
  13. package/dist/cjs/charts/barChart/context/barChartContext.d.ts.map +1 -0
  14. package/dist/cjs/charts/barChart/context/barChartContext.js +5 -0
  15. package/dist/cjs/charts/barChart/context/buildBarContextValues.d.ts +24 -0
  16. package/dist/cjs/charts/barChart/context/buildBarContextValues.d.ts.map +1 -0
  17. package/dist/cjs/charts/barChart/context/buildBarContextValues.js +105 -0
  18. package/dist/cjs/charts/barChart/fragments/barChartPath.d.ts +3 -0
  19. package/dist/cjs/charts/barChart/fragments/barChartPath.d.ts.map +1 -0
  20. package/dist/cjs/charts/barChart/fragments/barChartPath.js +36 -0
  21. package/dist/cjs/charts/barChart/fragments/barChartSeparator.d.ts +4 -0
  22. package/dist/cjs/charts/barChart/fragments/barChartSeparator.d.ts.map +1 -0
  23. package/dist/cjs/charts/barChart/fragments/barChartSeparator.js +26 -0
  24. package/dist/cjs/charts/barChart/fragments/barChartXAxis.d.ts +4 -0
  25. package/dist/cjs/charts/barChart/fragments/barChartXAxis.d.ts.map +1 -0
  26. package/dist/cjs/charts/barChart/fragments/barChartXAxis.js +31 -0
  27. package/dist/cjs/charts/barChart/fragments/barChartYAxis.d.ts +4 -0
  28. package/dist/cjs/charts/barChart/fragments/barChartYAxis.d.ts.map +1 -0
  29. package/dist/cjs/charts/barChart/fragments/barChartYAxis.js +24 -0
  30. package/dist/cjs/charts/barChart/fragments/fixture/barContextData.d.ts +3 -0
  31. package/dist/cjs/charts/barChart/fragments/fixture/barContextData.d.ts.map +1 -0
  32. package/dist/cjs/charts/barChart/fragments/fixture/barContextData.js +44 -0
  33. package/dist/cjs/charts/barChart/fragments/fixture/index.d.ts +2 -0
  34. package/dist/cjs/charts/barChart/fragments/fixture/index.d.ts.map +1 -0
  35. package/dist/cjs/charts/barChart/fragments/fixture/index.js +5 -0
  36. package/dist/cjs/charts/barChart/index.d.ts +2 -0
  37. package/dist/cjs/charts/barChart/index.d.ts.map +1 -0
  38. package/dist/cjs/charts/barChart/index.js +17 -0
  39. package/dist/cjs/charts/barChart/utils/countBarChildren.d.ts +3 -0
  40. package/dist/cjs/charts/barChart/utils/countBarChildren.d.ts.map +1 -0
  41. package/dist/cjs/charts/barChart/utils/countBarChildren.js +15 -0
  42. package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.d.ts +17 -0
  43. package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +1 -0
  44. package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.js +120 -0
  45. package/dist/cjs/charts/barChart/utils/getBarDataValue.d.ts +8 -0
  46. package/dist/cjs/charts/barChart/utils/getBarDataValue.d.ts.map +1 -0
  47. package/dist/cjs/charts/barChart/utils/getBarDataValue.js +23 -0
  48. package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.d.ts +9 -0
  49. package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +1 -0
  50. package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.js +15 -0
  51. package/dist/cjs/charts/index.d.ts +4 -0
  52. package/dist/cjs/charts/index.d.ts.map +1 -0
  53. package/dist/cjs/charts/index.js +19 -0
  54. package/dist/cjs/charts/lineChart/context/buildLineContextValue.d.ts +21 -0
  55. package/dist/cjs/charts/lineChart/context/buildLineContextValue.d.ts.map +1 -0
  56. package/dist/cjs/charts/lineChart/context/buildLineContextValue.js +138 -0
  57. package/dist/cjs/charts/lineChart/context/index.d.ts +3 -0
  58. package/dist/cjs/charts/lineChart/context/index.d.ts.map +1 -0
  59. package/dist/cjs/charts/lineChart/context/index.js +7 -0
  60. package/dist/cjs/charts/lineChart/context/lineChartContext.d.ts +3 -0
  61. package/dist/cjs/charts/lineChart/context/lineChartContext.d.ts.map +1 -0
  62. package/dist/cjs/charts/lineChart/context/lineChartContext.js +5 -0
  63. package/dist/cjs/charts/lineChart/fragments/fixture/contextData.d.ts +43 -0
  64. package/dist/cjs/charts/lineChart/fragments/fixture/contextData.d.ts.map +1 -0
  65. package/dist/cjs/charts/lineChart/fragments/fixture/contextData.js +43 -0
  66. package/dist/cjs/charts/lineChart/fragments/fixture/index.d.ts +2 -0
  67. package/dist/cjs/charts/lineChart/fragments/fixture/index.d.ts.map +1 -0
  68. package/dist/cjs/charts/lineChart/fragments/fixture/index.js +5 -0
  69. package/dist/cjs/charts/lineChart/fragments/index.d.ts +5 -0
  70. package/dist/cjs/charts/lineChart/fragments/index.d.ts.map +1 -0
  71. package/dist/cjs/charts/lineChart/fragments/index.js +11 -0
  72. package/dist/cjs/charts/lineChart/fragments/lineChartPath.css +3 -0
  73. package/dist/cjs/charts/lineChart/fragments/lineChartPath.d.ts +5 -0
  74. package/dist/cjs/charts/lineChart/fragments/lineChartPath.d.ts.map +1 -0
  75. package/dist/cjs/charts/lineChart/fragments/lineChartPath.js +109 -0
  76. package/dist/cjs/charts/lineChart/fragments/lineChartProjection.d.ts +5 -0
  77. package/dist/cjs/charts/lineChart/fragments/lineChartProjection.d.ts.map +1 -0
  78. package/dist/cjs/charts/lineChart/fragments/lineChartProjection.js +22 -0
  79. package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.d.ts +4 -0
  80. package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.d.ts.map +1 -0
  81. package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.js +26 -0
  82. package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.d.ts +4 -0
  83. package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.d.ts.map +1 -0
  84. package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.js +41 -0
  85. package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.d.ts +3 -0
  86. package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.d.ts.map +1 -0
  87. package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.js +45 -0
  88. package/dist/cjs/charts/lineChart/hook/index.d.ts +4 -0
  89. package/dist/cjs/charts/lineChart/hook/index.d.ts.map +1 -0
  90. package/dist/cjs/charts/lineChart/hook/index.js +9 -0
  91. package/dist/cjs/charts/lineChart/hook/useAutoClick.d.ts +4 -0
  92. package/dist/cjs/charts/lineChart/hook/useAutoClick.d.ts.map +1 -0
  93. package/dist/cjs/charts/lineChart/hook/useAutoClick.js +23 -0
  94. package/dist/cjs/charts/lineChart/hook/useHover.d.ts +12 -0
  95. package/dist/cjs/charts/lineChart/hook/useHover.d.ts.map +1 -0
  96. package/dist/cjs/charts/lineChart/hook/useHover.js +34 -0
  97. package/dist/cjs/charts/lineChart/hook/useIndicator.d.ts +7 -0
  98. package/dist/cjs/charts/lineChart/hook/useIndicator.d.ts.map +1 -0
  99. package/dist/cjs/charts/lineChart/hook/useIndicator.js +35 -0
  100. package/dist/cjs/charts/lineChart/index.d.ts +2 -0
  101. package/dist/cjs/charts/lineChart/index.d.ts.map +1 -0
  102. package/dist/cjs/charts/lineChart/index.js +17 -0
  103. package/dist/cjs/charts/lineChart/lineChart.d.ts +9 -0
  104. package/dist/cjs/charts/lineChart/lineChart.d.ts.map +1 -0
  105. package/dist/cjs/charts/lineChart/lineChart.js +30 -0
  106. package/dist/cjs/charts/lineChart/lineChart.type.d.ts +164 -0
  107. package/dist/cjs/charts/lineChart/lineChart.type.d.ts.map +1 -0
  108. package/dist/cjs/charts/lineChart/lineChart.type.js +2 -0
  109. package/dist/cjs/charts/lineChart/lineChartStructure.d.ts +33 -0
  110. package/dist/cjs/charts/lineChart/lineChartStructure.d.ts.map +1 -0
  111. package/dist/cjs/charts/lineChart/lineChartStructure.js +137 -0
  112. package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +14 -0
  113. package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +1 -0
  114. package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.js +60 -0
  115. package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.d.ts +8 -0
  116. package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.d.ts.map +1 -0
  117. package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.js +30 -0
  118. package/dist/cjs/charts/lineChart/utils/getDataValues.d.ts +8 -0
  119. package/dist/cjs/charts/lineChart/utils/getDataValues.d.ts.map +1 -0
  120. package/dist/cjs/charts/lineChart/utils/getDataValues.js +28 -0
  121. package/dist/cjs/charts/lineChart/utils/getExtraSpacing.d.ts +19 -0
  122. package/dist/cjs/charts/lineChart/utils/getExtraSpacing.d.ts.map +1 -0
  123. package/dist/cjs/charts/lineChart/utils/getExtraSpacing.js +128 -0
  124. package/dist/cjs/charts/lineChart/utils/getPathData.d.ts +18 -0
  125. package/dist/cjs/charts/lineChart/utils/getPathData.d.ts.map +1 -0
  126. package/dist/cjs/charts/lineChart/utils/getPathData.js +37 -0
  127. package/dist/cjs/charts/lineChart/utils/getProjection.d.ts +33 -0
  128. package/dist/cjs/charts/lineChart/utils/getProjection.d.ts.map +1 -0
  129. package/dist/cjs/charts/lineChart/utils/getProjection.js +109 -0
  130. package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.d.ts +17 -0
  131. package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +1 -0
  132. package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.js +30 -0
  133. package/dist/cjs/charts/lineChart/utils/handleNodesFocus.d.ts +17 -0
  134. package/dist/cjs/charts/lineChart/utils/handleNodesFocus.d.ts.map +1 -0
  135. package/dist/cjs/charts/lineChart/utils/handleNodesFocus.js +49 -0
  136. package/dist/cjs/charts/lineChart/utils/index.d.ts +7 -0
  137. package/dist/cjs/charts/lineChart/utils/index.d.ts.map +1 -0
  138. package/dist/cjs/charts/lineChart/utils/index.js +17 -0
  139. package/dist/cjs/charts/pieChart/context/buildPieContextValue.d.ts +16 -0
  140. package/dist/cjs/charts/pieChart/context/buildPieContextValue.d.ts.map +1 -0
  141. package/dist/cjs/charts/pieChart/context/buildPieContextValue.js +49 -0
  142. package/dist/cjs/charts/pieChart/context/index.d.ts +3 -0
  143. package/dist/cjs/charts/pieChart/context/index.d.ts.map +1 -0
  144. package/dist/cjs/charts/pieChart/context/index.js +7 -0
  145. package/dist/cjs/charts/pieChart/context/pieChartContext.d.ts +3 -0
  146. package/dist/cjs/charts/pieChart/context/pieChartContext.d.ts.map +1 -0
  147. package/dist/cjs/charts/pieChart/context/pieChartContext.js +5 -0
  148. package/dist/cjs/charts/pieChart/fragments/index.d.ts +3 -0
  149. package/dist/cjs/charts/pieChart/fragments/index.d.ts.map +1 -0
  150. package/dist/cjs/charts/pieChart/fragments/index.js +7 -0
  151. package/dist/cjs/charts/pieChart/fragments/pieChartForeign.d.ts +4 -0
  152. package/dist/cjs/charts/pieChart/fragments/pieChartForeign.d.ts.map +1 -0
  153. package/dist/cjs/charts/pieChart/fragments/pieChartForeign.js +17 -0
  154. package/dist/cjs/charts/pieChart/fragments/pieChartPath.d.ts +15 -0
  155. package/dist/cjs/charts/pieChart/fragments/pieChartPath.d.ts.map +1 -0
  156. package/dist/cjs/charts/pieChart/fragments/pieChartPath.js +32 -0
  157. package/dist/cjs/charts/pieChart/fragments/pieChartSegment.d.ts +18 -0
  158. package/dist/cjs/charts/pieChart/fragments/pieChartSegment.d.ts.map +1 -0
  159. package/dist/cjs/charts/pieChart/fragments/pieChartSegment.js +37 -0
  160. package/dist/cjs/charts/pieChart/index.d.ts +2 -0
  161. package/dist/cjs/charts/pieChart/index.d.ts.map +1 -0
  162. package/dist/cjs/charts/pieChart/index.js +17 -0
  163. package/dist/cjs/charts/pieChart/pieChart.d.ts +7 -0
  164. package/dist/cjs/charts/pieChart/pieChart.d.ts.map +1 -0
  165. package/dist/cjs/charts/pieChart/pieChart.js +26 -0
  166. package/dist/cjs/charts/pieChart/pieChart.type.d.ts +65 -0
  167. package/dist/cjs/charts/pieChart/pieChart.type.d.ts.map +1 -0
  168. package/dist/cjs/charts/pieChart/pieChart.type.js +2 -0
  169. package/dist/cjs/charts/pieChart/pieChartStructure.d.ts +34 -0
  170. package/dist/cjs/charts/pieChart/pieChartStructure.d.ts.map +1 -0
  171. package/dist/cjs/charts/pieChart/pieChartStructure.js +69 -0
  172. package/dist/cjs/charts/pieChart/utils/buildL.d.ts +13 -0
  173. package/dist/cjs/charts/pieChart/utils/buildL.d.ts.map +1 -0
  174. package/dist/cjs/charts/pieChart/utils/buildL.js +13 -0
  175. package/dist/cjs/charts/pieChart/utils/calculatePoint.d.ts +15 -0
  176. package/dist/cjs/charts/pieChart/utils/calculatePoint.d.ts.map +1 -0
  177. package/dist/cjs/charts/pieChart/utils/calculatePoint.js +17 -0
  178. package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.d.ts +34 -0
  179. package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.d.ts.map +1 -0
  180. package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.js +61 -0
  181. package/dist/cjs/charts/pieChart/utils/drawSegmentPath.d.ts +20 -0
  182. package/dist/cjs/charts/pieChart/utils/drawSegmentPath.d.ts.map +1 -0
  183. package/dist/cjs/charts/pieChart/utils/drawSegmentPath.js +45 -0
  184. package/dist/cjs/charts/pieChart/utils/index.d.ts +3 -0
  185. package/dist/cjs/charts/pieChart/utils/index.d.ts.map +1 -0
  186. package/dist/cjs/charts/pieChart/utils/index.js +7 -0
  187. package/dist/cjs/charts/pieChart/utils/rotationDirection.d.ts +18 -0
  188. package/dist/cjs/charts/pieChart/utils/rotationDirection.d.ts.map +1 -0
  189. package/dist/cjs/charts/pieChart/utils/rotationDirection.js +17 -0
  190. package/dist/cjs/components/axisChart/index.d.ts +3 -0
  191. package/dist/cjs/components/axisChart/index.d.ts.map +1 -0
  192. package/dist/cjs/components/axisChart/index.js +18 -0
  193. package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +18 -0
  194. package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +1 -0
  195. package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.js +42 -0
  196. package/dist/cjs/components/axisChart/utils/index.d.ts +2 -0
  197. package/dist/cjs/components/axisChart/utils/index.d.ts.map +1 -0
  198. package/dist/cjs/components/axisChart/utils/index.js +17 -0
  199. package/dist/cjs/components/axisChart/xAxis/index.d.ts +3 -0
  200. package/dist/cjs/components/axisChart/xAxis/index.d.ts.map +1 -0
  201. package/dist/cjs/components/axisChart/xAxis/index.js +18 -0
  202. package/dist/cjs/components/axisChart/xAxis/xAxis.d.ts +11 -0
  203. package/dist/cjs/components/axisChart/xAxis/xAxis.d.ts.map +1 -0
  204. package/dist/cjs/components/axisChart/xAxis/xAxis.js +46 -0
  205. package/dist/cjs/components/axisChart/xAxis/xAxis.types.d.ts +40 -0
  206. package/dist/cjs/components/axisChart/xAxis/xAxis.types.d.ts.map +1 -0
  207. package/dist/cjs/components/axisChart/xAxis/xAxis.types.js +2 -0
  208. package/dist/cjs/components/axisChart/yAxis/index.d.ts +3 -0
  209. package/dist/cjs/components/axisChart/yAxis/index.d.ts.map +1 -0
  210. package/dist/cjs/components/axisChart/yAxis/index.js +18 -0
  211. package/dist/cjs/components/axisChart/yAxis/yAxis.d.ts +8 -0
  212. package/dist/cjs/components/axisChart/yAxis/yAxis.d.ts.map +1 -0
  213. package/dist/cjs/components/axisChart/yAxis/yAxis.js +38 -0
  214. package/dist/cjs/components/axisChart/yAxis/yAxis.types.d.ts +37 -0
  215. package/dist/cjs/components/axisChart/yAxis/yAxis.types.d.ts.map +1 -0
  216. package/dist/cjs/components/axisChart/yAxis/yAxis.types.js +2 -0
  217. package/dist/cjs/components/bar/bar.d.ts +4 -0
  218. package/dist/cjs/components/bar/bar.d.ts.map +1 -0
  219. package/dist/cjs/components/bar/bar.js +33 -0
  220. package/dist/cjs/components/bar/bar.type.d.ts +32 -0
  221. package/dist/cjs/components/bar/bar.type.d.ts.map +1 -0
  222. package/dist/cjs/components/bar/bar.type.js +7 -0
  223. package/dist/cjs/components/bar/fragments/barChartSegment.d.ts +3 -0
  224. package/dist/cjs/components/bar/fragments/barChartSegment.d.ts.map +1 -0
  225. package/dist/cjs/components/bar/fragments/barChartSegment.js +8 -0
  226. package/dist/cjs/components/bar/index.d.ts +3 -0
  227. package/dist/cjs/components/bar/index.d.ts.map +1 -0
  228. package/dist/cjs/components/bar/index.js +18 -0
  229. package/dist/cjs/components/bar/utils/buildD.d.ts +9 -0
  230. package/dist/cjs/components/bar/utils/buildD.d.ts.map +1 -0
  231. package/dist/cjs/components/bar/utils/buildD.js +119 -0
  232. package/dist/cjs/components/bar/utils/getSegments.d.ts +6 -0
  233. package/dist/cjs/components/bar/utils/getSegments.d.ts.map +1 -0
  234. package/dist/cjs/components/bar/utils/getSegments.js +35 -0
  235. package/dist/cjs/components/chartText/chartText.d.ts +18 -0
  236. package/dist/cjs/components/chartText/chartText.d.ts.map +1 -0
  237. package/dist/cjs/components/chartText/chartText.js +22 -0
  238. package/dist/cjs/components/chartText/chartText.types.d.ts +57 -0
  239. package/dist/cjs/components/chartText/chartText.types.d.ts.map +1 -0
  240. package/dist/cjs/components/chartText/chartText.types.js +11 -0
  241. package/dist/cjs/components/chartText/index.d.ts +3 -0
  242. package/dist/cjs/components/chartText/index.d.ts.map +1 -0
  243. package/dist/cjs/components/chartText/index.js +18 -0
  244. package/dist/cjs/components/foreignObject/foreignObject.d.ts +4 -0
  245. package/dist/cjs/components/foreignObject/foreignObject.d.ts.map +1 -0
  246. package/dist/cjs/components/foreignObject/foreignObject.js +8 -0
  247. package/dist/cjs/components/foreignObject/foreignObject.types.d.ts +10 -0
  248. package/dist/cjs/components/foreignObject/foreignObject.types.d.ts.map +1 -0
  249. package/dist/cjs/components/foreignObject/foreignObject.types.js +2 -0
  250. package/dist/cjs/components/foreignObject/index.d.ts +3 -0
  251. package/dist/cjs/components/foreignObject/index.d.ts.map +1 -0
  252. package/dist/cjs/components/foreignObject/index.js +18 -0
  253. package/dist/cjs/components/index.d.ts +11 -0
  254. package/dist/cjs/components/index.d.ts.map +1 -0
  255. package/dist/cjs/components/index.js +26 -0
  256. package/dist/cjs/components/line/index.d.ts +3 -0
  257. package/dist/cjs/components/line/index.d.ts.map +1 -0
  258. package/dist/cjs/components/line/index.js +18 -0
  259. package/dist/cjs/components/line/line.d.ts +9 -0
  260. package/dist/cjs/components/line/line.d.ts.map +1 -0
  261. package/dist/cjs/components/line/line.js +13 -0
  262. package/dist/cjs/components/line/line.types.d.ts +43 -0
  263. package/dist/cjs/components/line/line.types.d.ts.map +1 -0
  264. package/dist/cjs/components/line/line.types.js +2 -0
  265. package/dist/cjs/components/node/components/circle/circle.d.ts +6 -0
  266. package/dist/cjs/components/node/components/circle/circle.d.ts.map +1 -0
  267. package/dist/cjs/components/node/components/circle/circle.js +9 -0
  268. package/dist/cjs/components/node/components/hexagon/hexagon.d.ts +6 -0
  269. package/dist/cjs/components/node/components/hexagon/hexagon.d.ts.map +1 -0
  270. package/dist/cjs/components/node/components/hexagon/hexagon.js +11 -0
  271. package/dist/cjs/components/node/components/index.d.ts +1 -0
  272. package/dist/cjs/components/node/components/index.d.ts.map +1 -0
  273. package/dist/cjs/components/node/components/index.js +1 -0
  274. package/dist/cjs/components/node/components/pentagon/pentagon.d.ts +6 -0
  275. package/dist/cjs/components/node/components/pentagon/pentagon.d.ts.map +1 -0
  276. package/dist/cjs/components/node/components/pentagon/pentagon.js +11 -0
  277. package/dist/cjs/components/node/components/square/square.d.ts +6 -0
  278. package/dist/cjs/components/node/components/square/square.d.ts.map +1 -0
  279. package/dist/cjs/components/node/components/square/square.js +9 -0
  280. package/dist/cjs/components/node/components/star/star.d.ts +6 -0
  281. package/dist/cjs/components/node/components/star/star.d.ts.map +1 -0
  282. package/dist/cjs/components/node/components/star/star.js +13 -0
  283. package/dist/cjs/components/node/components/straight/straight.d.ts +6 -0
  284. package/dist/cjs/components/node/components/straight/straight.d.ts.map +1 -0
  285. package/dist/cjs/components/node/components/straight/straight.js +10 -0
  286. package/dist/cjs/components/node/components/triangle/triangle.d.ts +6 -0
  287. package/dist/cjs/components/node/components/triangle/triangle.d.ts.map +1 -0
  288. package/dist/cjs/components/node/components/triangle/triangle.js +14 -0
  289. package/dist/cjs/components/node/index.d.ts +3 -0
  290. package/dist/cjs/components/node/index.d.ts.map +1 -0
  291. package/dist/cjs/components/node/index.js +18 -0
  292. package/dist/cjs/components/node/node.d.ts +6 -0
  293. package/dist/cjs/components/node/node.d.ts.map +1 -0
  294. package/dist/cjs/components/node/node.js +101 -0
  295. package/dist/cjs/components/node/node.types.d.ts +101 -0
  296. package/dist/cjs/components/node/node.types.d.ts.map +1 -0
  297. package/dist/cjs/components/node/node.types.js +21 -0
  298. package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +2 -0
  299. package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +1 -0
  300. package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.js +22 -0
  301. package/dist/cjs/components/path/components/nodePath/nodePath.d.ts +14 -0
  302. package/dist/cjs/components/path/components/nodePath/nodePath.d.ts.map +1 -0
  303. package/dist/cjs/components/path/components/nodePath/nodePath.js +41 -0
  304. package/dist/cjs/components/path/index.d.ts +3 -0
  305. package/dist/cjs/components/path/index.d.ts.map +1 -0
  306. package/dist/cjs/components/path/index.js +18 -0
  307. package/dist/cjs/components/path/path.css +29 -0
  308. package/dist/cjs/components/path/path.d.ts +4 -0
  309. package/dist/cjs/components/path/path.d.ts.map +1 -0
  310. package/dist/cjs/components/path/path.js +118 -0
  311. package/dist/cjs/components/path/path.types.d.ts +74 -0
  312. package/dist/cjs/components/path/path.types.d.ts.map +1 -0
  313. package/dist/cjs/components/path/path.types.js +2 -0
  314. package/dist/cjs/components/plot/components/circle/circle.d.ts +6 -0
  315. package/dist/cjs/components/plot/components/circle/circle.d.ts.map +1 -0
  316. package/dist/cjs/components/plot/components/circle/circle.js +9 -0
  317. package/dist/cjs/components/plot/components/index.d.ts +4 -0
  318. package/dist/cjs/components/plot/components/index.d.ts.map +1 -0
  319. package/dist/cjs/components/plot/components/index.js +19 -0
  320. package/dist/cjs/components/plot/components/square/square.d.ts +6 -0
  321. package/dist/cjs/components/plot/components/square/square.d.ts.map +1 -0
  322. package/dist/cjs/components/plot/components/square/square.js +9 -0
  323. package/dist/cjs/components/plot/components/triangle/triangle.d.ts +6 -0
  324. package/dist/cjs/components/plot/components/triangle/triangle.d.ts.map +1 -0
  325. package/dist/cjs/components/plot/components/triangle/triangle.js +17 -0
  326. package/dist/cjs/components/plot/index.d.ts +3 -0
  327. package/dist/cjs/components/plot/index.d.ts.map +1 -0
  328. package/dist/cjs/components/plot/index.js +18 -0
  329. package/dist/cjs/components/plot/plot.css +12 -0
  330. package/dist/cjs/components/plot/plot.d.ts +39 -0
  331. package/dist/cjs/components/plot/plot.d.ts.map +1 -0
  332. package/dist/cjs/components/plot/plot.js +98 -0
  333. package/dist/cjs/components/plot/plot.types.d.ts +177 -0
  334. package/dist/cjs/components/plot/plot.types.d.ts.map +1 -0
  335. package/dist/cjs/components/plot/plot.types.js +54 -0
  336. package/dist/cjs/components/svgContainer/index.d.ts +2 -0
  337. package/dist/cjs/components/svgContainer/index.d.ts.map +1 -0
  338. package/dist/cjs/components/svgContainer/index.js +17 -0
  339. package/dist/cjs/components/svgContainer/svgContainer.d.ts +6 -0
  340. package/dist/cjs/components/svgContainer/svgContainer.d.ts.map +1 -0
  341. package/dist/cjs/components/svgContainer/svgContainer.js +37 -0
  342. package/dist/cjs/components/svgContainer/svgContainer.types.d.ts +38 -0
  343. package/dist/cjs/components/svgContainer/svgContainer.types.d.ts.map +1 -0
  344. package/dist/cjs/components/svgContainer/svgContainer.types.js +2 -0
  345. package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +15 -0
  346. package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +1 -0
  347. package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.js +24 -0
  348. package/dist/cjs/components/svgContainer/utils/index.d.ts +2 -0
  349. package/dist/cjs/components/svgContainer/utils/index.d.ts.map +1 -0
  350. package/dist/cjs/components/svgContainer/utils/index.js +17 -0
  351. package/dist/cjs/components/tick/index.d.ts +3 -0
  352. package/dist/cjs/components/tick/index.d.ts.map +1 -0
  353. package/dist/cjs/components/tick/index.js +18 -0
  354. package/dist/cjs/components/tick/tick.d.ts +19 -0
  355. package/dist/cjs/components/tick/tick.d.ts.map +1 -0
  356. package/dist/cjs/components/tick/tick.js +23 -0
  357. package/dist/cjs/components/tick/tick.types.d.ts +51 -0
  358. package/dist/cjs/components/tick/tick.types.d.ts.map +1 -0
  359. package/dist/cjs/components/tick/tick.types.js +27 -0
  360. package/dist/cjs/components/zoomArea/components/HandlerIcon.d.ts +25 -0
  361. package/dist/cjs/components/zoomArea/components/HandlerIcon.d.ts.map +1 -0
  362. package/dist/cjs/components/zoomArea/components/HandlerIcon.js +26 -0
  363. package/dist/cjs/components/zoomArea/components/LineRenderer.d.ts +29 -0
  364. package/dist/cjs/components/zoomArea/components/LineRenderer.d.ts.map +1 -0
  365. package/dist/cjs/components/zoomArea/components/LineRenderer.js +15 -0
  366. package/dist/cjs/components/zoomArea/components/SelectionArea.d.ts +57 -0
  367. package/dist/cjs/components/zoomArea/components/SelectionArea.d.ts.map +1 -0
  368. package/dist/cjs/components/zoomArea/components/SelectionArea.js +53 -0
  369. package/dist/cjs/components/zoomArea/components/ZoomHandler.d.ts +42 -0
  370. package/dist/cjs/components/zoomArea/components/ZoomHandler.d.ts.map +1 -0
  371. package/dist/cjs/components/zoomArea/components/ZoomHandler.js +63 -0
  372. package/dist/cjs/components/zoomArea/components/index.d.ts +5 -0
  373. package/dist/cjs/components/zoomArea/components/index.d.ts.map +1 -0
  374. package/dist/cjs/components/zoomArea/components/index.js +12 -0
  375. package/dist/cjs/components/zoomArea/hooks/index.d.ts +6 -0
  376. package/dist/cjs/components/zoomArea/hooks/index.d.ts.map +1 -0
  377. package/dist/cjs/components/zoomArea/hooks/index.js +13 -0
  378. package/dist/cjs/components/zoomArea/hooks/useDragInteraction.d.ts +42 -0
  379. package/dist/cjs/components/zoomArea/hooks/useDragInteraction.d.ts.map +1 -0
  380. package/dist/cjs/components/zoomArea/hooks/useDragInteraction.js +114 -0
  381. package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.d.ts +30 -0
  382. package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +1 -0
  383. package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.js +126 -0
  384. package/dist/cjs/components/zoomArea/hooks/useResponsiveCanvas.d.ts +62 -0
  385. package/dist/cjs/components/zoomArea/hooks/useResponsiveCanvas.d.ts.map +1 -0
  386. package/dist/cjs/components/zoomArea/hooks/useResponsiveCanvas.js +74 -0
  387. package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.d.ts +24 -0
  388. package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +1 -0
  389. package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.js +32 -0
  390. package/dist/cjs/components/zoomArea/hooks/useZoomData.d.ts +33 -0
  391. package/dist/cjs/components/zoomArea/hooks/useZoomData.d.ts.map +1 -0
  392. package/dist/cjs/components/zoomArea/hooks/useZoomData.js +35 -0
  393. package/dist/cjs/components/zoomArea/index.d.ts +6 -0
  394. package/dist/cjs/components/zoomArea/index.d.ts.map +1 -0
  395. package/dist/cjs/components/zoomArea/index.js +21 -0
  396. package/dist/cjs/components/zoomArea/utils/accessibilityLabels.d.ts +28 -0
  397. package/dist/cjs/components/zoomArea/utils/accessibilityLabels.d.ts.map +1 -0
  398. package/dist/cjs/components/zoomArea/utils/accessibilityLabels.js +65 -0
  399. package/dist/cjs/components/zoomArea/utils/index.d.ts +4 -0
  400. package/dist/cjs/components/zoomArea/utils/index.d.ts.map +1 -0
  401. package/dist/cjs/components/zoomArea/utils/index.js +14 -0
  402. package/dist/cjs/components/zoomArea/utils/indexRounding.d.ts +63 -0
  403. package/dist/cjs/components/zoomArea/utils/indexRounding.d.ts.map +1 -0
  404. package/dist/cjs/components/zoomArea/utils/indexRounding.js +74 -0
  405. package/dist/cjs/components/zoomArea/utils/interactionConfig.d.ts +10 -0
  406. package/dist/cjs/components/zoomArea/utils/interactionConfig.d.ts.map +1 -0
  407. package/dist/cjs/components/zoomArea/utils/interactionConfig.js +27 -0
  408. package/dist/cjs/components/zoomArea/utils/pathGeneration.d.ts +57 -0
  409. package/dist/cjs/components/zoomArea/utils/pathGeneration.d.ts.map +1 -0
  410. package/dist/cjs/components/zoomArea/utils/pathGeneration.js +117 -0
  411. package/dist/cjs/components/zoomArea/utils/rangeAndPositions.d.ts +60 -0
  412. package/dist/cjs/components/zoomArea/utils/rangeAndPositions.d.ts.map +1 -0
  413. package/dist/cjs/components/zoomArea/utils/rangeAndPositions.js +83 -0
  414. package/dist/cjs/components/zoomArea/utils/selectionConfig.d.ts +10 -0
  415. package/dist/cjs/components/zoomArea/utils/selectionConfig.d.ts.map +1 -0
  416. package/dist/cjs/components/zoomArea/utils/selectionConfig.js +33 -0
  417. package/dist/cjs/components/zoomArea/zoomArea.d.ts +12 -0
  418. package/dist/cjs/components/zoomArea/zoomArea.d.ts.map +1 -0
  419. package/dist/cjs/components/zoomArea/zoomArea.js +84 -0
  420. package/dist/cjs/components/zoomArea/zoomArea.type.d.ts +153 -0
  421. package/dist/cjs/components/zoomArea/zoomArea.type.d.ts.map +1 -0
  422. package/dist/cjs/components/zoomArea/zoomArea.type.js +11 -0
  423. package/dist/cjs/hooks/index.d.ts +3 -0
  424. package/dist/cjs/hooks/index.d.ts.map +1 -0
  425. package/dist/cjs/hooks/index.js +18 -0
  426. package/dist/cjs/hooks/useFocus/useFocus.d.ts +15 -0
  427. package/dist/cjs/hooks/useFocus/useFocus.d.ts.map +1 -0
  428. package/dist/cjs/hooks/useFocus/useFocus.js +29 -0
  429. package/dist/cjs/hooks/useFocus/useFocus.types.d.ts +30 -0
  430. package/dist/cjs/hooks/useFocus/useFocus.types.d.ts.map +1 -0
  431. package/dist/cjs/hooks/useFocus/useFocus.types.js +2 -0
  432. package/dist/cjs/hooks/useHover/useHover.d.ts +13 -0
  433. package/dist/cjs/hooks/useHover/useHover.d.ts.map +1 -0
  434. package/dist/cjs/hooks/useHover/useHover.js +31 -0
  435. package/dist/cjs/hooks/useHover/useHover.types.d.ts +30 -0
  436. package/dist/cjs/hooks/useHover/useHover.types.d.ts.map +1 -0
  437. package/dist/cjs/hooks/useHover/useHover.types.js +2 -0
  438. package/dist/cjs/index.d.ts +4 -0
  439. package/dist/cjs/index.d.ts.map +1 -0
  440. package/dist/cjs/index.js +19 -0
  441. package/dist/cjs/types/canvas.type.d.ts +20 -0
  442. package/dist/cjs/types/canvas.type.d.ts.map +1 -0
  443. package/dist/cjs/types/canvas.type.js +14 -0
  444. package/dist/cjs/types/errors.type.d.ts +10 -0
  445. package/dist/cjs/types/errors.type.d.ts.map +1 -0
  446. package/dist/cjs/types/errors.type.js +6 -0
  447. package/dist/cjs/types/focusConfig.type.d.ts +29 -0
  448. package/dist/cjs/types/focusConfig.type.d.ts.map +1 -0
  449. package/dist/cjs/types/focusConfig.type.js +15 -0
  450. package/dist/cjs/types/index.d.ts +5 -0
  451. package/dist/cjs/types/index.d.ts.map +1 -0
  452. package/dist/cjs/types/index.js +20 -0
  453. package/dist/cjs/types/position.enum.d.ts +18 -0
  454. package/dist/cjs/types/position.enum.d.ts.map +1 -0
  455. package/dist/cjs/types/position.enum.js +20 -0
  456. package/dist/cjs/types/unit.enum.d.ts +12 -0
  457. package/dist/cjs/types/unit.enum.d.ts.map +1 -0
  458. package/dist/cjs/types/unit.enum.js +14 -0
  459. package/dist/cjs/types/valueFormatter.type.d.ts +7 -0
  460. package/dist/cjs/types/valueFormatter.type.d.ts.map +1 -0
  461. package/dist/cjs/types/valueFormatter.type.js +2 -0
  462. package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.d.ts +2 -0
  463. package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +1 -0
  464. package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.js +19 -0
  465. package/dist/cjs/utils/buildErrors/buildErrors.d.ts +6 -0
  466. package/dist/cjs/utils/buildErrors/buildErrors.d.ts.map +1 -0
  467. package/dist/cjs/utils/buildErrors/buildErrors.js +12 -0
  468. package/dist/cjs/utils/buildTickValues/buildTickValues.d.ts +28 -0
  469. package/dist/cjs/utils/buildTickValues/buildTickValues.d.ts.map +1 -0
  470. package/dist/cjs/utils/buildTickValues/buildTickValues.js +52 -0
  471. package/dist/cjs/utils/calculateFocusOutline/calculateFocusOutline.d.ts +73 -0
  472. package/dist/cjs/utils/calculateFocusOutline/calculateFocusOutline.d.ts.map +1 -0
  473. package/dist/cjs/utils/calculateFocusOutline/calculateFocusOutline.js +85 -0
  474. package/dist/cjs/utils/classNames/classNames.d.ts +14 -0
  475. package/dist/cjs/utils/classNames/classNames.d.ts.map +1 -0
  476. package/dist/cjs/utils/classNames/classNames.js +29 -0
  477. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.d.ts +21 -0
  478. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +1 -0
  479. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.js +50 -0
  480. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +12 -0
  481. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +1 -0
  482. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.js +2 -0
  483. package/dist/cjs/utils/cursorNear/isNear.d.ts +2 -0
  484. package/dist/cjs/utils/cursorNear/isNear.d.ts.map +1 -0
  485. package/dist/cjs/utils/cursorNear/isNear.js +7 -0
  486. package/dist/cjs/utils/getAxisData/getAxisData.d.ts +2 -0
  487. package/dist/cjs/utils/getAxisData/getAxisData.d.ts.map +1 -0
  488. package/dist/cjs/utils/getAxisData/getAxisData.js +7 -0
  489. package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.d.ts +22 -0
  490. package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +1 -0
  491. package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.js +101 -0
  492. package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.d.ts +10 -0
  493. package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.d.ts.map +1 -0
  494. package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.js +19 -0
  495. package/dist/cjs/utils/getCoordinates/getCoordinates.d.ts +47 -0
  496. package/dist/cjs/utils/getCoordinates/getCoordinates.d.ts.map +1 -0
  497. package/dist/cjs/utils/getCoordinates/getCoordinates.js +95 -0
  498. package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.d.ts +12 -0
  499. package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.d.ts.map +1 -0
  500. package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.js +14 -0
  501. package/dist/cjs/utils/getPoints/getPoints.d.ts +10 -0
  502. package/dist/cjs/utils/getPoints/getPoints.d.ts.map +1 -0
  503. package/dist/cjs/utils/getPoints/getPoints.js +53 -0
  504. package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +21 -0
  505. package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +1 -0
  506. package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.js +35 -0
  507. package/dist/cjs/utils/getTicks/getTicks.d.ts +35 -0
  508. package/dist/cjs/utils/getTicks/getTicks.d.ts.map +1 -0
  509. package/dist/cjs/utils/getTicks/getTicks.js +54 -0
  510. package/dist/cjs/utils/index.d.ts +9 -0
  511. package/dist/cjs/utils/index.d.ts.map +1 -0
  512. package/dist/cjs/utils/index.js +24 -0
  513. package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +11 -0
  514. package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +1 -0
  515. package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +33 -0
  516. package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.d.ts +33 -0
  517. package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +1 -0
  518. package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.js +50 -0
  519. package/dist/cjs/utils/shadowSvg/shadowSvg.d.ts +3 -0
  520. package/dist/cjs/utils/shadowSvg/shadowSvg.d.ts.map +1 -0
  521. package/dist/cjs/utils/shadowSvg/shadowSvg.js +8 -0
  522. package/dist/cjs/utils/shadowSvg/shadowSvg.types.d.ts +35 -0
  523. package/dist/cjs/utils/shadowSvg/shadowSvg.types.d.ts.map +1 -0
  524. package/dist/cjs/utils/shadowSvg/shadowSvg.types.js +2 -0
  525. package/dist/cjs/utils/textBound/textBound.d.ts +11 -0
  526. package/dist/cjs/utils/textBound/textBound.d.ts.map +1 -0
  527. package/dist/cjs/utils/textBound/textBound.js +26 -0
  528. package/dist/esm/charts/barChart/barChart.d.ts +9 -0
  529. package/dist/esm/charts/barChart/barChart.d.ts.map +1 -0
  530. package/dist/esm/charts/barChart/barChart.js +13 -0
  531. package/dist/esm/charts/barChart/barChart.type.d.ts +116 -0
  532. package/dist/esm/charts/barChart/barChart.type.d.ts.map +1 -0
  533. package/dist/esm/charts/barChart/barChart.type.js +1 -0
  534. package/dist/esm/charts/barChart/barChartStructure.d.ts +3 -0
  535. package/dist/esm/charts/barChart/barChartStructure.d.ts.map +1 -0
  536. package/dist/esm/charts/barChart/barChartStructure.js +64 -0
  537. package/dist/esm/charts/barChart/context/barChartContext.d.ts +3 -0
  538. package/dist/esm/charts/barChart/context/barChartContext.d.ts.map +1 -0
  539. package/dist/esm/charts/barChart/context/barChartContext.js +2 -0
  540. package/dist/esm/charts/barChart/context/buildBarContextValues.d.ts +24 -0
  541. package/dist/esm/charts/barChart/context/buildBarContextValues.d.ts.map +1 -0
  542. package/dist/esm/charts/barChart/context/buildBarContextValues.js +101 -0
  543. package/dist/esm/charts/barChart/fragments/barChartPath.d.ts +3 -0
  544. package/dist/esm/charts/barChart/fragments/barChartPath.d.ts.map +1 -0
  545. package/dist/esm/charts/barChart/fragments/barChartPath.js +32 -0
  546. package/dist/esm/charts/barChart/fragments/barChartSeparator.d.ts +4 -0
  547. package/dist/esm/charts/barChart/fragments/barChartSeparator.d.ts.map +1 -0
  548. package/dist/esm/charts/barChart/fragments/barChartSeparator.js +22 -0
  549. package/dist/esm/charts/barChart/fragments/barChartXAxis.d.ts +4 -0
  550. package/dist/esm/charts/barChart/fragments/barChartXAxis.d.ts.map +1 -0
  551. package/dist/esm/charts/barChart/fragments/barChartXAxis.js +27 -0
  552. package/dist/esm/charts/barChart/fragments/barChartYAxis.d.ts +4 -0
  553. package/dist/esm/charts/barChart/fragments/barChartYAxis.d.ts.map +1 -0
  554. package/dist/esm/charts/barChart/fragments/barChartYAxis.js +20 -0
  555. package/dist/esm/charts/barChart/fragments/fixture/barContextData.d.ts +3 -0
  556. package/dist/esm/charts/barChart/fragments/fixture/barContextData.d.ts.map +1 -0
  557. package/dist/esm/charts/barChart/fragments/fixture/barContextData.js +41 -0
  558. package/dist/esm/charts/barChart/fragments/fixture/index.d.ts +2 -0
  559. package/dist/esm/charts/barChart/fragments/fixture/index.d.ts.map +1 -0
  560. package/dist/esm/charts/barChart/fragments/fixture/index.js +1 -0
  561. package/dist/esm/charts/barChart/index.d.ts +2 -0
  562. package/dist/esm/charts/barChart/index.d.ts.map +1 -0
  563. package/dist/esm/charts/barChart/index.js +1 -0
  564. package/dist/esm/charts/barChart/utils/countBarChildren.d.ts +3 -0
  565. package/dist/esm/charts/barChart/utils/countBarChildren.d.ts.map +1 -0
  566. package/dist/esm/charts/barChart/utils/countBarChildren.js +11 -0
  567. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.d.ts +17 -0
  568. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +1 -0
  569. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.js +116 -0
  570. package/dist/esm/charts/barChart/utils/getBarDataValue.d.ts +8 -0
  571. package/dist/esm/charts/barChart/utils/getBarDataValue.d.ts.map +1 -0
  572. package/dist/esm/charts/barChart/utils/getBarDataValue.js +19 -0
  573. package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.d.ts +9 -0
  574. package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +1 -0
  575. package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.js +11 -0
  576. package/dist/esm/charts/index.d.ts +4 -0
  577. package/dist/esm/charts/index.d.ts.map +1 -0
  578. package/dist/esm/charts/index.js +3 -0
  579. package/dist/esm/charts/lineChart/context/buildLineContextValue.d.ts +21 -0
  580. package/dist/esm/charts/lineChart/context/buildLineContextValue.d.ts.map +1 -0
  581. package/dist/esm/charts/lineChart/context/buildLineContextValue.js +134 -0
  582. package/dist/esm/charts/lineChart/context/index.d.ts +3 -0
  583. package/dist/esm/charts/lineChart/context/index.d.ts.map +1 -0
  584. package/dist/esm/charts/lineChart/context/index.js +2 -0
  585. package/dist/esm/charts/lineChart/context/lineChartContext.d.ts +3 -0
  586. package/dist/esm/charts/lineChart/context/lineChartContext.d.ts.map +1 -0
  587. package/dist/esm/charts/lineChart/context/lineChartContext.js +2 -0
  588. package/dist/esm/charts/lineChart/fragments/fixture/contextData.d.ts +43 -0
  589. package/dist/esm/charts/lineChart/fragments/fixture/contextData.d.ts.map +1 -0
  590. package/dist/esm/charts/lineChart/fragments/fixture/contextData.js +40 -0
  591. package/dist/esm/charts/lineChart/fragments/fixture/index.d.ts +2 -0
  592. package/dist/esm/charts/lineChart/fragments/fixture/index.d.ts.map +1 -0
  593. package/dist/esm/charts/lineChart/fragments/fixture/index.js +1 -0
  594. package/dist/esm/charts/lineChart/fragments/index.d.ts +5 -0
  595. package/dist/esm/charts/lineChart/fragments/index.d.ts.map +1 -0
  596. package/dist/esm/charts/lineChart/fragments/index.js +4 -0
  597. package/dist/esm/charts/lineChart/fragments/lineChartPath.css +3 -0
  598. package/dist/esm/charts/lineChart/fragments/lineChartPath.d.ts +5 -0
  599. package/dist/esm/charts/lineChart/fragments/lineChartPath.d.ts.map +1 -0
  600. package/dist/esm/charts/lineChart/fragments/lineChartPath.js +105 -0
  601. package/dist/esm/charts/lineChart/fragments/lineChartProjection.d.ts +5 -0
  602. package/dist/esm/charts/lineChart/fragments/lineChartProjection.d.ts.map +1 -0
  603. package/dist/esm/charts/lineChart/fragments/lineChartProjection.js +18 -0
  604. package/dist/esm/charts/lineChart/fragments/lineChartSeparator.d.ts +4 -0
  605. package/dist/esm/charts/lineChart/fragments/lineChartSeparator.d.ts.map +1 -0
  606. package/dist/esm/charts/lineChart/fragments/lineChartSeparator.js +22 -0
  607. package/dist/esm/charts/lineChart/fragments/lineChartXAxis.d.ts +4 -0
  608. package/dist/esm/charts/lineChart/fragments/lineChartXAxis.d.ts.map +1 -0
  609. package/dist/esm/charts/lineChart/fragments/lineChartXAxis.js +37 -0
  610. package/dist/esm/charts/lineChart/fragments/lineChartYAxis.d.ts +3 -0
  611. package/dist/esm/charts/lineChart/fragments/lineChartYAxis.d.ts.map +1 -0
  612. package/dist/esm/charts/lineChart/fragments/lineChartYAxis.js +41 -0
  613. package/dist/esm/charts/lineChart/hook/index.d.ts +4 -0
  614. package/dist/esm/charts/lineChart/hook/index.d.ts.map +1 -0
  615. package/dist/esm/charts/lineChart/hook/index.js +3 -0
  616. package/dist/esm/charts/lineChart/hook/useAutoClick.d.ts +4 -0
  617. package/dist/esm/charts/lineChart/hook/useAutoClick.d.ts.map +1 -0
  618. package/dist/esm/charts/lineChart/hook/useAutoClick.js +19 -0
  619. package/dist/esm/charts/lineChart/hook/useHover.d.ts +12 -0
  620. package/dist/esm/charts/lineChart/hook/useHover.d.ts.map +1 -0
  621. package/dist/esm/charts/lineChart/hook/useHover.js +30 -0
  622. package/dist/esm/charts/lineChart/hook/useIndicator.d.ts +7 -0
  623. package/dist/esm/charts/lineChart/hook/useIndicator.d.ts.map +1 -0
  624. package/dist/esm/charts/lineChart/hook/useIndicator.js +31 -0
  625. package/dist/esm/charts/lineChart/index.d.ts +2 -0
  626. package/dist/esm/charts/lineChart/index.d.ts.map +1 -0
  627. package/dist/esm/charts/lineChart/index.js +1 -0
  628. package/dist/esm/charts/lineChart/lineChart.d.ts +9 -0
  629. package/dist/esm/charts/lineChart/lineChart.d.ts.map +1 -0
  630. package/dist/esm/charts/lineChart/lineChart.js +13 -0
  631. package/dist/esm/charts/lineChart/lineChart.type.d.ts +164 -0
  632. package/dist/esm/charts/lineChart/lineChart.type.d.ts.map +1 -0
  633. package/dist/esm/charts/lineChart/lineChart.type.js +1 -0
  634. package/dist/esm/charts/lineChart/lineChartStructure.d.ts +33 -0
  635. package/dist/esm/charts/lineChart/lineChartStructure.d.ts.map +1 -0
  636. package/dist/esm/charts/lineChart/lineChartStructure.js +133 -0
  637. package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +14 -0
  638. package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +1 -0
  639. package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.js +56 -0
  640. package/dist/esm/charts/lineChart/utils/findSurroundingNumber.d.ts +8 -0
  641. package/dist/esm/charts/lineChart/utils/findSurroundingNumber.d.ts.map +1 -0
  642. package/dist/esm/charts/lineChart/utils/findSurroundingNumber.js +25 -0
  643. package/dist/esm/charts/lineChart/utils/getDataValues.d.ts +8 -0
  644. package/dist/esm/charts/lineChart/utils/getDataValues.d.ts.map +1 -0
  645. package/dist/esm/charts/lineChart/utils/getDataValues.js +24 -0
  646. package/dist/esm/charts/lineChart/utils/getExtraSpacing.d.ts +19 -0
  647. package/dist/esm/charts/lineChart/utils/getExtraSpacing.d.ts.map +1 -0
  648. package/dist/esm/charts/lineChart/utils/getExtraSpacing.js +124 -0
  649. package/dist/esm/charts/lineChart/utils/getPathData.d.ts +18 -0
  650. package/dist/esm/charts/lineChart/utils/getPathData.d.ts.map +1 -0
  651. package/dist/esm/charts/lineChart/utils/getPathData.js +33 -0
  652. package/dist/esm/charts/lineChart/utils/getProjection.d.ts +33 -0
  653. package/dist/esm/charts/lineChart/utils/getProjection.d.ts.map +1 -0
  654. package/dist/esm/charts/lineChart/utils/getProjection.js +105 -0
  655. package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.d.ts +17 -0
  656. package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +1 -0
  657. package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.js +25 -0
  658. package/dist/esm/charts/lineChart/utils/handleNodesFocus.d.ts +17 -0
  659. package/dist/esm/charts/lineChart/utils/handleNodesFocus.d.ts.map +1 -0
  660. package/dist/esm/charts/lineChart/utils/handleNodesFocus.js +45 -0
  661. package/dist/esm/charts/lineChart/utils/index.d.ts +7 -0
  662. package/dist/esm/charts/lineChart/utils/index.d.ts.map +1 -0
  663. package/dist/esm/charts/lineChart/utils/index.js +6 -0
  664. package/dist/esm/charts/pieChart/context/buildPieContextValue.d.ts +16 -0
  665. package/dist/esm/charts/pieChart/context/buildPieContextValue.d.ts.map +1 -0
  666. package/dist/esm/charts/pieChart/context/buildPieContextValue.js +45 -0
  667. package/dist/esm/charts/pieChart/context/index.d.ts +3 -0
  668. package/dist/esm/charts/pieChart/context/index.d.ts.map +1 -0
  669. package/dist/esm/charts/pieChart/context/index.js +2 -0
  670. package/dist/esm/charts/pieChart/context/pieChartContext.d.ts +3 -0
  671. package/dist/esm/charts/pieChart/context/pieChartContext.d.ts.map +1 -0
  672. package/dist/esm/charts/pieChart/context/pieChartContext.js +2 -0
  673. package/dist/esm/charts/pieChart/fragments/index.d.ts +3 -0
  674. package/dist/esm/charts/pieChart/fragments/index.d.ts.map +1 -0
  675. package/dist/esm/charts/pieChart/fragments/index.js +2 -0
  676. package/dist/esm/charts/pieChart/fragments/pieChartForeign.d.ts +4 -0
  677. package/dist/esm/charts/pieChart/fragments/pieChartForeign.d.ts.map +1 -0
  678. package/dist/esm/charts/pieChart/fragments/pieChartForeign.js +13 -0
  679. package/dist/esm/charts/pieChart/fragments/pieChartPath.d.ts +15 -0
  680. package/dist/esm/charts/pieChart/fragments/pieChartPath.d.ts.map +1 -0
  681. package/dist/esm/charts/pieChart/fragments/pieChartPath.js +28 -0
  682. package/dist/esm/charts/pieChart/fragments/pieChartSegment.d.ts +18 -0
  683. package/dist/esm/charts/pieChart/fragments/pieChartSegment.d.ts.map +1 -0
  684. package/dist/esm/charts/pieChart/fragments/pieChartSegment.js +33 -0
  685. package/dist/esm/charts/pieChart/index.d.ts +2 -0
  686. package/dist/esm/charts/pieChart/index.d.ts.map +1 -0
  687. package/dist/esm/charts/pieChart/index.js +1 -0
  688. package/dist/esm/charts/pieChart/pieChart.d.ts +7 -0
  689. package/dist/esm/charts/pieChart/pieChart.d.ts.map +1 -0
  690. package/dist/esm/charts/pieChart/pieChart.js +9 -0
  691. package/dist/esm/charts/pieChart/pieChart.type.d.ts +65 -0
  692. package/dist/esm/charts/pieChart/pieChart.type.d.ts.map +1 -0
  693. package/dist/esm/charts/pieChart/pieChart.type.js +1 -0
  694. package/dist/esm/charts/pieChart/pieChartStructure.d.ts +34 -0
  695. package/dist/esm/charts/pieChart/pieChartStructure.d.ts.map +1 -0
  696. package/dist/esm/charts/pieChart/pieChartStructure.js +65 -0
  697. package/dist/esm/charts/pieChart/utils/buildL.d.ts +13 -0
  698. package/dist/esm/charts/pieChart/utils/buildL.d.ts.map +1 -0
  699. package/dist/esm/charts/pieChart/utils/buildL.js +9 -0
  700. package/dist/esm/charts/pieChart/utils/calculatePoint.d.ts +15 -0
  701. package/dist/esm/charts/pieChart/utils/calculatePoint.d.ts.map +1 -0
  702. package/dist/esm/charts/pieChart/utils/calculatePoint.js +13 -0
  703. package/dist/esm/charts/pieChart/utils/calculateSegmentPath.d.ts +34 -0
  704. package/dist/esm/charts/pieChart/utils/calculateSegmentPath.d.ts.map +1 -0
  705. package/dist/esm/charts/pieChart/utils/calculateSegmentPath.js +57 -0
  706. package/dist/esm/charts/pieChart/utils/drawSegmentPath.d.ts +20 -0
  707. package/dist/esm/charts/pieChart/utils/drawSegmentPath.d.ts.map +1 -0
  708. package/dist/esm/charts/pieChart/utils/drawSegmentPath.js +41 -0
  709. package/dist/esm/charts/pieChart/utils/index.d.ts +3 -0
  710. package/dist/esm/charts/pieChart/utils/index.d.ts.map +1 -0
  711. package/dist/esm/charts/pieChart/utils/index.js +2 -0
  712. package/dist/esm/charts/pieChart/utils/rotationDirection.d.ts +18 -0
  713. package/dist/esm/charts/pieChart/utils/rotationDirection.d.ts.map +1 -0
  714. package/dist/esm/charts/pieChart/utils/rotationDirection.js +13 -0
  715. package/dist/esm/components/axisChart/index.d.ts +3 -0
  716. package/dist/esm/components/axisChart/index.d.ts.map +1 -0
  717. package/dist/esm/components/axisChart/index.js +2 -0
  718. package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +18 -0
  719. package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +1 -0
  720. package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.js +38 -0
  721. package/dist/esm/components/axisChart/utils/index.d.ts +2 -0
  722. package/dist/esm/components/axisChart/utils/index.d.ts.map +1 -0
  723. package/dist/esm/components/axisChart/utils/index.js +1 -0
  724. package/dist/esm/components/axisChart/xAxis/index.d.ts +3 -0
  725. package/dist/esm/components/axisChart/xAxis/index.d.ts.map +1 -0
  726. package/dist/esm/components/axisChart/xAxis/index.js +2 -0
  727. package/dist/esm/components/axisChart/xAxis/xAxis.d.ts +11 -0
  728. package/dist/esm/components/axisChart/xAxis/xAxis.d.ts.map +1 -0
  729. package/dist/esm/components/axisChart/xAxis/xAxis.js +42 -0
  730. package/dist/esm/components/axisChart/xAxis/xAxis.types.d.ts +40 -0
  731. package/dist/esm/components/axisChart/xAxis/xAxis.types.d.ts.map +1 -0
  732. package/dist/esm/components/axisChart/xAxis/xAxis.types.js +1 -0
  733. package/dist/esm/components/axisChart/yAxis/index.d.ts +3 -0
  734. package/dist/esm/components/axisChart/yAxis/index.d.ts.map +1 -0
  735. package/dist/esm/components/axisChart/yAxis/index.js +2 -0
  736. package/dist/esm/components/axisChart/yAxis/yAxis.d.ts +8 -0
  737. package/dist/esm/components/axisChart/yAxis/yAxis.d.ts.map +1 -0
  738. package/dist/esm/components/axisChart/yAxis/yAxis.js +34 -0
  739. package/dist/esm/components/axisChart/yAxis/yAxis.types.d.ts +37 -0
  740. package/dist/esm/components/axisChart/yAxis/yAxis.types.d.ts.map +1 -0
  741. package/dist/esm/components/axisChart/yAxis/yAxis.types.js +1 -0
  742. package/dist/esm/components/bar/bar.d.ts +4 -0
  743. package/dist/esm/components/bar/bar.d.ts.map +1 -0
  744. package/dist/esm/components/bar/bar.js +29 -0
  745. package/dist/esm/components/bar/bar.type.d.ts +32 -0
  746. package/dist/esm/components/bar/bar.type.d.ts.map +1 -0
  747. package/dist/esm/components/bar/bar.type.js +4 -0
  748. package/dist/esm/components/bar/fragments/barChartSegment.d.ts +3 -0
  749. package/dist/esm/components/bar/fragments/barChartSegment.d.ts.map +1 -0
  750. package/dist/esm/components/bar/fragments/barChartSegment.js +4 -0
  751. package/dist/esm/components/bar/index.d.ts +3 -0
  752. package/dist/esm/components/bar/index.d.ts.map +1 -0
  753. package/dist/esm/components/bar/index.js +2 -0
  754. package/dist/esm/components/bar/utils/buildD.d.ts +9 -0
  755. package/dist/esm/components/bar/utils/buildD.d.ts.map +1 -0
  756. package/dist/esm/components/bar/utils/buildD.js +115 -0
  757. package/dist/esm/components/bar/utils/getSegments.d.ts +6 -0
  758. package/dist/esm/components/bar/utils/getSegments.d.ts.map +1 -0
  759. package/dist/esm/components/bar/utils/getSegments.js +31 -0
  760. package/dist/esm/components/chartText/chartText.d.ts +18 -0
  761. package/dist/esm/components/chartText/chartText.d.ts.map +1 -0
  762. package/dist/esm/components/chartText/chartText.js +18 -0
  763. package/dist/esm/components/chartText/chartText.types.d.ts +57 -0
  764. package/dist/esm/components/chartText/chartText.types.d.ts.map +1 -0
  765. package/dist/esm/components/chartText/chartText.types.js +10 -0
  766. package/dist/esm/components/chartText/index.d.ts +3 -0
  767. package/dist/esm/components/chartText/index.d.ts.map +1 -0
  768. package/dist/esm/components/chartText/index.js +2 -0
  769. package/dist/esm/components/foreignObject/foreignObject.d.ts +4 -0
  770. package/dist/esm/components/foreignObject/foreignObject.d.ts.map +1 -0
  771. package/dist/esm/components/foreignObject/foreignObject.js +4 -0
  772. package/dist/esm/components/foreignObject/foreignObject.types.d.ts +10 -0
  773. package/dist/esm/components/foreignObject/foreignObject.types.d.ts.map +1 -0
  774. package/dist/esm/components/foreignObject/foreignObject.types.js +1 -0
  775. package/dist/esm/components/foreignObject/index.d.ts +3 -0
  776. package/dist/esm/components/foreignObject/index.d.ts.map +1 -0
  777. package/dist/esm/components/foreignObject/index.js +2 -0
  778. package/dist/esm/components/index.d.ts +11 -0
  779. package/dist/esm/components/index.d.ts.map +1 -0
  780. package/dist/esm/components/index.js +10 -0
  781. package/dist/esm/components/line/index.d.ts +3 -0
  782. package/dist/esm/components/line/index.d.ts.map +1 -0
  783. package/dist/esm/components/line/index.js +2 -0
  784. package/dist/esm/components/line/line.d.ts +9 -0
  785. package/dist/esm/components/line/line.d.ts.map +1 -0
  786. package/dist/esm/components/line/line.js +9 -0
  787. package/dist/esm/components/line/line.types.d.ts +43 -0
  788. package/dist/esm/components/line/line.types.d.ts.map +1 -0
  789. package/dist/esm/components/line/line.types.js +1 -0
  790. package/dist/esm/components/node/components/circle/circle.d.ts +6 -0
  791. package/dist/esm/components/node/components/circle/circle.d.ts.map +1 -0
  792. package/dist/esm/components/node/components/circle/circle.js +6 -0
  793. package/dist/esm/components/node/components/hexagon/hexagon.d.ts +6 -0
  794. package/dist/esm/components/node/components/hexagon/hexagon.d.ts.map +1 -0
  795. package/dist/esm/components/node/components/hexagon/hexagon.js +8 -0
  796. package/dist/esm/components/node/components/index.d.ts +1 -0
  797. package/dist/esm/components/node/components/index.d.ts.map +1 -0
  798. package/dist/esm/components/node/components/index.js +1 -0
  799. package/dist/esm/components/node/components/pentagon/pentagon.d.ts +6 -0
  800. package/dist/esm/components/node/components/pentagon/pentagon.d.ts.map +1 -0
  801. package/dist/esm/components/node/components/pentagon/pentagon.js +8 -0
  802. package/dist/esm/components/node/components/square/square.d.ts +6 -0
  803. package/dist/esm/components/node/components/square/square.d.ts.map +1 -0
  804. package/dist/esm/components/node/components/square/square.js +6 -0
  805. package/dist/esm/components/node/components/star/star.d.ts +6 -0
  806. package/dist/esm/components/node/components/star/star.d.ts.map +1 -0
  807. package/dist/esm/components/node/components/star/star.js +10 -0
  808. package/dist/esm/components/node/components/straight/straight.d.ts +6 -0
  809. package/dist/esm/components/node/components/straight/straight.d.ts.map +1 -0
  810. package/dist/esm/components/node/components/straight/straight.js +7 -0
  811. package/dist/esm/components/node/components/triangle/triangle.d.ts +6 -0
  812. package/dist/esm/components/node/components/triangle/triangle.d.ts.map +1 -0
  813. package/dist/esm/components/node/components/triangle/triangle.js +11 -0
  814. package/dist/esm/components/node/index.d.ts +3 -0
  815. package/dist/esm/components/node/index.d.ts.map +1 -0
  816. package/dist/esm/components/node/index.js +2 -0
  817. package/dist/esm/components/node/node.d.ts +6 -0
  818. package/dist/esm/components/node/node.d.ts.map +1 -0
  819. package/dist/esm/components/node/node.js +98 -0
  820. package/dist/esm/components/node/node.types.d.ts +101 -0
  821. package/dist/esm/components/node/node.types.d.ts.map +1 -0
  822. package/dist/esm/components/node/node.types.js +18 -0
  823. package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +2 -0
  824. package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +1 -0
  825. package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.js +18 -0
  826. package/dist/esm/components/path/components/nodePath/nodePath.d.ts +14 -0
  827. package/dist/esm/components/path/components/nodePath/nodePath.d.ts.map +1 -0
  828. package/dist/esm/components/path/components/nodePath/nodePath.js +38 -0
  829. package/dist/esm/components/path/index.d.ts +3 -0
  830. package/dist/esm/components/path/index.d.ts.map +1 -0
  831. package/dist/esm/components/path/index.js +2 -0
  832. package/dist/esm/components/path/path.css +29 -0
  833. package/dist/esm/components/path/path.d.ts +4 -0
  834. package/dist/esm/components/path/path.d.ts.map +1 -0
  835. package/dist/esm/components/path/path.js +115 -0
  836. package/dist/esm/components/path/path.types.d.ts +74 -0
  837. package/dist/esm/components/path/path.types.d.ts.map +1 -0
  838. package/dist/esm/components/path/path.types.js +1 -0
  839. package/dist/esm/components/plot/components/circle/circle.d.ts +6 -0
  840. package/dist/esm/components/plot/components/circle/circle.d.ts.map +1 -0
  841. package/dist/esm/components/plot/components/circle/circle.js +6 -0
  842. package/dist/esm/components/plot/components/index.d.ts +4 -0
  843. package/dist/esm/components/plot/components/index.d.ts.map +1 -0
  844. package/dist/esm/components/plot/components/index.js +3 -0
  845. package/dist/esm/components/plot/components/square/square.d.ts +6 -0
  846. package/dist/esm/components/plot/components/square/square.d.ts.map +1 -0
  847. package/dist/esm/components/plot/components/square/square.js +6 -0
  848. package/dist/esm/components/plot/components/triangle/triangle.d.ts +6 -0
  849. package/dist/esm/components/plot/components/triangle/triangle.d.ts.map +1 -0
  850. package/dist/esm/components/plot/components/triangle/triangle.js +14 -0
  851. package/dist/esm/components/plot/index.d.ts +3 -0
  852. package/dist/esm/components/plot/index.d.ts.map +1 -0
  853. package/dist/esm/components/plot/index.js +2 -0
  854. package/dist/esm/components/plot/plot.css +12 -0
  855. package/dist/esm/components/plot/plot.d.ts +39 -0
  856. package/dist/esm/components/plot/plot.d.ts.map +1 -0
  857. package/dist/esm/components/plot/plot.js +95 -0
  858. package/dist/esm/components/plot/plot.types.d.ts +177 -0
  859. package/dist/esm/components/plot/plot.types.d.ts.map +1 -0
  860. package/dist/esm/components/plot/plot.types.js +51 -0
  861. package/dist/esm/components/svgContainer/index.d.ts +2 -0
  862. package/dist/esm/components/svgContainer/index.d.ts.map +1 -0
  863. package/dist/esm/components/svgContainer/index.js +1 -0
  864. package/dist/esm/components/svgContainer/svgContainer.d.ts +6 -0
  865. package/dist/esm/components/svgContainer/svgContainer.d.ts.map +1 -0
  866. package/dist/esm/components/svgContainer/svgContainer.js +34 -0
  867. package/dist/esm/components/svgContainer/svgContainer.types.d.ts +38 -0
  868. package/dist/esm/components/svgContainer/svgContainer.types.d.ts.map +1 -0
  869. package/dist/esm/components/svgContainer/svgContainer.types.js +1 -0
  870. package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +15 -0
  871. package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +1 -0
  872. package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.js +20 -0
  873. package/dist/esm/components/svgContainer/utils/index.d.ts +2 -0
  874. package/dist/esm/components/svgContainer/utils/index.d.ts.map +1 -0
  875. package/dist/esm/components/svgContainer/utils/index.js +1 -0
  876. package/dist/esm/components/tick/index.d.ts +3 -0
  877. package/dist/esm/components/tick/index.d.ts.map +1 -0
  878. package/dist/esm/components/tick/index.js +2 -0
  879. package/dist/esm/components/tick/tick.d.ts +19 -0
  880. package/dist/esm/components/tick/tick.d.ts.map +1 -0
  881. package/dist/esm/components/tick/tick.js +19 -0
  882. package/dist/esm/components/tick/tick.types.d.ts +51 -0
  883. package/dist/esm/components/tick/tick.types.d.ts.map +1 -0
  884. package/dist/esm/components/tick/tick.types.js +24 -0
  885. package/dist/esm/components/zoomArea/components/HandlerIcon.d.ts +25 -0
  886. package/dist/esm/components/zoomArea/components/HandlerIcon.d.ts.map +1 -0
  887. package/dist/esm/components/zoomArea/components/HandlerIcon.js +22 -0
  888. package/dist/esm/components/zoomArea/components/LineRenderer.d.ts +29 -0
  889. package/dist/esm/components/zoomArea/components/LineRenderer.d.ts.map +1 -0
  890. package/dist/esm/components/zoomArea/components/LineRenderer.js +11 -0
  891. package/dist/esm/components/zoomArea/components/SelectionArea.d.ts +57 -0
  892. package/dist/esm/components/zoomArea/components/SelectionArea.d.ts.map +1 -0
  893. package/dist/esm/components/zoomArea/components/SelectionArea.js +48 -0
  894. package/dist/esm/components/zoomArea/components/ZoomHandler.d.ts +42 -0
  895. package/dist/esm/components/zoomArea/components/ZoomHandler.d.ts.map +1 -0
  896. package/dist/esm/components/zoomArea/components/ZoomHandler.js +59 -0
  897. package/dist/esm/components/zoomArea/components/index.d.ts +5 -0
  898. package/dist/esm/components/zoomArea/components/index.d.ts.map +1 -0
  899. package/dist/esm/components/zoomArea/components/index.js +4 -0
  900. package/dist/esm/components/zoomArea/hooks/index.d.ts +6 -0
  901. package/dist/esm/components/zoomArea/hooks/index.d.ts.map +1 -0
  902. package/dist/esm/components/zoomArea/hooks/index.js +5 -0
  903. package/dist/esm/components/zoomArea/hooks/useDragInteraction.d.ts +42 -0
  904. package/dist/esm/components/zoomArea/hooks/useDragInteraction.d.ts.map +1 -0
  905. package/dist/esm/components/zoomArea/hooks/useDragInteraction.js +110 -0
  906. package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.d.ts +30 -0
  907. package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +1 -0
  908. package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.js +122 -0
  909. package/dist/esm/components/zoomArea/hooks/useResponsiveCanvas.d.ts +62 -0
  910. package/dist/esm/components/zoomArea/hooks/useResponsiveCanvas.d.ts.map +1 -0
  911. package/dist/esm/components/zoomArea/hooks/useResponsiveCanvas.js +70 -0
  912. package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.d.ts +24 -0
  913. package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +1 -0
  914. package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.js +28 -0
  915. package/dist/esm/components/zoomArea/hooks/useZoomData.d.ts +33 -0
  916. package/dist/esm/components/zoomArea/hooks/useZoomData.d.ts.map +1 -0
  917. package/dist/esm/components/zoomArea/hooks/useZoomData.js +31 -0
  918. package/dist/esm/components/zoomArea/index.d.ts +6 -0
  919. package/dist/esm/components/zoomArea/index.d.ts.map +1 -0
  920. package/dist/esm/components/zoomArea/index.js +5 -0
  921. package/dist/esm/components/zoomArea/utils/accessibilityLabels.d.ts +28 -0
  922. package/dist/esm/components/zoomArea/utils/accessibilityLabels.d.ts.map +1 -0
  923. package/dist/esm/components/zoomArea/utils/accessibilityLabels.js +60 -0
  924. package/dist/esm/components/zoomArea/utils/index.d.ts +4 -0
  925. package/dist/esm/components/zoomArea/utils/index.d.ts.map +1 -0
  926. package/dist/esm/components/zoomArea/utils/index.js +3 -0
  927. package/dist/esm/components/zoomArea/utils/indexRounding.d.ts +63 -0
  928. package/dist/esm/components/zoomArea/utils/indexRounding.d.ts.map +1 -0
  929. package/dist/esm/components/zoomArea/utils/indexRounding.js +68 -0
  930. package/dist/esm/components/zoomArea/utils/interactionConfig.d.ts +10 -0
  931. package/dist/esm/components/zoomArea/utils/interactionConfig.d.ts.map +1 -0
  932. package/dist/esm/components/zoomArea/utils/interactionConfig.js +23 -0
  933. package/dist/esm/components/zoomArea/utils/pathGeneration.d.ts +57 -0
  934. package/dist/esm/components/zoomArea/utils/pathGeneration.d.ts.map +1 -0
  935. package/dist/esm/components/zoomArea/utils/pathGeneration.js +112 -0
  936. package/dist/esm/components/zoomArea/utils/rangeAndPositions.d.ts +60 -0
  937. package/dist/esm/components/zoomArea/utils/rangeAndPositions.d.ts.map +1 -0
  938. package/dist/esm/components/zoomArea/utils/rangeAndPositions.js +75 -0
  939. package/dist/esm/components/zoomArea/utils/selectionConfig.d.ts +10 -0
  940. package/dist/esm/components/zoomArea/utils/selectionConfig.d.ts.map +1 -0
  941. package/dist/esm/components/zoomArea/utils/selectionConfig.js +29 -0
  942. package/dist/esm/components/zoomArea/zoomArea.d.ts +12 -0
  943. package/dist/esm/components/zoomArea/zoomArea.d.ts.map +1 -0
  944. package/dist/esm/components/zoomArea/zoomArea.js +80 -0
  945. package/dist/esm/components/zoomArea/zoomArea.type.d.ts +153 -0
  946. package/dist/esm/components/zoomArea/zoomArea.type.d.ts.map +1 -0
  947. package/dist/esm/components/zoomArea/zoomArea.type.js +8 -0
  948. package/dist/esm/hooks/index.d.ts +3 -0
  949. package/dist/esm/hooks/index.d.ts.map +1 -0
  950. package/dist/esm/hooks/index.js +2 -0
  951. package/dist/esm/hooks/useFocus/useFocus.d.ts +15 -0
  952. package/dist/esm/hooks/useFocus/useFocus.d.ts.map +1 -0
  953. package/dist/esm/hooks/useFocus/useFocus.js +25 -0
  954. package/dist/esm/hooks/useFocus/useFocus.types.d.ts +30 -0
  955. package/dist/esm/hooks/useFocus/useFocus.types.d.ts.map +1 -0
  956. package/dist/esm/hooks/useFocus/useFocus.types.js +1 -0
  957. package/dist/esm/hooks/useHover/useHover.d.ts +13 -0
  958. package/dist/esm/hooks/useHover/useHover.d.ts.map +1 -0
  959. package/dist/esm/hooks/useHover/useHover.js +27 -0
  960. package/dist/esm/hooks/useHover/useHover.types.d.ts +30 -0
  961. package/dist/esm/hooks/useHover/useHover.types.d.ts.map +1 -0
  962. package/dist/esm/hooks/useHover/useHover.types.js +1 -0
  963. package/dist/esm/index.d.ts +4 -0
  964. package/dist/esm/index.d.ts.map +1 -0
  965. package/dist/esm/index.js +3 -0
  966. package/dist/esm/types/canvas.type.d.ts +20 -0
  967. package/dist/esm/types/canvas.type.d.ts.map +1 -0
  968. package/dist/esm/types/canvas.type.js +11 -0
  969. package/dist/esm/types/errors.type.d.ts +10 -0
  970. package/dist/esm/types/errors.type.d.ts.map +1 -0
  971. package/dist/esm/types/errors.type.js +3 -0
  972. package/dist/esm/types/focusConfig.type.d.ts +29 -0
  973. package/dist/esm/types/focusConfig.type.d.ts.map +1 -0
  974. package/dist/esm/types/focusConfig.type.js +12 -0
  975. package/dist/esm/types/index.d.ts +5 -0
  976. package/dist/esm/types/index.d.ts.map +1 -0
  977. package/dist/esm/types/index.js +4 -0
  978. package/dist/esm/types/position.enum.d.ts +18 -0
  979. package/dist/esm/types/position.enum.d.ts.map +1 -0
  980. package/dist/esm/types/position.enum.js +17 -0
  981. package/dist/esm/types/unit.enum.d.ts +12 -0
  982. package/dist/esm/types/unit.enum.d.ts.map +1 -0
  983. package/dist/esm/types/unit.enum.js +11 -0
  984. package/dist/esm/types/valueFormatter.type.d.ts +7 -0
  985. package/dist/esm/types/valueFormatter.type.d.ts.map +1 -0
  986. package/dist/esm/types/valueFormatter.type.js +1 -0
  987. package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.d.ts +2 -0
  988. package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +1 -0
  989. package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.js +15 -0
  990. package/dist/esm/utils/buildErrors/buildErrors.d.ts +6 -0
  991. package/dist/esm/utils/buildErrors/buildErrors.d.ts.map +1 -0
  992. package/dist/esm/utils/buildErrors/buildErrors.js +8 -0
  993. package/dist/esm/utils/buildTickValues/buildTickValues.d.ts +28 -0
  994. package/dist/esm/utils/buildTickValues/buildTickValues.d.ts.map +1 -0
  995. package/dist/esm/utils/buildTickValues/buildTickValues.js +47 -0
  996. package/dist/esm/utils/calculateFocusOutline/calculateFocusOutline.d.ts +73 -0
  997. package/dist/esm/utils/calculateFocusOutline/calculateFocusOutline.d.ts.map +1 -0
  998. package/dist/esm/utils/calculateFocusOutline/calculateFocusOutline.js +80 -0
  999. package/dist/esm/utils/classNames/classNames.d.ts +14 -0
  1000. package/dist/esm/utils/classNames/classNames.d.ts.map +1 -0
  1001. package/dist/esm/utils/classNames/classNames.js +25 -0
  1002. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.d.ts +21 -0
  1003. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +1 -0
  1004. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.js +46 -0
  1005. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +12 -0
  1006. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +1 -0
  1007. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.js +1 -0
  1008. package/dist/esm/utils/cursorNear/isNear.d.ts +2 -0
  1009. package/dist/esm/utils/cursorNear/isNear.d.ts.map +1 -0
  1010. package/dist/esm/utils/cursorNear/isNear.js +3 -0
  1011. package/dist/esm/utils/getAxisData/getAxisData.d.ts +2 -0
  1012. package/dist/esm/utils/getAxisData/getAxisData.d.ts.map +1 -0
  1013. package/dist/esm/utils/getAxisData/getAxisData.js +3 -0
  1014. package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.d.ts +22 -0
  1015. package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +1 -0
  1016. package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.js +97 -0
  1017. package/dist/esm/utils/getChildrenAttr/getChildrenAttr.d.ts +10 -0
  1018. package/dist/esm/utils/getChildrenAttr/getChildrenAttr.d.ts.map +1 -0
  1019. package/dist/esm/utils/getChildrenAttr/getChildrenAttr.js +15 -0
  1020. package/dist/esm/utils/getCoordinates/getCoordinates.d.ts +47 -0
  1021. package/dist/esm/utils/getCoordinates/getCoordinates.d.ts.map +1 -0
  1022. package/dist/esm/utils/getCoordinates/getCoordinates.js +90 -0
  1023. package/dist/esm/utils/getDataFingerprint/getDataFingerprint.d.ts +12 -0
  1024. package/dist/esm/utils/getDataFingerprint/getDataFingerprint.d.ts.map +1 -0
  1025. package/dist/esm/utils/getDataFingerprint/getDataFingerprint.js +10 -0
  1026. package/dist/esm/utils/getPoints/getPoints.d.ts +10 -0
  1027. package/dist/esm/utils/getPoints/getPoints.d.ts.map +1 -0
  1028. package/dist/esm/utils/getPoints/getPoints.js +49 -0
  1029. package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +21 -0
  1030. package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +1 -0
  1031. package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.js +30 -0
  1032. package/dist/esm/utils/getTicks/getTicks.d.ts +35 -0
  1033. package/dist/esm/utils/getTicks/getTicks.d.ts.map +1 -0
  1034. package/dist/esm/utils/getTicks/getTicks.js +49 -0
  1035. package/dist/esm/utils/index.d.ts +9 -0
  1036. package/dist/esm/utils/index.d.ts.map +1 -0
  1037. package/dist/esm/utils/index.js +8 -0
  1038. package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +11 -0
  1039. package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +1 -0
  1040. package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +29 -0
  1041. package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.d.ts +33 -0
  1042. package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +1 -0
  1043. package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.js +46 -0
  1044. package/dist/esm/utils/shadowSvg/shadowSvg.d.ts +3 -0
  1045. package/dist/esm/utils/shadowSvg/shadowSvg.d.ts.map +1 -0
  1046. package/dist/esm/utils/shadowSvg/shadowSvg.js +4 -0
  1047. package/dist/esm/utils/shadowSvg/shadowSvg.types.d.ts +35 -0
  1048. package/dist/esm/utils/shadowSvg/shadowSvg.types.d.ts.map +1 -0
  1049. package/dist/esm/utils/shadowSvg/shadowSvg.types.js +1 -0
  1050. package/dist/esm/utils/textBound/textBound.d.ts +11 -0
  1051. package/dist/esm/utils/textBound/textBound.d.ts.map +1 -0
  1052. package/dist/esm/utils/textBound/textBound.js +22 -0
  1053. package/dist/kubit-ui-web-react-charts.cjs.js +10 -0
  1054. package/dist/kubit-ui-web-react-charts.es.js +10 -0
  1055. package/dist/kubit-ui-web-react-charts.umd.js +10 -0
  1056. package/dist/react-charts.css +1 -0
  1057. package/dist/types/assets/index.d.ts +2 -0
  1058. package/dist/types/assets/index.d.ts.map +1 -0
  1059. package/dist/types/charts/barChart/barChart.d.ts +9 -0
  1060. package/dist/types/charts/barChart/barChart.d.ts.map +1 -0
  1061. package/dist/types/charts/barChart/barChart.type.d.ts +116 -0
  1062. package/dist/types/charts/barChart/barChart.type.d.ts.map +1 -0
  1063. package/dist/types/charts/barChart/barChartStructure.d.ts +3 -0
  1064. package/dist/types/charts/barChart/barChartStructure.d.ts.map +1 -0
  1065. package/dist/types/charts/barChart/context/barChartContext.d.ts +3 -0
  1066. package/dist/types/charts/barChart/context/barChartContext.d.ts.map +1 -0
  1067. package/dist/types/charts/barChart/context/buildBarContextValues.d.ts +24 -0
  1068. package/dist/types/charts/barChart/context/buildBarContextValues.d.ts.map +1 -0
  1069. package/dist/types/charts/barChart/fragments/barChartPath.d.ts +3 -0
  1070. package/dist/types/charts/barChart/fragments/barChartPath.d.ts.map +1 -0
  1071. package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts +4 -0
  1072. package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts.map +1 -0
  1073. package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts +4 -0
  1074. package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts.map +1 -0
  1075. package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts +4 -0
  1076. package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts.map +1 -0
  1077. package/dist/types/charts/barChart/fragments/fixture/barContextData.d.ts +3 -0
  1078. package/dist/types/charts/barChart/fragments/fixture/barContextData.d.ts.map +1 -0
  1079. package/dist/types/charts/barChart/fragments/fixture/index.d.ts +2 -0
  1080. package/dist/types/charts/barChart/fragments/fixture/index.d.ts.map +1 -0
  1081. package/dist/types/charts/barChart/index.d.ts +2 -0
  1082. package/dist/types/charts/barChart/index.d.ts.map +1 -0
  1083. package/dist/types/charts/barChart/utils/countBarChildren.d.ts +3 -0
  1084. package/dist/types/charts/barChart/utils/countBarChildren.d.ts.map +1 -0
  1085. package/dist/types/charts/barChart/utils/getAxisExtraSpacing.d.ts +17 -0
  1086. package/dist/types/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +1 -0
  1087. package/dist/types/charts/barChart/utils/getBarDataValue.d.ts +8 -0
  1088. package/dist/types/charts/barChart/utils/getBarDataValue.d.ts.map +1 -0
  1089. package/dist/types/charts/barChart/utils/getRoundedBarMaxValue.d.ts +9 -0
  1090. package/dist/types/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +1 -0
  1091. package/dist/types/charts/index.d.ts +4 -0
  1092. package/dist/types/charts/index.d.ts.map +1 -0
  1093. package/dist/types/charts/lineChart/context/buildLineContextValue.d.ts +21 -0
  1094. package/dist/types/charts/lineChart/context/buildLineContextValue.d.ts.map +1 -0
  1095. package/dist/types/charts/lineChart/context/index.d.ts +3 -0
  1096. package/dist/types/charts/lineChart/context/index.d.ts.map +1 -0
  1097. package/dist/types/charts/lineChart/context/lineChartContext.d.ts +3 -0
  1098. package/dist/types/charts/lineChart/context/lineChartContext.d.ts.map +1 -0
  1099. package/dist/types/charts/lineChart/fragments/fixture/contextData.d.ts +43 -0
  1100. package/dist/types/charts/lineChart/fragments/fixture/contextData.d.ts.map +1 -0
  1101. package/dist/types/charts/lineChart/fragments/fixture/index.d.ts +2 -0
  1102. package/dist/types/charts/lineChart/fragments/fixture/index.d.ts.map +1 -0
  1103. package/dist/types/charts/lineChart/fragments/index.d.ts +5 -0
  1104. package/dist/types/charts/lineChart/fragments/index.d.ts.map +1 -0
  1105. package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts +4 -0
  1106. package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts.map +1 -0
  1107. package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts +4 -0
  1108. package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts.map +1 -0
  1109. package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts +4 -0
  1110. package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts.map +1 -0
  1111. package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts +4 -0
  1112. package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts.map +1 -0
  1113. package/dist/types/charts/lineChart/fragments/lineChartYAxis.d.ts +3 -0
  1114. package/dist/types/charts/lineChart/fragments/lineChartYAxis.d.ts.map +1 -0
  1115. package/dist/types/charts/lineChart/hook/index.d.ts +4 -0
  1116. package/dist/types/charts/lineChart/hook/index.d.ts.map +1 -0
  1117. package/dist/types/charts/lineChart/hook/useAutoClick.d.ts +4 -0
  1118. package/dist/types/charts/lineChart/hook/useAutoClick.d.ts.map +1 -0
  1119. package/dist/types/charts/lineChart/hook/useHover.d.ts +12 -0
  1120. package/dist/types/charts/lineChart/hook/useHover.d.ts.map +1 -0
  1121. package/dist/types/charts/lineChart/hook/useIndicator.d.ts +7 -0
  1122. package/dist/types/charts/lineChart/hook/useIndicator.d.ts.map +1 -0
  1123. package/dist/types/charts/lineChart/index.d.ts +2 -0
  1124. package/dist/types/charts/lineChart/index.d.ts.map +1 -0
  1125. package/dist/types/charts/lineChart/lineChart.d.ts +9 -0
  1126. package/dist/types/charts/lineChart/lineChart.d.ts.map +1 -0
  1127. package/dist/types/charts/lineChart/lineChart.type.d.ts +164 -0
  1128. package/dist/types/charts/lineChart/lineChart.type.d.ts.map +1 -0
  1129. package/dist/types/charts/lineChart/lineChartStructure.d.ts +33 -0
  1130. package/dist/types/charts/lineChart/lineChartStructure.d.ts.map +1 -0
  1131. package/dist/types/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +14 -0
  1132. package/dist/types/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +1 -0
  1133. package/dist/types/charts/lineChart/utils/findSurroundingNumber.d.ts +8 -0
  1134. package/dist/types/charts/lineChart/utils/findSurroundingNumber.d.ts.map +1 -0
  1135. package/dist/types/charts/lineChart/utils/getDataValues.d.ts +8 -0
  1136. package/dist/types/charts/lineChart/utils/getDataValues.d.ts.map +1 -0
  1137. package/dist/types/charts/lineChart/utils/getExtraSpacing.d.ts +19 -0
  1138. package/dist/types/charts/lineChart/utils/getExtraSpacing.d.ts.map +1 -0
  1139. package/dist/types/charts/lineChart/utils/getPathData.d.ts +18 -0
  1140. package/dist/types/charts/lineChart/utils/getPathData.d.ts.map +1 -0
  1141. package/dist/types/charts/lineChart/utils/getProjection.d.ts +33 -0
  1142. package/dist/types/charts/lineChart/utils/getProjection.d.ts.map +1 -0
  1143. package/dist/types/charts/lineChart/utils/getRoundedMaxValue.d.ts +17 -0
  1144. package/dist/types/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +1 -0
  1145. package/dist/types/charts/lineChart/utils/handleNodesFocus.d.ts +17 -0
  1146. package/dist/types/charts/lineChart/utils/handleNodesFocus.d.ts.map +1 -0
  1147. package/dist/types/charts/lineChart/utils/index.d.ts +7 -0
  1148. package/dist/types/charts/lineChart/utils/index.d.ts.map +1 -0
  1149. package/dist/types/charts/pieChart/context/buildPieContextValue.d.ts +16 -0
  1150. package/dist/types/charts/pieChart/context/buildPieContextValue.d.ts.map +1 -0
  1151. package/dist/types/charts/pieChart/context/index.d.ts +3 -0
  1152. package/dist/types/charts/pieChart/context/index.d.ts.map +1 -0
  1153. package/dist/types/charts/pieChart/context/pieChartContext.d.ts +3 -0
  1154. package/dist/types/charts/pieChart/context/pieChartContext.d.ts.map +1 -0
  1155. package/dist/types/charts/pieChart/fragments/index.d.ts +3 -0
  1156. package/dist/types/charts/pieChart/fragments/index.d.ts.map +1 -0
  1157. package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts +4 -0
  1158. package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts.map +1 -0
  1159. package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts +15 -0
  1160. package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts.map +1 -0
  1161. package/dist/types/charts/pieChart/fragments/pieChartSegment.d.ts +18 -0
  1162. package/dist/types/charts/pieChart/fragments/pieChartSegment.d.ts.map +1 -0
  1163. package/dist/types/charts/pieChart/index.d.ts +2 -0
  1164. package/dist/types/charts/pieChart/index.d.ts.map +1 -0
  1165. package/dist/types/charts/pieChart/pieChart.d.ts +7 -0
  1166. package/dist/types/charts/pieChart/pieChart.d.ts.map +1 -0
  1167. package/dist/types/charts/pieChart/pieChart.type.d.ts +65 -0
  1168. package/dist/types/charts/pieChart/pieChart.type.d.ts.map +1 -0
  1169. package/dist/types/charts/pieChart/pieChartStructure.d.ts +34 -0
  1170. package/dist/types/charts/pieChart/pieChartStructure.d.ts.map +1 -0
  1171. package/dist/types/charts/pieChart/utils/buildL.d.ts +13 -0
  1172. package/dist/types/charts/pieChart/utils/buildL.d.ts.map +1 -0
  1173. package/dist/types/charts/pieChart/utils/calculatePoint.d.ts +15 -0
  1174. package/dist/types/charts/pieChart/utils/calculatePoint.d.ts.map +1 -0
  1175. package/dist/types/charts/pieChart/utils/calculateSegmentPath.d.ts +34 -0
  1176. package/dist/types/charts/pieChart/utils/calculateSegmentPath.d.ts.map +1 -0
  1177. package/dist/types/charts/pieChart/utils/drawSegmentPath.d.ts +20 -0
  1178. package/dist/types/charts/pieChart/utils/drawSegmentPath.d.ts.map +1 -0
  1179. package/dist/types/charts/pieChart/utils/index.d.ts +3 -0
  1180. package/dist/types/charts/pieChart/utils/index.d.ts.map +1 -0
  1181. package/dist/types/charts/pieChart/utils/rotationDirection.d.ts +18 -0
  1182. package/dist/types/charts/pieChart/utils/rotationDirection.d.ts.map +1 -0
  1183. package/dist/types/components/axisChart/index.d.ts +3 -0
  1184. package/dist/types/components/axisChart/index.d.ts.map +1 -0
  1185. package/dist/types/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +18 -0
  1186. package/dist/types/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +1 -0
  1187. package/dist/types/components/axisChart/utils/index.d.ts +2 -0
  1188. package/dist/types/components/axisChart/utils/index.d.ts.map +1 -0
  1189. package/dist/types/components/axisChart/xAxis/index.d.ts +3 -0
  1190. package/dist/types/components/axisChart/xAxis/index.d.ts.map +1 -0
  1191. package/dist/types/components/axisChart/xAxis/xAxis.d.ts +11 -0
  1192. package/dist/types/components/axisChart/xAxis/xAxis.d.ts.map +1 -0
  1193. package/dist/types/components/axisChart/xAxis/xAxis.types.d.ts +40 -0
  1194. package/dist/types/components/axisChart/xAxis/xAxis.types.d.ts.map +1 -0
  1195. package/dist/types/components/axisChart/yAxis/index.d.ts +3 -0
  1196. package/dist/types/components/axisChart/yAxis/index.d.ts.map +1 -0
  1197. package/dist/types/components/axisChart/yAxis/yAxis.d.ts +8 -0
  1198. package/dist/types/components/axisChart/yAxis/yAxis.d.ts.map +1 -0
  1199. package/dist/types/components/axisChart/yAxis/yAxis.types.d.ts +37 -0
  1200. package/dist/types/components/axisChart/yAxis/yAxis.types.d.ts.map +1 -0
  1201. package/dist/types/components/bar/bar.d.ts +4 -0
  1202. package/dist/types/components/bar/bar.d.ts.map +1 -0
  1203. package/dist/types/components/bar/bar.type.d.ts +32 -0
  1204. package/dist/types/components/bar/bar.type.d.ts.map +1 -0
  1205. package/dist/types/components/bar/fragments/barChartSegment.d.ts +3 -0
  1206. package/dist/types/components/bar/fragments/barChartSegment.d.ts.map +1 -0
  1207. package/dist/types/components/bar/index.d.ts +3 -0
  1208. package/dist/types/components/bar/index.d.ts.map +1 -0
  1209. package/dist/types/components/bar/utils/buildD.d.ts +9 -0
  1210. package/dist/types/components/bar/utils/buildD.d.ts.map +1 -0
  1211. package/dist/types/components/bar/utils/getSegments.d.ts +6 -0
  1212. package/dist/types/components/bar/utils/getSegments.d.ts.map +1 -0
  1213. package/dist/types/components/chartText/chartText.d.ts +18 -0
  1214. package/dist/types/components/chartText/chartText.d.ts.map +1 -0
  1215. package/dist/types/components/chartText/chartText.types.d.ts +57 -0
  1216. package/dist/types/components/chartText/chartText.types.d.ts.map +1 -0
  1217. package/dist/types/components/chartText/index.d.ts +3 -0
  1218. package/dist/types/components/chartText/index.d.ts.map +1 -0
  1219. package/dist/types/components/foreignObject/foreignObject.d.ts +4 -0
  1220. package/dist/types/components/foreignObject/foreignObject.d.ts.map +1 -0
  1221. package/dist/types/components/foreignObject/foreignObject.types.d.ts +10 -0
  1222. package/dist/types/components/foreignObject/foreignObject.types.d.ts.map +1 -0
  1223. package/dist/types/components/foreignObject/index.d.ts +3 -0
  1224. package/dist/types/components/foreignObject/index.d.ts.map +1 -0
  1225. package/dist/types/components/index.d.ts +11 -0
  1226. package/dist/types/components/index.d.ts.map +1 -0
  1227. package/dist/types/components/line/index.d.ts +3 -0
  1228. package/dist/types/components/line/index.d.ts.map +1 -0
  1229. package/dist/types/components/line/line.d.ts +9 -0
  1230. package/dist/types/components/line/line.d.ts.map +1 -0
  1231. package/dist/types/components/line/line.types.d.ts +43 -0
  1232. package/dist/types/components/line/line.types.d.ts.map +1 -0
  1233. package/dist/types/components/node/components/circle/circle.d.ts +6 -0
  1234. package/dist/types/components/node/components/circle/circle.d.ts.map +1 -0
  1235. package/dist/types/components/node/components/hexagon/hexagon.d.ts +6 -0
  1236. package/dist/types/components/node/components/hexagon/hexagon.d.ts.map +1 -0
  1237. package/dist/types/components/node/components/index.d.ts +1 -0
  1238. package/dist/types/components/node/components/index.d.ts.map +1 -0
  1239. package/dist/types/components/node/components/pentagon/pentagon.d.ts +6 -0
  1240. package/dist/types/components/node/components/pentagon/pentagon.d.ts.map +1 -0
  1241. package/dist/types/components/node/components/square/square.d.ts +6 -0
  1242. package/dist/types/components/node/components/square/square.d.ts.map +1 -0
  1243. package/dist/types/components/node/components/star/star.d.ts +6 -0
  1244. package/dist/types/components/node/components/star/star.d.ts.map +1 -0
  1245. package/dist/types/components/node/components/straight/straight.d.ts +6 -0
  1246. package/dist/types/components/node/components/straight/straight.d.ts.map +1 -0
  1247. package/dist/types/components/node/components/triangle/triangle.d.ts +6 -0
  1248. package/dist/types/components/node/components/triangle/triangle.d.ts.map +1 -0
  1249. package/dist/types/components/node/index.d.ts +3 -0
  1250. package/dist/types/components/node/index.d.ts.map +1 -0
  1251. package/dist/types/components/node/node.d.ts +6 -0
  1252. package/dist/types/components/node/node.d.ts.map +1 -0
  1253. package/dist/types/components/node/node.types.d.ts +101 -0
  1254. package/dist/types/components/node/node.types.d.ts.map +1 -0
  1255. package/dist/types/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +2 -0
  1256. package/dist/types/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +1 -0
  1257. package/dist/types/components/path/components/nodePath/nodePath.d.ts +14 -0
  1258. package/dist/types/components/path/components/nodePath/nodePath.d.ts.map +1 -0
  1259. package/dist/types/components/path/index.d.ts +3 -0
  1260. package/dist/types/components/path/index.d.ts.map +1 -0
  1261. package/dist/types/components/path/path.d.ts +3 -0
  1262. package/dist/types/components/path/path.d.ts.map +1 -0
  1263. package/dist/types/components/path/path.types.d.ts +74 -0
  1264. package/dist/types/components/path/path.types.d.ts.map +1 -0
  1265. package/dist/types/components/plot/components/circle/circle.d.ts +6 -0
  1266. package/dist/types/components/plot/components/circle/circle.d.ts.map +1 -0
  1267. package/dist/types/components/plot/components/index.d.ts +4 -0
  1268. package/dist/types/components/plot/components/index.d.ts.map +1 -0
  1269. package/dist/types/components/plot/components/square/square.d.ts +6 -0
  1270. package/dist/types/components/plot/components/square/square.d.ts.map +1 -0
  1271. package/dist/types/components/plot/components/triangle/triangle.d.ts +6 -0
  1272. package/dist/types/components/plot/components/triangle/triangle.d.ts.map +1 -0
  1273. package/dist/types/components/plot/index.d.ts +3 -0
  1274. package/dist/types/components/plot/index.d.ts.map +1 -0
  1275. package/dist/types/components/plot/plot.d.ts +38 -0
  1276. package/dist/types/components/plot/plot.d.ts.map +1 -0
  1277. package/dist/types/components/plot/plot.types.d.ts +177 -0
  1278. package/dist/types/components/plot/plot.types.d.ts.map +1 -0
  1279. package/dist/types/components/svgContainer/index.d.ts +2 -0
  1280. package/dist/types/components/svgContainer/index.d.ts.map +1 -0
  1281. package/dist/types/components/svgContainer/svgContainer.d.ts +6 -0
  1282. package/dist/types/components/svgContainer/svgContainer.d.ts.map +1 -0
  1283. package/dist/types/components/svgContainer/svgContainer.types.d.ts +38 -0
  1284. package/dist/types/components/svgContainer/svgContainer.types.d.ts.map +1 -0
  1285. package/dist/types/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +15 -0
  1286. package/dist/types/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +1 -0
  1287. package/dist/types/components/svgContainer/utils/index.d.ts +2 -0
  1288. package/dist/types/components/svgContainer/utils/index.d.ts.map +1 -0
  1289. package/dist/types/components/tick/index.d.ts +3 -0
  1290. package/dist/types/components/tick/index.d.ts.map +1 -0
  1291. package/dist/types/components/tick/tick.d.ts +19 -0
  1292. package/dist/types/components/tick/tick.d.ts.map +1 -0
  1293. package/dist/types/components/tick/tick.types.d.ts +51 -0
  1294. package/dist/types/components/tick/tick.types.d.ts.map +1 -0
  1295. package/dist/types/components/zoomArea/components/HandlerIcon.d.ts +25 -0
  1296. package/dist/types/components/zoomArea/components/HandlerIcon.d.ts.map +1 -0
  1297. package/dist/types/components/zoomArea/components/LineRenderer.d.ts +29 -0
  1298. package/dist/types/components/zoomArea/components/LineRenderer.d.ts.map +1 -0
  1299. package/dist/types/components/zoomArea/components/SelectionArea.d.ts +57 -0
  1300. package/dist/types/components/zoomArea/components/SelectionArea.d.ts.map +1 -0
  1301. package/dist/types/components/zoomArea/components/ZoomHandler.d.ts +42 -0
  1302. package/dist/types/components/zoomArea/components/ZoomHandler.d.ts.map +1 -0
  1303. package/dist/types/components/zoomArea/components/index.d.ts +5 -0
  1304. package/dist/types/components/zoomArea/components/index.d.ts.map +1 -0
  1305. package/dist/types/components/zoomArea/hooks/index.d.ts +6 -0
  1306. package/dist/types/components/zoomArea/hooks/index.d.ts.map +1 -0
  1307. package/dist/types/components/zoomArea/hooks/useDragInteraction.d.ts +42 -0
  1308. package/dist/types/components/zoomArea/hooks/useDragInteraction.d.ts.map +1 -0
  1309. package/dist/types/components/zoomArea/hooks/useKeyboardNavigation.d.ts +30 -0
  1310. package/dist/types/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +1 -0
  1311. package/dist/types/components/zoomArea/hooks/useResponsiveCanvas.d.ts +62 -0
  1312. package/dist/types/components/zoomArea/hooks/useResponsiveCanvas.d.ts.map +1 -0
  1313. package/dist/types/components/zoomArea/hooks/useZoomAreaFocus.d.ts +24 -0
  1314. package/dist/types/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +1 -0
  1315. package/dist/types/components/zoomArea/hooks/useZoomData.d.ts +33 -0
  1316. package/dist/types/components/zoomArea/hooks/useZoomData.d.ts.map +1 -0
  1317. package/dist/types/components/zoomArea/index.d.ts +6 -0
  1318. package/dist/types/components/zoomArea/index.d.ts.map +1 -0
  1319. package/dist/types/components/zoomArea/utils/accessibilityLabels.d.ts +28 -0
  1320. package/dist/types/components/zoomArea/utils/accessibilityLabels.d.ts.map +1 -0
  1321. package/dist/types/components/zoomArea/utils/index.d.ts +4 -0
  1322. package/dist/types/components/zoomArea/utils/index.d.ts.map +1 -0
  1323. package/dist/types/components/zoomArea/utils/indexRounding.d.ts +63 -0
  1324. package/dist/types/components/zoomArea/utils/indexRounding.d.ts.map +1 -0
  1325. package/dist/types/components/zoomArea/utils/interactionConfig.d.ts +10 -0
  1326. package/dist/types/components/zoomArea/utils/interactionConfig.d.ts.map +1 -0
  1327. package/dist/types/components/zoomArea/utils/pathGeneration.d.ts +57 -0
  1328. package/dist/types/components/zoomArea/utils/pathGeneration.d.ts.map +1 -0
  1329. package/dist/types/components/zoomArea/utils/rangeAndPositions.d.ts +60 -0
  1330. package/dist/types/components/zoomArea/utils/rangeAndPositions.d.ts.map +1 -0
  1331. package/dist/types/components/zoomArea/utils/selectionConfig.d.ts +10 -0
  1332. package/dist/types/components/zoomArea/utils/selectionConfig.d.ts.map +1 -0
  1333. package/dist/types/components/zoomArea/zoomArea.d.ts +12 -0
  1334. package/dist/types/components/zoomArea/zoomArea.d.ts.map +1 -0
  1335. package/dist/types/components/zoomArea/zoomArea.type.d.ts +153 -0
  1336. package/dist/types/components/zoomArea/zoomArea.type.d.ts.map +1 -0
  1337. package/dist/types/hooks/index.d.ts +3 -0
  1338. package/dist/types/hooks/index.d.ts.map +1 -0
  1339. package/dist/types/hooks/useFocus/useFocus.d.ts +15 -0
  1340. package/dist/types/hooks/useFocus/useFocus.d.ts.map +1 -0
  1341. package/dist/types/hooks/useFocus/useFocus.types.d.ts +30 -0
  1342. package/dist/types/hooks/useFocus/useFocus.types.d.ts.map +1 -0
  1343. package/dist/types/hooks/useHover/useHover.d.ts +13 -0
  1344. package/dist/types/hooks/useHover/useHover.d.ts.map +1 -0
  1345. package/dist/types/hooks/useHover/useHover.types.d.ts +30 -0
  1346. package/dist/types/hooks/useHover/useHover.types.d.ts.map +1 -0
  1347. package/dist/types/index.d.ts +4 -0
  1348. package/dist/types/index.d.ts.map +1 -0
  1349. package/dist/types/types/canvas.type.d.ts +20 -0
  1350. package/dist/types/types/canvas.type.d.ts.map +1 -0
  1351. package/dist/types/types/errors.type.d.ts +10 -0
  1352. package/dist/types/types/errors.type.d.ts.map +1 -0
  1353. package/dist/types/types/focusConfig.type.d.ts +29 -0
  1354. package/dist/types/types/focusConfig.type.d.ts.map +1 -0
  1355. package/dist/types/types/index.d.ts +5 -0
  1356. package/dist/types/types/index.d.ts.map +1 -0
  1357. package/dist/types/types/position.enum.d.ts +18 -0
  1358. package/dist/types/types/position.enum.d.ts.map +1 -0
  1359. package/dist/types/types/unit.enum.d.ts +12 -0
  1360. package/dist/types/types/unit.enum.d.ts.map +1 -0
  1361. package/dist/types/types/valueFormatter.type.d.ts +7 -0
  1362. package/dist/types/types/valueFormatter.type.d.ts.map +1 -0
  1363. package/dist/types/utils/ajustedTextSpace/ajustedTextSpace.d.ts +2 -0
  1364. package/dist/types/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +1 -0
  1365. package/dist/types/utils/buildErrors/buildErrors.d.ts +6 -0
  1366. package/dist/types/utils/buildErrors/buildErrors.d.ts.map +1 -0
  1367. package/dist/types/utils/buildTickValues/buildTickValues.d.ts +28 -0
  1368. package/dist/types/utils/buildTickValues/buildTickValues.d.ts.map +1 -0
  1369. package/dist/types/utils/calculateFocusOutline/calculateFocusOutline.d.ts +73 -0
  1370. package/dist/types/utils/calculateFocusOutline/calculateFocusOutline.d.ts.map +1 -0
  1371. package/dist/types/utils/classNames/classNames.d.ts +14 -0
  1372. package/dist/types/utils/classNames/classNames.d.ts.map +1 -0
  1373. package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.d.ts +21 -0
  1374. package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +1 -0
  1375. package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +12 -0
  1376. package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +1 -0
  1377. package/dist/types/utils/cursorNear/isNear.d.ts +2 -0
  1378. package/dist/types/utils/cursorNear/isNear.d.ts.map +1 -0
  1379. package/dist/types/utils/getAxisData/getAxisData.d.ts +2 -0
  1380. package/dist/types/utils/getAxisData/getAxisData.d.ts.map +1 -0
  1381. package/dist/types/utils/getCanvasDimensions/getCanvasDimensions.d.ts +22 -0
  1382. package/dist/types/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +1 -0
  1383. package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts +10 -0
  1384. package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts.map +1 -0
  1385. package/dist/types/utils/getCoordinates/getCoordinates.d.ts +47 -0
  1386. package/dist/types/utils/getCoordinates/getCoordinates.d.ts.map +1 -0
  1387. package/dist/types/utils/getDataFingerprint/getDataFingerprint.d.ts +12 -0
  1388. package/dist/types/utils/getDataFingerprint/getDataFingerprint.d.ts.map +1 -0
  1389. package/dist/types/utils/getPoints/getPoints.d.ts +10 -0
  1390. package/dist/types/utils/getPoints/getPoints.d.ts.map +1 -0
  1391. package/dist/types/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +21 -0
  1392. package/dist/types/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +1 -0
  1393. package/dist/types/utils/getTicks/getTicks.d.ts +35 -0
  1394. package/dist/types/utils/getTicks/getTicks.d.ts.map +1 -0
  1395. package/dist/types/utils/index.d.ts +9 -0
  1396. package/dist/types/utils/index.d.ts.map +1 -0
  1397. package/dist/types/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +11 -0
  1398. package/dist/types/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +1 -0
  1399. package/dist/types/utils/pickCustomAttributes/pickCustomAttributes.d.ts +33 -0
  1400. package/dist/types/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +1 -0
  1401. package/dist/types/utils/shadowSvg/shadowSvg.d.ts +3 -0
  1402. package/dist/types/utils/shadowSvg/shadowSvg.d.ts.map +1 -0
  1403. package/dist/types/utils/shadowSvg/shadowSvg.types.d.ts +35 -0
  1404. package/dist/types/utils/shadowSvg/shadowSvg.types.d.ts.map +1 -0
  1405. package/dist/types/utils/textBound/textBound.d.ts +11 -0
  1406. package/dist/types/utils/textBound/textBound.d.ts.map +1 -0
  1407. package/package.json +225 -0
@@ -0,0 +1,97 @@
1
+ import { Unit } from '../../types/unit.enum';
2
+ /**
3
+ * A mapping of string representations of units to their corresponding `Unit` enum values.
4
+ * This is used to convert string-based unit identifiers into their respective `Unit` enum types.
5
+ *
6
+ * @example
7
+ * stringToUnit["%"] // Returns Unit.PERCENT
8
+ * stringToUnit["rem"] // Returns Unit.REM
9
+ */
10
+ const stringToUnit = {
11
+ [Unit.PERCENTAGE]: Unit.PERCENTAGE,
12
+ [Unit.REM]: Unit.REM,
13
+ };
14
+ /**
15
+ * An enumeration representing the dimensions of an SVG element.
16
+ * This is used to specify whether the width or height dimension is being referenced.
17
+ *
18
+ * @enum {string}
19
+ * @property {string} WIDTH - Represents the width dimension ('WIDTH').
20
+ * @property {string} HEIGHT - Represents the height dimension ('HEIGHT').
21
+ */
22
+ const Dimension = {
23
+ HEIGHT: 'HEIGHT',
24
+ WIDTH: 'WIDTH',
25
+ };
26
+ const UNIT_VALUE_REGEX = /^(\d+(\.\d+)?)(px|rem|%)?$/;
27
+ const MATCH_VALUE_INDEX = 1;
28
+ const MATCH_UNIT_INDEX = 3;
29
+ /**
30
+ * Extracts the numeric value and unit from a regex match result.
31
+ *
32
+ * @param match - The regex match array containing the value and unit.
33
+ * @returns An object containing the numeric value and the unit as a string.
34
+ */
35
+ const parseDimensionValue = (value) => {
36
+ if (typeof value === 'number') {
37
+ return { unit: undefined, value };
38
+ }
39
+ const match = value.match(UNIT_VALUE_REGEX);
40
+ if (!match) {
41
+ throw new Error(`Invalid string format: "${value}"`);
42
+ }
43
+ const parsedValue = parseFloat(match[MATCH_VALUE_INDEX]); // match for group (\d+(\.\d+)?)
44
+ const unit = match[MATCH_UNIT_INDEX]; // match for group (px|rem|%)
45
+ return { unit: stringToUnit[unit], value: parsedValue };
46
+ };
47
+ /**
48
+ * Calculates the percentage of a value based on the specified dimension (width or height) and the SVG element's dimensions.
49
+ *
50
+ * @param {number} value - The value to be converted to a percentage.
51
+ * @param {`${Dimension}`} dimension - The dimension type (width or height).
52
+ * @param {SVGSVGElement} svgElement - The SVG element to calculate dimensions for.
53
+ * @returns {number} The calculated percentage value.
54
+ */
55
+ const calculatePercentage = (value, dimension, svgElement) => {
56
+ const svgContainer = svgElement.parentElement;
57
+ if (!svgContainer) {
58
+ return 0;
59
+ }
60
+ const containerDimension = dimension === Dimension.WIDTH ? svgContainer.clientWidth : svgContainer.clientHeight;
61
+ return (value / 100) * containerDimension;
62
+ };
63
+ /**
64
+ * Calculates the rem value based on the root font size.
65
+ *
66
+ * @param {number} value - The value in rem to be converted to pixels.
67
+ * @returns {number} The calculated pixel value.
68
+ */
69
+ const calculateRem = (value) => {
70
+ const remValue = parseFloat(getComputedStyle(document.documentElement).fontSize);
71
+ return value * remValue;
72
+ };
73
+ /**
74
+ * Calculates the dimensions of an SVG element based on the provided width and height values.
75
+ * The width and height can be specified in pixels, percentages, or rem units.
76
+ *
77
+ * @param {GetCanvasDimensionsProps} props - The properties for calculating dimensions.
78
+ * @param {string | number} props.canvasHeight - The height of the canvas (can be a string or number).
79
+ * @param {string | number} props.canvasWidth - The width of the canvas (can be a string or number).
80
+ * @param {SVGSVGElement} props.svgElement - The SVG element to calculate dimensions for.
81
+ * @returns {GetCanvasDimensionsReturn} An object containing the calculated canva's width and height.
82
+ */
83
+ export const getCanvasDimensions = ({ canvasHeight, canvasWidth, svgElement, }) => {
84
+ const { unit: widthUnit, value: widthValue } = parseDimensionValue(canvasWidth);
85
+ const parsedCanvasWidth = widthUnit === Unit.PERCENTAGE
86
+ ? calculatePercentage(widthValue, Dimension.WIDTH, svgElement)
87
+ : widthUnit === Unit.REM
88
+ ? calculateRem(widthValue)
89
+ : widthValue;
90
+ const { unit: heightUnit, value: heightValue } = parseDimensionValue(canvasHeight);
91
+ const parsedCanvasHeight = heightUnit === Unit.PERCENTAGE
92
+ ? calculatePercentage(heightValue, Dimension.HEIGHT, svgElement)
93
+ : heightUnit === Unit.REM
94
+ ? calculateRem(heightValue)
95
+ : heightValue;
96
+ return { parsedCanvasHeight, parsedCanvasWidth };
97
+ };
@@ -0,0 +1,10 @@
1
+ import { type ReactNode } from 'react';
2
+ interface GetChildrenAttrProps {
3
+ attrName: string;
4
+ originalValue: string;
5
+ children: ReactNode[];
6
+ updateValue: (v: string) => void;
7
+ }
8
+ export declare const getChildrenAttr: ({ attrName, children, originalValue, updateValue, }: GetChildrenAttrProps) => void;
9
+ export {};
10
+ //# sourceMappingURL=getChildrenAttr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getChildrenAttr.d.ts","sourceRoot":"","sources":["../../../../src/utils/getChildrenAttr/getChildrenAttr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAkB,MAAM,OAAO,CAAC;AAEjE,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,eAAe,GAAI,qDAK7B,oBAAoB,KAAG,IAazB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { Children, isValidElement } from 'react';
2
+ export const getChildrenAttr = ({ attrName, children, originalValue, updateValue, }) => {
3
+ let combineString = '';
4
+ Children.toArray(children).forEach((child) => {
5
+ if (isValidElement(child)) {
6
+ const attrValue = child.props[attrName];
7
+ if (attrValue) {
8
+ combineString += attrValue;
9
+ }
10
+ }
11
+ });
12
+ if (combineString !== originalValue) {
13
+ updateValue(combineString);
14
+ }
15
+ };
@@ -0,0 +1,47 @@
1
+ import { Positions } from '../../types/position.enum';
2
+ interface GetCoordinatesProps {
3
+ position: (typeof Positions)[keyof typeof Positions];
4
+ canvasHeight: number;
5
+ canvasWidth: number;
6
+ extraSpaceLeftX: number;
7
+ extraSpaceRightX: number;
8
+ extraSpaceTopY: number;
9
+ extraSpaceBottomY: number;
10
+ securityYSpace: number;
11
+ customBreakAxis: number;
12
+ }
13
+ interface GetCoordinatesReturn {
14
+ x1: number;
15
+ x2: number;
16
+ y1: number;
17
+ y2: number;
18
+ }
19
+ /**
20
+ * Calculates the X coordinates for drawing lines in a chart.
21
+ * @param position - The position of the line.
22
+ * @param canvasHeight - The height of the canvas.
23
+ * @param canvasWidth - The width of the canvas.
24
+ * @param extraSpaceLeftX - The extra space on the left side of the chart.
25
+ * @param extraSpaceRightX - The extra space on the right side of the chart.
26
+ * @param extraSpaceTopY - The extra space on the top side of the chart.
27
+ * @param extraSpaceBottomY - The extra space on the bottom side of the chart.
28
+ * @param customBreakAxis - The custom break axis value.
29
+ * @returns The X coordinates for drawing lines.
30
+ */
31
+ export declare const getXCoordinates: ({ canvasHeight, canvasWidth, customBreakAxis, extraSpaceBottomY, extraSpaceLeftX, extraSpaceRightX, extraSpaceTopY, position, }: GetCoordinatesProps) => GetCoordinatesReturn;
32
+ /**
33
+ * Calculates the y-coordinates for drawing lines in a chart.
34
+ *
35
+ * @param position - The position of the line (RIGHT, CENTER, CUSTOM).
36
+ * @param canvasHeight - The height of the canvas.
37
+ * @param canvasWidth - The width of the canvas.
38
+ * @param extraSpaceLeftX - The extra space on the left side of the chart.
39
+ * @param extraSpaceRightX - The extra space on the right side of the chart.
40
+ * @param extraSpaceTopY - The extra space on the top of the chart.
41
+ * @param extraSpaceBottomY - The extra space on the bottom of the chart.
42
+ * @param customBreakAxis - The custom break axis position (used when position is CUSTOM).
43
+ * @returns The y-coordinates for drawing lines in the chart.
44
+ */
45
+ export declare const getYCoordinates: ({ canvasHeight, canvasWidth, customBreakAxis, extraSpaceBottomY, extraSpaceLeftX, extraSpaceRightX, extraSpaceTopY, position, }: GetCoordinatesProps) => GetCoordinatesReturn;
46
+ export {};
47
+ //# sourceMappingURL=getCoordinates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCoordinates.d.ts","sourceRoot":"","sources":["../../../../src/utils/getCoordinates/getCoordinates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;IACrD,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,GAAI,iIAS7B,mBAAmB,KAAG,oBA+BxB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,GAAI,iIAS7B,mBAAmB,KAAG,oBAgCxB,CAAC"}
@@ -0,0 +1,90 @@
1
+ import { Positions } from '../../types/position.enum';
2
+ /**
3
+ * Calculates the X coordinates for drawing lines in a chart.
4
+ * @param position - The position of the line.
5
+ * @param canvasHeight - The height of the canvas.
6
+ * @param canvasWidth - The width of the canvas.
7
+ * @param extraSpaceLeftX - The extra space on the left side of the chart.
8
+ * @param extraSpaceRightX - The extra space on the right side of the chart.
9
+ * @param extraSpaceTopY - The extra space on the top side of the chart.
10
+ * @param extraSpaceBottomY - The extra space on the bottom side of the chart.
11
+ * @param customBreakAxis - The custom break axis value.
12
+ * @returns The X coordinates for drawing lines.
13
+ */
14
+ export const getXCoordinates = ({ canvasHeight, canvasWidth, customBreakAxis, extraSpaceBottomY, extraSpaceLeftX, extraSpaceRightX, extraSpaceTopY, position, }) => {
15
+ if (position === Positions.TOP) {
16
+ return {
17
+ x1: extraSpaceLeftX,
18
+ x2: canvasWidth - extraSpaceRightX,
19
+ y1: extraSpaceTopY,
20
+ y2: extraSpaceTopY,
21
+ };
22
+ }
23
+ if (position === Positions.CENTER) {
24
+ return {
25
+ x1: extraSpaceLeftX,
26
+ x2: canvasWidth - extraSpaceRightX,
27
+ y1: canvasHeight / 2,
28
+ y2: canvasHeight / 2,
29
+ };
30
+ }
31
+ if (position === Positions.CUSTOM) {
32
+ return {
33
+ x1: extraSpaceLeftX,
34
+ x2: canvasWidth - extraSpaceRightX,
35
+ y1: customBreakAxis,
36
+ y2: customBreakAxis,
37
+ };
38
+ }
39
+ return {
40
+ x1: extraSpaceLeftX,
41
+ x2: canvasWidth - extraSpaceRightX,
42
+ y1: canvasHeight - extraSpaceBottomY,
43
+ y2: canvasHeight - extraSpaceBottomY,
44
+ };
45
+ };
46
+ /**
47
+ * Calculates the y-coordinates for drawing lines in a chart.
48
+ *
49
+ * @param position - The position of the line (RIGHT, CENTER, CUSTOM).
50
+ * @param canvasHeight - The height of the canvas.
51
+ * @param canvasWidth - The width of the canvas.
52
+ * @param extraSpaceLeftX - The extra space on the left side of the chart.
53
+ * @param extraSpaceRightX - The extra space on the right side of the chart.
54
+ * @param extraSpaceTopY - The extra space on the top of the chart.
55
+ * @param extraSpaceBottomY - The extra space on the bottom of the chart.
56
+ * @param customBreakAxis - The custom break axis position (used when position is CUSTOM).
57
+ * @returns The y-coordinates for drawing lines in the chart.
58
+ */
59
+ export const getYCoordinates = ({ canvasHeight, canvasWidth, customBreakAxis, extraSpaceBottomY, extraSpaceLeftX, extraSpaceRightX, extraSpaceTopY, position, }) => {
60
+ if (position === Positions.RIGHT) {
61
+ return {
62
+ x1: canvasWidth - extraSpaceRightX,
63
+ x2: canvasWidth - extraSpaceRightX,
64
+ y1: extraSpaceTopY,
65
+ y2: canvasHeight - extraSpaceBottomY,
66
+ };
67
+ }
68
+ if (position === Positions.CENTER) {
69
+ return {
70
+ x1: canvasWidth / 2,
71
+ x2: canvasWidth / 2,
72
+ y1: extraSpaceTopY,
73
+ y2: canvasHeight - extraSpaceBottomY,
74
+ };
75
+ }
76
+ if (position === Positions.CUSTOM) {
77
+ return {
78
+ x1: customBreakAxis,
79
+ x2: customBreakAxis,
80
+ y1: extraSpaceTopY,
81
+ y2: canvasHeight - extraSpaceBottomY,
82
+ };
83
+ }
84
+ return {
85
+ x1: extraSpaceLeftX,
86
+ x2: extraSpaceLeftX,
87
+ y1: extraSpaceTopY,
88
+ y2: canvasHeight - extraSpaceBottomY,
89
+ };
90
+ };
@@ -0,0 +1,12 @@
1
+ import type { BarChartIDataPoint } from '../../charts/barChart/barChart.type';
2
+ import type { IDataPoint } from '../../charts/lineChart/lineChart.type';
3
+ import type { DataItem } from '../../charts/pieChart/pieChart.type';
4
+ type ChartDataType = IDataPoint[] | BarChartIDataPoint[] | DataItem;
5
+ /**
6
+ * Generates a fingerprint of chart data for use in React.useMemo dependencies
7
+ * @param data - Chart data from LineChart, BarChart, or PieChart
8
+ * @returns JSON string representation of the data
9
+ */
10
+ export declare const getDataFingerprint: (data: ChartDataType) => string;
11
+ export {};
12
+ //# sourceMappingURL=getDataFingerprint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDataFingerprint.d.ts","sourceRoot":"","sources":["../../../../src/utils/getDataFingerprint/getDataFingerprint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,KAAK,aAAa,GAAG,UAAU,EAAE,GAAG,kBAAkB,EAAE,GAAG,QAAQ,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,aAAa,KAAG,MAIxD,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generates a fingerprint of chart data for use in React.useMemo dependencies
3
+ * @param data - Chart data from LineChart, BarChart, or PieChart
4
+ * @returns JSON string representation of the data
5
+ */
6
+ export const getDataFingerprint = (data) => {
7
+ // TODO: study and compare performance with other hash libraries or manual methods
8
+ // ! Data might grow a lot in size, that is because this may be reviewed in the future
9
+ return JSON.stringify(data);
10
+ };
@@ -0,0 +1,10 @@
1
+ import type { TickData } from '../../components/tick/tick.types';
2
+ /**
3
+ * Calculates the positions of data points on the chart based on tick values and data values.
4
+ * @param tickValues - An array of tick data objects.
5
+ * @param data - An array of data values.
6
+ * @param xAxis - Optional parameter indicating whether the points are for the x-axis. Defaults to false.
7
+ * @returns An array of numbers representing the positions of the data points.
8
+ */
9
+ export declare const getPoints: (tickValues: TickData[], data: string[], xAxis?: boolean) => number[];
10
+ //# sourceMappingURL=getPoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPoints.d.ts","sourceRoot":"","sources":["../../../../src/utils/getPoints/getPoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,GAAI,YAAY,QAAQ,EAAE,EAAE,MAAM,MAAM,EAAE,EAAE,QAAQ,OAAO,KAAG,MAAM,EA+CzF,CAAC"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Calculates the positions of data points on the chart based on tick values and data values.
3
+ * @param tickValues - An array of tick data objects.
4
+ * @param data - An array of data values.
5
+ * @param xAxis - Optional parameter indicating whether the points are for the x-axis. Defaults to false.
6
+ * @returns An array of numbers representing the positions of the data points.
7
+ */
8
+ export const getPoints = (tickValues, data, xAxis) => {
9
+ return data.map(dt => {
10
+ // IF NOT A NUMBER, FIND THE POSITION OF THE TICK
11
+ if (isNaN(Number(dt))) {
12
+ const located = tickValues.find(tick => String(tick.value) === String(dt));
13
+ return located ? located.position : 0;
14
+ }
15
+ // FIND THE CLOSEST TICK
16
+ const { index, tick } = tickValues.reduce((prev, curr, tickiIndex) => {
17
+ return Math.abs(Number(curr.value) - Number(dt)) <=
18
+ Math.abs(Number(prev.tick.value) - Number(dt))
19
+ ? { index: tickiIndex, tick: curr }
20
+ : prev;
21
+ }, { index: 0, tick: tickValues[0] });
22
+ const dtNumber = Number(dt);
23
+ const tickValueNumber = Number(tick.value);
24
+ if (dtNumber !== tickValueNumber) {
25
+ const currentAxisValues = tickValues.map(tickVal => Number(tickVal.value));
26
+ const min = Math.min(...currentAxisValues);
27
+ const max = Math.max(...currentAxisValues);
28
+ if (dtNumber < min) {
29
+ return tickValues.at(0)?.position;
30
+ }
31
+ if (dtNumber > max) {
32
+ return tickValues.at(-1)?.position;
33
+ }
34
+ const diff = Math.abs(tickValueNumber - dtNumber);
35
+ const isGreaterThan = dtNumber > tickValueNumber;
36
+ const closeTick = isGreaterThan ? tickValues[index + 1] : tickValues[index - 1];
37
+ const diffBetweenTicks = Math.abs(Number(closeTick.value) - tickValueNumber);
38
+ const diffPercentaje = (diff * 100) / diffBetweenTicks;
39
+ const posBetweenTicks = Math.abs(tick.position - closeTick.position);
40
+ const ajustedAmount = (posBetweenTicks * diffPercentaje) / 100;
41
+ // This is because the X axis is drawn from left to right and the Y axis from top to bottom.
42
+ if (xAxis) {
43
+ return isGreaterThan ? tick.position + ajustedAmount : tick.position - ajustedAmount;
44
+ }
45
+ return isGreaterThan ? tick.position - ajustedAmount : tick.position + ajustedAmount;
46
+ }
47
+ return tick.position;
48
+ });
49
+ };
@@ -0,0 +1,21 @@
1
+ import { Positions } from '../../types/position.enum';
2
+ /**
3
+ * Calculates the x-coordinate for the tick text based on the position, x-coordinate, and font size.
4
+ *
5
+ * @param position - The position of the tick text.
6
+ * @param x - The x-coordinate of the tick text.
7
+ * @param fontSize - The font size of the tick text.
8
+ * @returns The calculated x-coordinate for the tick text.
9
+ */
10
+ export declare const getTickTextXCoordinate: (position: (typeof Positions)[keyof typeof Positions], x: number, fontSize: number) => number;
11
+ /**
12
+ * Calculates the y-coordinate for the tick text based on the position, y-coordinate, font size, and security space.
13
+ *
14
+ * @param position - The position of the tick text.
15
+ * @param y - The y-coordinate of the tick text.
16
+ * @param fontSize - The font size of the tick text.
17
+ * @param securitySpace - The security space between the tick text and the chart.
18
+ * @returns The calculated y-coordinate for the tick text.
19
+ */
20
+ export declare const getTickTextYCoordinate: (position: (typeof Positions)[keyof typeof Positions], y: number, fontSize: number, securitySpace: number) => number;
21
+ //# sourceMappingURL=getTickTextCoordinates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTickTextCoordinates.d.ts","sourceRoot":"","sources":["../../../../src/utils/getTickTextCoordinate/getTickTextCoordinates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,UAAU,CAAC,OAAO,SAAS,EAAE,MAAM,OAAO,SAAS,CAAC,EACpD,GAAG,MAAM,EACT,UAAU,MAAM,KACf,MAKF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,GACjC,UAAU,CAAC,OAAO,SAAS,EAAE,MAAM,OAAO,SAAS,CAAC,EACpD,GAAG,MAAM,EACT,UAAU,MAAM,EAChB,eAAe,MAAM,KACpB,MAKF,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { Positions } from '../../types/position.enum';
2
+ /**
3
+ * Calculates the x-coordinate for the tick text based on the position, x-coordinate, and font size.
4
+ *
5
+ * @param position - The position of the tick text.
6
+ * @param x - The x-coordinate of the tick text.
7
+ * @param fontSize - The font size of the tick text.
8
+ * @returns The calculated x-coordinate for the tick text.
9
+ */
10
+ export const getTickTextXCoordinate = (position, x, fontSize) => {
11
+ if (position === Positions.RIGHT) {
12
+ return x + fontSize;
13
+ }
14
+ return x - fontSize;
15
+ };
16
+ /**
17
+ * Calculates the y-coordinate for the tick text based on the position, y-coordinate, font size, and security space.
18
+ *
19
+ * @param position - The position of the tick text.
20
+ * @param y - The y-coordinate of the tick text.
21
+ * @param fontSize - The font size of the tick text.
22
+ * @param securitySpace - The security space between the tick text and the chart.
23
+ * @returns The calculated y-coordinate for the tick text.
24
+ */
25
+ export const getTickTextYCoordinate = (position, y, fontSize, securitySpace) => {
26
+ if (position === Positions.TOP) {
27
+ return fontSize;
28
+ }
29
+ return y + fontSize + securitySpace;
30
+ };
@@ -0,0 +1,35 @@
1
+ import type { TickData } from '../../components/tick/tick.types';
2
+ interface GetTickProps {
3
+ tickValues: string[];
4
+ maxSpaceAvailable: number;
5
+ securitySpace: number;
6
+ otherAxisSpace: number;
7
+ initPos: number;
8
+ needAjusted?: boolean;
9
+ }
10
+ /**
11
+ * Calculates the tick positions and values for the x-axis of a line chart.
12
+ *
13
+ * @param tickValues - The values to be displayed as ticks on the x-axis.
14
+ * @param maxSpaceAvailable - The maximum space available for the x-axis.
15
+ * @param securitySpace - The space reserved for security purposes.
16
+ * @param crossAxis - The cross axis of the chart.
17
+ * @param otherAxisSpace - The space occupied by the other axis.
18
+ * @param initPos - The initial position of the x-axis.
19
+ * @returns An array of objects containing the tick values and their corresponding positions.
20
+ */
21
+ export declare const getXTicks: ({ initPos, maxSpaceAvailable, otherAxisSpace, securitySpace, tickValues, }: GetTickProps) => TickData[] | undefined;
22
+ /**
23
+ * Calculates the tick positions and values for the y-axis of a line chart.
24
+ *
25
+ * @param tickValues - The values to be displayed as ticks on the y-axis.
26
+ * @param maxSpaceAvailable - The maximum space available for the y-axis.
27
+ * @param securitySpace - The space reserved for security purposes.
28
+ * @param crossAxis - The cross axis of the chart.
29
+ * @param otherAxisSpace - The space occupied by the other axis.
30
+ * @param initPos - The initial position of the y-axis.
31
+ * @returns An array of objects containing the tick values and their corresponding positions.
32
+ */
33
+ export declare const getYTicks: ({ initPos, maxSpaceAvailable, needAjusted, otherAxisSpace, securitySpace, tickValues, }: GetTickProps) => TickData[] | undefined;
34
+ export {};
35
+ //# sourceMappingURL=getTicks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTicks.d.ts","sourceRoot":"","sources":["../../../../src/utils/getTicks/getTicks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,UAAU,YAAY;IACpB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,GAAI,4EAMvB,YAAY,KAAG,QAAQ,EAAE,GAAG,SAa9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,GAAI,yFAOvB,YAAY,KAAG,QAAQ,EAAE,GAAG,SAc9B,CAAC"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Calculates the tick positions and values for the x-axis of a line chart.
3
+ *
4
+ * @param tickValues - The values to be displayed as ticks on the x-axis.
5
+ * @param maxSpaceAvailable - The maximum space available for the x-axis.
6
+ * @param securitySpace - The space reserved for security purposes.
7
+ * @param crossAxis - The cross axis of the chart.
8
+ * @param otherAxisSpace - The space occupied by the other axis.
9
+ * @param initPos - The initial position of the x-axis.
10
+ * @returns An array of objects containing the tick values and their corresponding positions.
11
+ */
12
+ export const getXTicks = ({ initPos, maxSpaceAvailable, otherAxisSpace, securitySpace, tickValues, }) => {
13
+ const ticksNumber = tickValues.length - 1;
14
+ const maxSpace = maxSpaceAvailable - otherAxisSpace - securitySpace;
15
+ const stepValue = maxSpace / ticksNumber;
16
+ const ticks = tickValues.map((value, idx) => {
17
+ const currentStep = idx * stepValue;
18
+ return {
19
+ position: initPos + currentStep + securitySpace / 2,
20
+ value,
21
+ };
22
+ });
23
+ return ticks;
24
+ };
25
+ /**
26
+ * Calculates the tick positions and values for the y-axis of a line chart.
27
+ *
28
+ * @param tickValues - The values to be displayed as ticks on the y-axis.
29
+ * @param maxSpaceAvailable - The maximum space available for the y-axis.
30
+ * @param securitySpace - The space reserved for security purposes.
31
+ * @param crossAxis - The cross axis of the chart.
32
+ * @param otherAxisSpace - The space occupied by the other axis.
33
+ * @param initPos - The initial position of the y-axis.
34
+ * @returns An array of objects containing the tick values and their corresponding positions.
35
+ */
36
+ export const getYTicks = ({ initPos, maxSpaceAvailable, needAjusted, otherAxisSpace, securitySpace, tickValues, }) => {
37
+ const ticksNumber = tickValues.length - 1;
38
+ const maxSpace = maxSpaceAvailable - otherAxisSpace - securitySpace;
39
+ const stepValue = maxSpace / ticksNumber;
40
+ const additionalSpace = needAjusted ? securitySpace / 2 : 0;
41
+ const ticks = tickValues.map((value, idx) => {
42
+ const currentStep = idx * stepValue;
43
+ return {
44
+ position: initPos - currentStep - additionalSpace,
45
+ value,
46
+ };
47
+ });
48
+ return ticks;
49
+ };
@@ -0,0 +1,9 @@
1
+ export * from './ajustedTextSpace/ajustedTextSpace';
2
+ export * from './buildTickValues/buildTickValues';
3
+ export * from './classNames/classNames';
4
+ export * from './cssGradientToSvg/cssGradientToSvg';
5
+ export * from './cursorNear/isNear';
6
+ export * from './shadowSvg/shadowSvg';
7
+ export * from './shadowSvg/shadowSvg.types';
8
+ export * from './textBound/textBound';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export * from './ajustedTextSpace/ajustedTextSpace';
2
+ export * from './buildTickValues/buildTickValues';
3
+ export * from './classNames/classNames';
4
+ export * from './cssGradientToSvg/cssGradientToSvg';
5
+ export * from './cursorNear/isNear';
6
+ export * from './shadowSvg/shadowSvg';
7
+ export * from './shadowSvg/shadowSvg.types';
8
+ export * from './textBound/textBound';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Parses a string or number to a pixel value.
3
+ * If the input is a string, it can be in the format '2px', '2rem', or '2'.
4
+ * If the input is a number, it returns the number as is.
5
+ *
6
+ * @param value - The value to parse (string or number).
7
+ * @returns The parsed pixel value as a number.
8
+ * @throws Will throw an error if the string format is invalid.
9
+ */
10
+ export declare const parseStringToNumberPx: (value: string | number) => number;
11
+ //# sourceMappingURL=parseStringToNumberPx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseStringToNumberPx.d.ts","sourceRoot":"","sources":["../../../../src/utils/parseStringToNumberPx.ts/parseStringToNumberPx.ts"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,GAAG,MAAM,KAAG,MAkB9D,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { Unit } from '../../types/unit.enum';
2
+ const UNIT_VALUE_REGEX = /^(\d+(\.\d+)?)(px|rem|%)?$/;
3
+ const MATCH_VALUE_INDEX = 1;
4
+ const MATCH_UNIT_INDEX = 3;
5
+ /**
6
+ * Parses a string or number to a pixel value.
7
+ * If the input is a string, it can be in the format '2px', '2rem', or '2'.
8
+ * If the input is a number, it returns the number as is.
9
+ *
10
+ * @param value - The value to parse (string or number).
11
+ * @returns The parsed pixel value as a number.
12
+ * @throws Will throw an error if the string format is invalid.
13
+ */
14
+ export const parseStringToNumberPx = (value) => {
15
+ if (typeof value === 'number') {
16
+ return value;
17
+ }
18
+ //detect if the value is '2px' or '2rem' or '2'
19
+ const match = value.match(UNIT_VALUE_REGEX);
20
+ if (!match) {
21
+ throw new Error(`Invalid string format: "${value}"`);
22
+ }
23
+ const number = match[MATCH_VALUE_INDEX]; // match for group (\d+(\.\d+)?)
24
+ const unit = match[MATCH_UNIT_INDEX]; // match for group (px|rem|%)
25
+ if (unit === Unit.REM) {
26
+ return parseFloat(number) * 16;
27
+ }
28
+ return parseFloat(number);
29
+ };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Filters and extracts only aria-* and data-* attributes from a given object,
3
+ * converting all values to strings for HTML compatibility.
4
+ *
5
+ * This function is useful for extracting accessibility and data attributes
6
+ * from props or configuration objects and ensuring they are properly formatted
7
+ * for HTML rendering.
8
+ *
9
+ * @param attributes - An optional object containing key-value pairs of attributes.
10
+ * - Keys can be strings representing attribute names.
11
+ * - Values can be strings, booleans, numbers, or any other type.
12
+ *
13
+ * @returns A new object containing only aria-* and data-* attributes:
14
+ * - Only includes attributes that start with `aria-` or `data-`.
15
+ * - All values are converted to strings for HTML compatibility.
16
+ * - Null and undefined values are excluded.
17
+ *
18
+ * @example
19
+ * ```typescript
20
+ * const props = {
21
+ * 'aria-label': 'Button',
22
+ * 'data-testid': 'my-button',
23
+ * 'onClick': () => {},
24
+ * 'className': 'btn',
25
+ * 'aria-hidden': true
26
+ * };
27
+ *
28
+ * const result = pickCustomAttributes(props);
29
+ * // Result: { 'aria-label': 'Button', 'data-testid': 'my-button', 'aria-hidden': 'true' }
30
+ * ```
31
+ */
32
+ export declare const pickCustomAttributes: (attributes?: Record<string, any>) => Record<string, string>;
33
+ //# sourceMappingURL=pickCustomAttributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pickCustomAttributes.d.ts","sourceRoot":"","sources":["../../../../src/utils/pickCustomAttributes/pickCustomAttributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,oBAAoB,GAE/B,aAAa,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,CAkBvB,CAAC"}