@alfalab/core-components-chart 3.4.11 → 3.4.12-snapshot-1393ffa

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 (859) hide show
  1. package/Component.js +23 -28
  2. package/Component.js.map +1 -0
  3. package/components/CustomizedLabel.js +3 -2
  4. package/components/CustomizedLabel.js.map +1 -0
  5. package/components/Dot/index.css +7 -8
  6. package/components/Dot/index.js +8 -9
  7. package/components/Dot/index.js.map +1 -0
  8. package/components/Dot/index.module.css.js +8 -0
  9. package/components/Dot/index.module.css.js.map +1 -0
  10. package/components/Legends/index.css +9 -31
  11. package/components/Legends/index.js +16 -17
  12. package/components/Legends/index.js.map +1 -0
  13. package/components/Legends/index.module.css.js +8 -0
  14. package/components/Legends/index.module.css.js.map +1 -0
  15. package/components/LinearGradient.js +1 -0
  16. package/components/LinearGradient.js.map +1 -0
  17. package/components/RectBar.js +3 -2
  18. package/components/RectBar.js.map +1 -0
  19. package/components/Tick/index.css +5 -27
  20. package/components/Tick/index.js +5 -6
  21. package/components/Tick/index.js.map +1 -0
  22. package/components/Tick/index.module.css.js +8 -0
  23. package/components/Tick/index.module.css.js.map +1 -0
  24. package/components/TooltipContent/index.css +14 -33
  25. package/components/TooltipContent/index.js +10 -11
  26. package/components/TooltipContent/index.js.map +1 -0
  27. package/components/TooltipContent/index.module.css.js +8 -0
  28. package/components/TooltipContent/index.module.css.js.map +1 -0
  29. package/cssm/Component.js +19 -22
  30. package/cssm/Component.js.map +1 -0
  31. package/cssm/components/CustomizedLabel.js +3 -2
  32. package/cssm/components/CustomizedLabel.js.map +1 -0
  33. package/cssm/components/Dot/index.js +3 -2
  34. package/cssm/components/Dot/index.js.map +1 -0
  35. package/cssm/components/Legends/index.js +12 -11
  36. package/cssm/components/Legends/index.js.map +1 -0
  37. package/cssm/components/Legends/index.module.css +3 -24
  38. package/cssm/components/LinearGradient.js +1 -0
  39. package/cssm/components/LinearGradient.js.map +1 -0
  40. package/cssm/components/RectBar.js +3 -2
  41. package/cssm/components/RectBar.js.map +1 -0
  42. package/cssm/components/Tick/index.js +1 -0
  43. package/cssm/components/Tick/index.js.map +1 -0
  44. package/cssm/components/Tick/index.module.css +3 -24
  45. package/cssm/components/TooltipContent/index.js +5 -4
  46. package/cssm/components/TooltipContent/index.js.map +1 -0
  47. package/cssm/components/TooltipContent/index.module.css +9 -27
  48. package/cssm/hoc/Customized.js +18 -0
  49. package/cssm/hoc/Customized.js.map +1 -0
  50. package/cssm/hooks/usePathBar/index.js +4 -3
  51. package/cssm/hooks/usePathBar/index.js.map +1 -0
  52. package/cssm/hooks/usePathBar/utils/getRadius.js +1 -0
  53. package/cssm/hooks/usePathBar/utils/getRadius.js.map +1 -0
  54. package/cssm/hooks/useSettings/index.js +11 -10
  55. package/cssm/hooks/useSettings/index.js.map +1 -0
  56. package/cssm/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
  57. package/cssm/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
  58. package/cssm/hooks/useSettings/utils/setDatas.js +1 -0
  59. package/cssm/hooks/useSettings/utils/setDatas.js.map +1 -0
  60. package/cssm/hooks/useSettings/utils/setGradientCharts.js +1 -0
  61. package/cssm/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
  62. package/cssm/hooks/useSettings/utils/setLegendMargin.js +1 -0
  63. package/cssm/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
  64. package/cssm/hooks/useSettings/utils/sortByIndex.js +1 -0
  65. package/cssm/hooks/useSettings/utils/sortByIndex.js.map +1 -0
  66. package/cssm/icons/Circle.js +1 -0
  67. package/cssm/icons/Circle.js.map +1 -0
  68. package/cssm/icons/CircleLine.js +1 -0
  69. package/cssm/icons/CircleLine.js.map +1 -0
  70. package/cssm/icons/FilledCircle.js +1 -0
  71. package/cssm/icons/FilledCircle.js.map +1 -0
  72. package/cssm/icons/Point.js +1 -0
  73. package/cssm/icons/Point.js.map +1 -0
  74. package/cssm/icons/StrokeCircle.js +1 -0
  75. package/cssm/icons/StrokeCircle.js.map +1 -0
  76. package/cssm/index.js +1 -0
  77. package/cssm/index.js.map +1 -0
  78. package/cssm/index.module.css +3 -24
  79. package/cssm/src/Component.d.ts +6 -0
  80. package/cssm/src/components/CustomizedLabel.d.ts +2 -0
  81. package/cssm/src/components/Dot/index.d.ts +3 -0
  82. package/cssm/src/components/Legends/index.d.ts +13 -0
  83. package/cssm/src/components/LinearGradient.d.ts +3 -0
  84. package/cssm/src/components/RectBar.d.ts +2 -0
  85. package/cssm/src/components/Tick/index.d.ts +3 -0
  86. package/cssm/src/components/TooltipContent/index.d.ts +9 -0
  87. package/cssm/src/hoc/Customized.d.ts +2 -0
  88. package/cssm/src/hooks/usePathBar/index.d.ts +13 -0
  89. package/cssm/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
  90. package/cssm/{hooks → src/hooks}/useSettings/index.d.ts +5 -5
  91. package/cssm/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
  92. package/cssm/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
  93. package/cssm/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
  94. package/cssm/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
  95. package/cssm/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
  96. package/cssm/src/icons/Circle.d.ts +7 -0
  97. package/cssm/src/icons/CircleLine.d.ts +7 -0
  98. package/cssm/src/icons/FilledCircle.d.ts +7 -0
  99. package/cssm/src/icons/Point.d.ts +7 -0
  100. package/cssm/src/icons/StrokeCircle.d.ts +7 -0
  101. package/cssm/src/index.d.ts +2 -0
  102. package/cssm/{types → src/types}/brush.types.d.ts +1 -2
  103. package/{esm → cssm/src}/types/cartesianGrid.types.d.ts +1 -2
  104. package/{modern → cssm/src}/types/chart.types.d.ts +7 -7
  105. package/cssm/{types → src/types}/composedChart.types.d.ts +1 -2
  106. package/cssm/src/types/index.d.ts +14 -0
  107. package/cssm/src/types/labelList.types.d.ts +4 -0
  108. package/{modern → cssm/src}/types/legend.types.d.ts +1 -2
  109. package/{esm → cssm/src}/types/options.types.d.ts +10 -12
  110. package/{modern → cssm/src}/types/payload.types.d.ts +2 -3
  111. package/{esm → cssm/src}/types/responsiveContainer.types.d.ts +1 -3
  112. package/{modern → cssm/src}/types/seria.types.d.ts +6 -7
  113. package/{esm → cssm/src}/types/tooltip.types.d.ts +1 -2
  114. package/{modern → cssm/src}/types/utils/axis.types.d.ts +1 -2
  115. package/{esm → cssm/src}/types/utils/coordinates.types.d.ts +1 -2
  116. package/{esm → cssm/src}/types/utils/data.types.d.ts +3 -4
  117. package/{modern → cssm/src}/types/utils/dot.types.d.ts +6 -7
  118. package/cssm/{types → src/types}/utils/gradient.types.d.ts +2 -3
  119. package/cssm/src/types/utils/index.d.ts +6 -0
  120. package/{modern → cssm/src}/types/utils/tick.types.d.ts +2 -3
  121. package/{esm → cssm/src}/types/xAxis.types.d.ts +2 -3
  122. package/cssm/src/types/yAxis.types.d.ts +7 -0
  123. package/cssm/types/brush.types.js +1 -0
  124. package/cssm/types/brush.types.js.map +1 -0
  125. package/cssm/types/cartesianGrid.types.js +1 -0
  126. package/cssm/types/cartesianGrid.types.js.map +1 -0
  127. package/cssm/types/chart.types.js +1 -0
  128. package/cssm/types/chart.types.js.map +1 -0
  129. package/cssm/types/composedChart.types.js +1 -0
  130. package/cssm/types/composedChart.types.js.map +1 -0
  131. package/cssm/types/index.js +1 -0
  132. package/cssm/types/index.js.map +1 -0
  133. package/cssm/types/labelList.types.js +1 -0
  134. package/cssm/types/labelList.types.js.map +1 -0
  135. package/cssm/types/legend.types.js +1 -0
  136. package/cssm/types/legend.types.js.map +1 -0
  137. package/cssm/types/options.types.js +1 -0
  138. package/cssm/types/options.types.js.map +1 -0
  139. package/cssm/types/payload.types.js +1 -0
  140. package/cssm/types/payload.types.js.map +1 -0
  141. package/cssm/types/responsiveContainer.types.js +1 -0
  142. package/cssm/types/responsiveContainer.types.js.map +1 -0
  143. package/cssm/types/seria.types.js +1 -0
  144. package/cssm/types/seria.types.js.map +1 -0
  145. package/cssm/types/tooltip.types.js +1 -0
  146. package/cssm/types/tooltip.types.js.map +1 -0
  147. package/cssm/types/utils/axis.types.js +1 -0
  148. package/cssm/types/utils/axis.types.js.map +1 -0
  149. package/cssm/types/utils/coordinates.types.js +1 -0
  150. package/cssm/types/utils/coordinates.types.js.map +1 -0
  151. package/cssm/types/utils/data.types.js +1 -0
  152. package/cssm/types/utils/data.types.js.map +1 -0
  153. package/cssm/types/utils/dot.types.js +1 -0
  154. package/cssm/types/utils/dot.types.js.map +1 -0
  155. package/cssm/types/utils/gradient.types.js +1 -0
  156. package/cssm/types/utils/gradient.types.js.map +1 -0
  157. package/cssm/types/utils/index.js +1 -0
  158. package/cssm/types/utils/index.js.map +1 -0
  159. package/cssm/types/utils/tick.types.js +1 -0
  160. package/cssm/types/utils/tick.types.js.map +1 -0
  161. package/cssm/types/xAxis.types.js +1 -0
  162. package/cssm/types/xAxis.types.js.map +1 -0
  163. package/cssm/types/yAxis.types.js +1 -0
  164. package/cssm/types/yAxis.types.js.map +1 -0
  165. package/esm/Component.js +3 -8
  166. package/esm/Component.js.map +1 -0
  167. package/esm/components/CustomizedLabel.js +1 -0
  168. package/esm/components/CustomizedLabel.js.map +1 -0
  169. package/esm/components/Dot/index.css +7 -8
  170. package/esm/components/Dot/index.js +2 -3
  171. package/esm/components/Dot/index.js.map +1 -0
  172. package/esm/components/Dot/index.module.css.js +6 -0
  173. package/esm/components/Dot/index.module.css.js.map +1 -0
  174. package/esm/components/Legends/index.css +9 -31
  175. package/esm/components/Legends/index.js +2 -3
  176. package/esm/components/Legends/index.js.map +1 -0
  177. package/esm/components/Legends/index.module.css.js +6 -0
  178. package/esm/components/Legends/index.module.css.js.map +1 -0
  179. package/esm/components/LinearGradient.js +1 -0
  180. package/esm/components/LinearGradient.js.map +1 -0
  181. package/esm/components/RectBar.js +1 -0
  182. package/esm/components/RectBar.js.map +1 -0
  183. package/esm/components/Tick/index.css +5 -27
  184. package/esm/components/Tick/index.js +2 -3
  185. package/esm/components/Tick/index.js.map +1 -0
  186. package/esm/components/Tick/index.module.css.js +6 -0
  187. package/esm/components/Tick/index.module.css.js.map +1 -0
  188. package/esm/components/TooltipContent/index.css +14 -33
  189. package/esm/components/TooltipContent/index.js +2 -3
  190. package/esm/components/TooltipContent/index.js.map +1 -0
  191. package/esm/components/TooltipContent/index.module.css.js +6 -0
  192. package/esm/components/TooltipContent/index.module.css.js.map +1 -0
  193. package/esm/hoc/Customized.js +10 -0
  194. package/esm/hoc/Customized.js.map +1 -0
  195. package/esm/hooks/usePathBar/index.js +1 -0
  196. package/esm/hooks/usePathBar/index.js.map +1 -0
  197. package/esm/hooks/usePathBar/utils/getRadius.js +1 -0
  198. package/esm/hooks/usePathBar/utils/getRadius.js.map +1 -0
  199. package/esm/hooks/useSettings/index.js +1 -0
  200. package/esm/hooks/useSettings/index.js.map +1 -0
  201. package/esm/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
  202. package/esm/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
  203. package/esm/hooks/useSettings/utils/setDatas.js +1 -0
  204. package/esm/hooks/useSettings/utils/setDatas.js.map +1 -0
  205. package/esm/hooks/useSettings/utils/setGradientCharts.js +1 -0
  206. package/esm/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
  207. package/esm/hooks/useSettings/utils/setLegendMargin.js +1 -0
  208. package/esm/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
  209. package/esm/hooks/useSettings/utils/sortByIndex.js +1 -0
  210. package/esm/hooks/useSettings/utils/sortByIndex.js.map +1 -0
  211. package/esm/icons/Circle.js +1 -0
  212. package/esm/icons/Circle.js.map +1 -0
  213. package/esm/icons/CircleLine.js +1 -0
  214. package/esm/icons/CircleLine.js.map +1 -0
  215. package/esm/icons/FilledCircle.js +1 -0
  216. package/esm/icons/FilledCircle.js.map +1 -0
  217. package/esm/icons/Point.js +1 -0
  218. package/esm/icons/Point.js.map +1 -0
  219. package/esm/icons/StrokeCircle.js +1 -0
  220. package/esm/icons/StrokeCircle.js.map +1 -0
  221. package/esm/index.css +6 -28
  222. package/esm/index.js +1 -0
  223. package/esm/index.js.map +1 -0
  224. package/esm/index.module.css.js +6 -0
  225. package/esm/index.module.css.js.map +1 -0
  226. package/esm/src/Component.d.ts +6 -0
  227. package/esm/src/components/CustomizedLabel.d.ts +2 -0
  228. package/esm/src/components/Dot/index.d.ts +3 -0
  229. package/esm/src/components/Legends/index.d.ts +13 -0
  230. package/esm/src/components/LinearGradient.d.ts +3 -0
  231. package/esm/src/components/RectBar.d.ts +2 -0
  232. package/esm/src/components/Tick/index.d.ts +3 -0
  233. package/esm/src/components/TooltipContent/index.d.ts +9 -0
  234. package/esm/src/hoc/Customized.d.ts +2 -0
  235. package/esm/src/hooks/usePathBar/index.d.ts +13 -0
  236. package/esm/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
  237. package/{hooks → esm/src/hooks}/useSettings/index.d.ts +5 -5
  238. package/esm/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
  239. package/esm/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
  240. package/esm/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
  241. package/esm/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
  242. package/esm/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
  243. package/esm/src/icons/Circle.d.ts +7 -0
  244. package/esm/src/icons/CircleLine.d.ts +7 -0
  245. package/esm/src/icons/FilledCircle.d.ts +7 -0
  246. package/esm/src/icons/Point.d.ts +7 -0
  247. package/esm/src/icons/StrokeCircle.d.ts +7 -0
  248. package/esm/src/index.d.ts +2 -0
  249. package/{modern → esm/src}/types/brush.types.d.ts +1 -2
  250. package/{modern → esm/src}/types/cartesianGrid.types.d.ts +1 -2
  251. package/{cssm → esm/src}/types/chart.types.d.ts +7 -7
  252. package/{modern → esm/src}/types/composedChart.types.d.ts +1 -2
  253. package/esm/src/types/index.d.ts +14 -0
  254. package/esm/src/types/labelList.types.d.ts +4 -0
  255. package/esm/{types → src/types}/legend.types.d.ts +1 -2
  256. package/{modern → esm/src}/types/options.types.d.ts +10 -12
  257. package/esm/{types → src/types}/payload.types.d.ts +2 -3
  258. package/{modern → esm/src}/types/responsiveContainer.types.d.ts +1 -3
  259. package/{moderncssm → esm/src}/types/seria.types.d.ts +6 -7
  260. package/{modern → esm/src}/types/tooltip.types.d.ts +1 -2
  261. package/esm/{types → src/types}/utils/axis.types.d.ts +1 -2
  262. package/{modern → esm/src}/types/utils/coordinates.types.d.ts +1 -2
  263. package/{modern → esm/src}/types/utils/data.types.d.ts +3 -4
  264. package/{cssm → esm/src}/types/utils/dot.types.d.ts +6 -7
  265. package/{modern → esm/src}/types/utils/gradient.types.d.ts +2 -3
  266. package/esm/src/types/utils/index.d.ts +6 -0
  267. package/esm/{types → src/types}/utils/tick.types.d.ts +2 -3
  268. package/{modern → esm/src}/types/xAxis.types.d.ts +2 -3
  269. package/esm/src/types/yAxis.types.d.ts +7 -0
  270. package/esm/types/brush.types.js +1 -0
  271. package/esm/types/brush.types.js.map +1 -0
  272. package/esm/types/cartesianGrid.types.js +1 -0
  273. package/esm/types/cartesianGrid.types.js.map +1 -0
  274. package/esm/types/chart.types.js +1 -0
  275. package/esm/types/chart.types.js.map +1 -0
  276. package/esm/types/composedChart.types.js +1 -0
  277. package/esm/types/composedChart.types.js.map +1 -0
  278. package/esm/types/index.js +1 -0
  279. package/esm/types/index.js.map +1 -0
  280. package/esm/types/labelList.types.js +1 -0
  281. package/esm/types/labelList.types.js.map +1 -0
  282. package/esm/types/legend.types.js +1 -0
  283. package/esm/types/legend.types.js.map +1 -0
  284. package/esm/types/options.types.js +1 -0
  285. package/esm/types/options.types.js.map +1 -0
  286. package/esm/types/payload.types.js +1 -0
  287. package/esm/types/payload.types.js.map +1 -0
  288. package/esm/types/responsiveContainer.types.js +1 -0
  289. package/esm/types/responsiveContainer.types.js.map +1 -0
  290. package/esm/types/seria.types.js +1 -0
  291. package/esm/types/seria.types.js.map +1 -0
  292. package/esm/types/tooltip.types.js +1 -0
  293. package/esm/types/tooltip.types.js.map +1 -0
  294. package/esm/types/utils/axis.types.js +1 -0
  295. package/esm/types/utils/axis.types.js.map +1 -0
  296. package/esm/types/utils/coordinates.types.js +1 -0
  297. package/esm/types/utils/coordinates.types.js.map +1 -0
  298. package/esm/types/utils/data.types.js +1 -0
  299. package/esm/types/utils/data.types.js.map +1 -0
  300. package/esm/types/utils/dot.types.js +1 -0
  301. package/esm/types/utils/dot.types.js.map +1 -0
  302. package/esm/types/utils/gradient.types.js +1 -0
  303. package/esm/types/utils/gradient.types.js.map +1 -0
  304. package/esm/types/utils/index.js +1 -0
  305. package/esm/types/utils/index.js.map +1 -0
  306. package/esm/types/utils/tick.types.js +1 -0
  307. package/esm/types/utils/tick.types.js.map +1 -0
  308. package/esm/types/xAxis.types.js +1 -0
  309. package/esm/types/xAxis.types.js.map +1 -0
  310. package/esm/types/yAxis.types.js +1 -0
  311. package/esm/types/yAxis.types.js.map +1 -0
  312. package/hoc/Customized.js +18 -0
  313. package/hoc/Customized.js.map +1 -0
  314. package/hooks/usePathBar/index.js +4 -3
  315. package/hooks/usePathBar/index.js.map +1 -0
  316. package/hooks/usePathBar/utils/getRadius.js +1 -0
  317. package/hooks/usePathBar/utils/getRadius.js.map +1 -0
  318. package/hooks/useSettings/index.js +11 -10
  319. package/hooks/useSettings/index.js.map +1 -0
  320. package/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
  321. package/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
  322. package/hooks/useSettings/utils/setDatas.js +1 -0
  323. package/hooks/useSettings/utils/setDatas.js.map +1 -0
  324. package/hooks/useSettings/utils/setGradientCharts.js +1 -0
  325. package/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
  326. package/hooks/useSettings/utils/setLegendMargin.js +1 -0
  327. package/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
  328. package/hooks/useSettings/utils/sortByIndex.js +1 -0
  329. package/hooks/useSettings/utils/sortByIndex.js.map +1 -0
  330. package/icons/Circle.js +1 -0
  331. package/icons/Circle.js.map +1 -0
  332. package/icons/CircleLine.js +1 -0
  333. package/icons/CircleLine.js.map +1 -0
  334. package/icons/FilledCircle.js +1 -0
  335. package/icons/FilledCircle.js.map +1 -0
  336. package/icons/Point.js +1 -0
  337. package/icons/Point.js.map +1 -0
  338. package/icons/StrokeCircle.js +1 -0
  339. package/icons/StrokeCircle.js.map +1 -0
  340. package/index.css +6 -28
  341. package/index.js +1 -0
  342. package/index.js.map +1 -0
  343. package/index.module.css.js +8 -0
  344. package/index.module.css.js.map +1 -0
  345. package/modern/Component.js +3 -8
  346. package/modern/Component.js.map +1 -0
  347. package/modern/components/CustomizedLabel.js +1 -0
  348. package/modern/components/CustomizedLabel.js.map +1 -0
  349. package/modern/components/Dot/index.css +7 -8
  350. package/modern/components/Dot/index.js +2 -3
  351. package/modern/components/Dot/index.js.map +1 -0
  352. package/modern/components/Dot/index.module.css.js +6 -0
  353. package/modern/components/Dot/index.module.css.js.map +1 -0
  354. package/modern/components/Legends/index.css +9 -31
  355. package/modern/components/Legends/index.js +2 -3
  356. package/modern/components/Legends/index.js.map +1 -0
  357. package/modern/components/Legends/index.module.css.js +6 -0
  358. package/modern/components/Legends/index.module.css.js.map +1 -0
  359. package/modern/components/LinearGradient.js +1 -0
  360. package/modern/components/LinearGradient.js.map +1 -0
  361. package/modern/components/RectBar.js +1 -0
  362. package/modern/components/RectBar.js.map +1 -0
  363. package/modern/components/Tick/index.css +5 -27
  364. package/modern/components/Tick/index.js +2 -3
  365. package/modern/components/Tick/index.js.map +1 -0
  366. package/modern/components/Tick/index.module.css.js +6 -0
  367. package/modern/components/Tick/index.module.css.js.map +1 -0
  368. package/modern/components/TooltipContent/index.css +14 -33
  369. package/modern/components/TooltipContent/index.js +2 -3
  370. package/modern/components/TooltipContent/index.js.map +1 -0
  371. package/modern/components/TooltipContent/index.module.css.js +6 -0
  372. package/modern/components/TooltipContent/index.module.css.js.map +1 -0
  373. package/modern/hoc/Customized.js +10 -0
  374. package/modern/hoc/Customized.js.map +1 -0
  375. package/modern/hooks/usePathBar/index.js +1 -0
  376. package/modern/hooks/usePathBar/index.js.map +1 -0
  377. package/modern/hooks/usePathBar/utils/getRadius.js +1 -0
  378. package/modern/hooks/usePathBar/utils/getRadius.js.map +1 -0
  379. package/modern/hooks/useSettings/index.js +1 -0
  380. package/modern/hooks/useSettings/index.js.map +1 -0
  381. package/modern/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
  382. package/modern/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
  383. package/modern/hooks/useSettings/utils/setDatas.js +1 -0
  384. package/modern/hooks/useSettings/utils/setDatas.js.map +1 -0
  385. package/modern/hooks/useSettings/utils/setGradientCharts.js +1 -0
  386. package/modern/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
  387. package/modern/hooks/useSettings/utils/setLegendMargin.js +1 -0
  388. package/modern/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
  389. package/modern/hooks/useSettings/utils/sortByIndex.js +1 -0
  390. package/modern/hooks/useSettings/utils/sortByIndex.js.map +1 -0
  391. package/modern/icons/Circle.js +1 -0
  392. package/modern/icons/Circle.js.map +1 -0
  393. package/modern/icons/CircleLine.js +1 -0
  394. package/modern/icons/CircleLine.js.map +1 -0
  395. package/modern/icons/FilledCircle.js +1 -0
  396. package/modern/icons/FilledCircle.js.map +1 -0
  397. package/modern/icons/Point.js +1 -0
  398. package/modern/icons/Point.js.map +1 -0
  399. package/modern/icons/StrokeCircle.js +1 -0
  400. package/modern/icons/StrokeCircle.js.map +1 -0
  401. package/modern/index.css +6 -28
  402. package/modern/index.js +1 -0
  403. package/modern/index.js.map +1 -0
  404. package/modern/index.module.css.js +6 -0
  405. package/modern/index.module.css.js.map +1 -0
  406. package/modern/src/Component.d.ts +6 -0
  407. package/modern/src/components/CustomizedLabel.d.ts +2 -0
  408. package/modern/src/components/Dot/index.d.ts +3 -0
  409. package/modern/src/components/Legends/index.d.ts +13 -0
  410. package/modern/src/components/LinearGradient.d.ts +3 -0
  411. package/modern/src/components/RectBar.d.ts +2 -0
  412. package/modern/src/components/Tick/index.d.ts +3 -0
  413. package/modern/src/components/TooltipContent/index.d.ts +9 -0
  414. package/modern/src/hoc/Customized.d.ts +2 -0
  415. package/modern/src/hooks/usePathBar/index.d.ts +13 -0
  416. package/modern/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
  417. package/{esm → modern/src}/hooks/useSettings/index.d.ts +5 -5
  418. package/modern/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
  419. package/modern/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
  420. package/modern/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
  421. package/modern/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
  422. package/modern/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
  423. package/modern/src/icons/Circle.d.ts +7 -0
  424. package/modern/src/icons/CircleLine.d.ts +7 -0
  425. package/modern/src/icons/FilledCircle.d.ts +7 -0
  426. package/modern/src/icons/Point.d.ts +7 -0
  427. package/modern/src/icons/StrokeCircle.d.ts +7 -0
  428. package/modern/src/index.d.ts +2 -0
  429. package/{moderncssm → modern/src}/types/brush.types.d.ts +1 -2
  430. package/{cssm → modern/src}/types/cartesianGrid.types.d.ts +1 -2
  431. package/{moderncssm → modern/src}/types/chart.types.d.ts +7 -7
  432. package/{esm → modern/src}/types/composedChart.types.d.ts +1 -2
  433. package/modern/src/types/index.d.ts +14 -0
  434. package/modern/src/types/labelList.types.d.ts +4 -0
  435. package/{moderncssm → modern/src}/types/legend.types.d.ts +1 -2
  436. package/{moderncssm → modern/src}/types/options.types.d.ts +10 -12
  437. package/{cssm → modern/src}/types/payload.types.d.ts +2 -3
  438. package/{cssm → modern/src}/types/responsiveContainer.types.d.ts +1 -3
  439. package/{esm → modern/src}/types/seria.types.d.ts +6 -7
  440. package/{moderncssm → modern/src}/types/tooltip.types.d.ts +1 -2
  441. package/{moderncssm → modern/src}/types/utils/axis.types.d.ts +1 -2
  442. package/{cssm → modern/src}/types/utils/coordinates.types.d.ts +1 -2
  443. package/{moderncssm → modern/src}/types/utils/data.types.d.ts +3 -4
  444. package/{esm → modern/src}/types/utils/dot.types.d.ts +6 -7
  445. package/{moderncssm → modern/src}/types/utils/gradient.types.d.ts +2 -3
  446. package/modern/src/types/utils/index.d.ts +6 -0
  447. package/{moderncssm → modern/src}/types/utils/tick.types.d.ts +2 -3
  448. package/{cssm → modern/src}/types/xAxis.types.d.ts +2 -3
  449. package/modern/src/types/yAxis.types.d.ts +7 -0
  450. package/modern/types/brush.types.js +1 -0
  451. package/modern/types/brush.types.js.map +1 -0
  452. package/modern/types/cartesianGrid.types.js +1 -0
  453. package/modern/types/cartesianGrid.types.js.map +1 -0
  454. package/modern/types/chart.types.js +1 -0
  455. package/modern/types/chart.types.js.map +1 -0
  456. package/modern/types/composedChart.types.js +1 -0
  457. package/modern/types/composedChart.types.js.map +1 -0
  458. package/modern/types/index.js +1 -0
  459. package/modern/types/index.js.map +1 -0
  460. package/modern/types/labelList.types.js +1 -0
  461. package/modern/types/labelList.types.js.map +1 -0
  462. package/modern/types/legend.types.js +1 -0
  463. package/modern/types/legend.types.js.map +1 -0
  464. package/modern/types/options.types.js +1 -0
  465. package/modern/types/options.types.js.map +1 -0
  466. package/modern/types/payload.types.js +1 -0
  467. package/modern/types/payload.types.js.map +1 -0
  468. package/modern/types/responsiveContainer.types.js +1 -0
  469. package/modern/types/responsiveContainer.types.js.map +1 -0
  470. package/modern/types/seria.types.js +1 -0
  471. package/modern/types/seria.types.js.map +1 -0
  472. package/modern/types/tooltip.types.js +1 -0
  473. package/modern/types/tooltip.types.js.map +1 -0
  474. package/modern/types/utils/axis.types.js +1 -0
  475. package/modern/types/utils/axis.types.js.map +1 -0
  476. package/modern/types/utils/coordinates.types.js +1 -0
  477. package/modern/types/utils/coordinates.types.js.map +1 -0
  478. package/modern/types/utils/data.types.js +1 -0
  479. package/modern/types/utils/data.types.js.map +1 -0
  480. package/modern/types/utils/dot.types.js +1 -0
  481. package/modern/types/utils/dot.types.js.map +1 -0
  482. package/modern/types/utils/gradient.types.js +1 -0
  483. package/modern/types/utils/gradient.types.js.map +1 -0
  484. package/modern/types/utils/index.js +1 -0
  485. package/modern/types/utils/index.js.map +1 -0
  486. package/modern/types/utils/tick.types.js +1 -0
  487. package/modern/types/utils/tick.types.js.map +1 -0
  488. package/modern/types/xAxis.types.js +1 -0
  489. package/modern/types/xAxis.types.js.map +1 -0
  490. package/modern/types/yAxis.types.js +1 -0
  491. package/modern/types/yAxis.types.js.map +1 -0
  492. package/moderncssm/Component.js +2 -5
  493. package/moderncssm/Component.js.map +1 -0
  494. package/moderncssm/components/CustomizedLabel.js +1 -0
  495. package/moderncssm/components/CustomizedLabel.js.map +1 -0
  496. package/moderncssm/components/Dot/index.js +1 -0
  497. package/moderncssm/components/Dot/index.js.map +1 -0
  498. package/moderncssm/components/Legends/index.js +1 -0
  499. package/moderncssm/components/Legends/index.js.map +1 -0
  500. package/moderncssm/components/Legends/index.module.css +0 -2
  501. package/moderncssm/components/LinearGradient.js +1 -0
  502. package/moderncssm/components/LinearGradient.js.map +1 -0
  503. package/moderncssm/components/RectBar.js +1 -0
  504. package/moderncssm/components/RectBar.js.map +1 -0
  505. package/moderncssm/components/Tick/index.js +1 -0
  506. package/moderncssm/components/Tick/index.js.map +1 -0
  507. package/moderncssm/components/Tick/index.module.css +0 -2
  508. package/moderncssm/components/TooltipContent/index.js +1 -0
  509. package/moderncssm/components/TooltipContent/index.js.map +1 -0
  510. package/moderncssm/components/TooltipContent/index.module.css +0 -2
  511. package/moderncssm/hoc/Customized.js +10 -0
  512. package/moderncssm/hoc/Customized.js.map +1 -0
  513. package/moderncssm/hooks/usePathBar/index.js +1 -0
  514. package/moderncssm/hooks/usePathBar/index.js.map +1 -0
  515. package/moderncssm/hooks/usePathBar/utils/getRadius.js +1 -0
  516. package/moderncssm/hooks/usePathBar/utils/getRadius.js.map +1 -0
  517. package/moderncssm/hooks/useSettings/index.js +1 -0
  518. package/moderncssm/hooks/useSettings/index.js.map +1 -0
  519. package/moderncssm/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
  520. package/moderncssm/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
  521. package/moderncssm/hooks/useSettings/utils/setDatas.js +1 -0
  522. package/moderncssm/hooks/useSettings/utils/setDatas.js.map +1 -0
  523. package/moderncssm/hooks/useSettings/utils/setGradientCharts.js +1 -0
  524. package/moderncssm/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
  525. package/moderncssm/hooks/useSettings/utils/setLegendMargin.js +1 -0
  526. package/moderncssm/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
  527. package/moderncssm/hooks/useSettings/utils/sortByIndex.js +1 -0
  528. package/moderncssm/hooks/useSettings/utils/sortByIndex.js.map +1 -0
  529. package/moderncssm/icons/Circle.js +1 -0
  530. package/moderncssm/icons/Circle.js.map +1 -0
  531. package/moderncssm/icons/CircleLine.js +1 -0
  532. package/moderncssm/icons/CircleLine.js.map +1 -0
  533. package/moderncssm/icons/FilledCircle.js +1 -0
  534. package/moderncssm/icons/FilledCircle.js.map +1 -0
  535. package/moderncssm/icons/Point.js +1 -0
  536. package/moderncssm/icons/Point.js.map +1 -0
  537. package/moderncssm/icons/StrokeCircle.js +1 -0
  538. package/moderncssm/icons/StrokeCircle.js.map +1 -0
  539. package/moderncssm/index.js +1 -0
  540. package/moderncssm/index.js.map +1 -0
  541. package/moderncssm/index.module.css +0 -2
  542. package/moderncssm/src/Component.d.ts +6 -0
  543. package/moderncssm/src/components/CustomizedLabel.d.ts +2 -0
  544. package/moderncssm/src/components/Dot/index.d.ts +3 -0
  545. package/moderncssm/src/components/Legends/index.d.ts +13 -0
  546. package/moderncssm/src/components/LinearGradient.d.ts +3 -0
  547. package/moderncssm/src/components/RectBar.d.ts +2 -0
  548. package/moderncssm/src/components/Tick/index.d.ts +3 -0
  549. package/moderncssm/src/components/TooltipContent/index.d.ts +9 -0
  550. package/moderncssm/src/hoc/Customized.d.ts +2 -0
  551. package/moderncssm/src/hooks/usePathBar/index.d.ts +13 -0
  552. package/moderncssm/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
  553. package/{modern → moderncssm/src}/hooks/useSettings/index.d.ts +5 -5
  554. package/moderncssm/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
  555. package/moderncssm/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
  556. package/moderncssm/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
  557. package/moderncssm/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
  558. package/moderncssm/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
  559. package/moderncssm/src/icons/Circle.d.ts +7 -0
  560. package/moderncssm/src/icons/CircleLine.d.ts +7 -0
  561. package/moderncssm/src/icons/FilledCircle.d.ts +7 -0
  562. package/moderncssm/src/icons/Point.d.ts +7 -0
  563. package/moderncssm/src/icons/StrokeCircle.d.ts +7 -0
  564. package/moderncssm/src/index.d.ts +2 -0
  565. package/{esm → moderncssm/src}/types/brush.types.d.ts +1 -2
  566. package/moderncssm/{types → src/types}/cartesianGrid.types.d.ts +1 -2
  567. package/{esm → moderncssm/src}/types/chart.types.d.ts +7 -7
  568. package/moderncssm/{types → src/types}/composedChart.types.d.ts +1 -2
  569. package/moderncssm/src/types/index.d.ts +14 -0
  570. package/moderncssm/src/types/labelList.types.d.ts +4 -0
  571. package/{cssm → moderncssm/src}/types/legend.types.d.ts +1 -2
  572. package/{cssm → moderncssm/src}/types/options.types.d.ts +10 -12
  573. package/moderncssm/{types → src/types}/payload.types.d.ts +2 -3
  574. package/moderncssm/{types → src/types}/responsiveContainer.types.d.ts +1 -3
  575. package/{cssm → moderncssm/src}/types/seria.types.d.ts +6 -7
  576. package/{cssm → moderncssm/src}/types/tooltip.types.d.ts +1 -2
  577. package/{cssm → moderncssm/src}/types/utils/axis.types.d.ts +1 -2
  578. package/moderncssm/{types → src/types}/utils/coordinates.types.d.ts +1 -2
  579. package/{cssm → moderncssm/src}/types/utils/data.types.d.ts +3 -4
  580. package/moderncssm/{types → src/types}/utils/dot.types.d.ts +6 -7
  581. package/{esm → moderncssm/src}/types/utils/gradient.types.d.ts +2 -3
  582. package/moderncssm/src/types/utils/index.d.ts +6 -0
  583. package/{cssm → moderncssm/src}/types/utils/tick.types.d.ts +2 -3
  584. package/moderncssm/{types → src/types}/xAxis.types.d.ts +2 -3
  585. package/moderncssm/src/types/yAxis.types.d.ts +7 -0
  586. package/moderncssm/types/brush.types.js +1 -0
  587. package/moderncssm/types/brush.types.js.map +1 -0
  588. package/moderncssm/types/cartesianGrid.types.js +1 -0
  589. package/moderncssm/types/cartesianGrid.types.js.map +1 -0
  590. package/moderncssm/types/chart.types.js +1 -0
  591. package/moderncssm/types/chart.types.js.map +1 -0
  592. package/moderncssm/types/composedChart.types.js +1 -0
  593. package/moderncssm/types/composedChart.types.js.map +1 -0
  594. package/moderncssm/types/index.js +1 -0
  595. package/moderncssm/types/index.js.map +1 -0
  596. package/moderncssm/types/labelList.types.js +1 -0
  597. package/moderncssm/types/labelList.types.js.map +1 -0
  598. package/moderncssm/types/legend.types.js +1 -0
  599. package/moderncssm/types/legend.types.js.map +1 -0
  600. package/moderncssm/types/options.types.js +1 -0
  601. package/moderncssm/types/options.types.js.map +1 -0
  602. package/moderncssm/types/payload.types.js +1 -0
  603. package/moderncssm/types/payload.types.js.map +1 -0
  604. package/moderncssm/types/responsiveContainer.types.js +1 -0
  605. package/moderncssm/types/responsiveContainer.types.js.map +1 -0
  606. package/moderncssm/types/seria.types.js +1 -0
  607. package/moderncssm/types/seria.types.js.map +1 -0
  608. package/moderncssm/types/tooltip.types.js +1 -0
  609. package/moderncssm/types/tooltip.types.js.map +1 -0
  610. package/moderncssm/types/utils/axis.types.js +1 -0
  611. package/moderncssm/types/utils/axis.types.js.map +1 -0
  612. package/moderncssm/types/utils/coordinates.types.js +1 -0
  613. package/moderncssm/types/utils/coordinates.types.js.map +1 -0
  614. package/moderncssm/types/utils/data.types.js +1 -0
  615. package/moderncssm/types/utils/data.types.js.map +1 -0
  616. package/moderncssm/types/utils/dot.types.js +1 -0
  617. package/moderncssm/types/utils/dot.types.js.map +1 -0
  618. package/moderncssm/types/utils/gradient.types.js +1 -0
  619. package/moderncssm/types/utils/gradient.types.js.map +1 -0
  620. package/moderncssm/types/utils/index.js +1 -0
  621. package/moderncssm/types/utils/index.js.map +1 -0
  622. package/moderncssm/types/utils/tick.types.js +1 -0
  623. package/moderncssm/types/utils/tick.types.js.map +1 -0
  624. package/moderncssm/types/xAxis.types.js +1 -0
  625. package/moderncssm/types/xAxis.types.js.map +1 -0
  626. package/moderncssm/types/yAxis.types.js +1 -0
  627. package/moderncssm/types/yAxis.types.js.map +1 -0
  628. package/package.json +4 -7
  629. package/src/Component.d.ts +6 -0
  630. package/src/components/CustomizedLabel.d.ts +2 -0
  631. package/src/components/Dot/index.d.ts +3 -0
  632. package/src/components/Legends/index.d.ts +13 -0
  633. package/src/components/LinearGradient.d.ts +3 -0
  634. package/src/components/RectBar.d.ts +2 -0
  635. package/src/components/Tick/index.d.ts +3 -0
  636. package/src/components/TooltipContent/index.d.ts +9 -0
  637. package/src/hoc/Customized.d.ts +2 -0
  638. package/src/hoc/Customized.tsx +8 -0
  639. package/src/hooks/usePathBar/index.d.ts +13 -0
  640. package/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
  641. package/src/hooks/useSettings/index.d.ts +19 -0
  642. package/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
  643. package/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
  644. package/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
  645. package/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
  646. package/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
  647. package/src/icons/Circle.d.ts +7 -0
  648. package/src/icons/CircleLine.d.ts +7 -0
  649. package/src/icons/FilledCircle.d.ts +7 -0
  650. package/src/icons/Point.d.ts +7 -0
  651. package/src/icons/StrokeCircle.d.ts +7 -0
  652. package/src/index.d.ts +2 -0
  653. package/src/types/brush.types.d.ts +40 -0
  654. package/src/types/cartesianGrid.types.d.ts +22 -0
  655. package/src/types/chart.types.d.ts +61 -0
  656. package/src/types/composedChart.types.d.ts +32 -0
  657. package/src/types/index.d.ts +14 -0
  658. package/src/types/labelList.types.d.ts +4 -0
  659. package/src/types/legend.types.d.ts +29 -0
  660. package/src/types/options.types.d.ts +57 -0
  661. package/src/types/payload.types.d.ts +28 -0
  662. package/src/types/responsiveContainer.types.d.ts +8 -0
  663. package/src/types/seria.types.d.ts +71 -0
  664. package/src/types/tooltip.types.d.ts +69 -0
  665. package/src/types/utils/axis.types.d.ts +67 -0
  666. package/src/types/utils/coordinates.types.d.ts +10 -0
  667. package/src/types/utils/data.types.d.ts +16 -0
  668. package/src/types/utils/dot.types.d.ts +72 -0
  669. package/src/types/utils/gradient.types.d.ts +28 -0
  670. package/src/types/utils/index.d.ts +6 -0
  671. package/src/types/utils/tick.types.d.ts +18 -0
  672. package/src/types/xAxis.types.d.ts +15 -0
  673. package/src/types/yAxis.types.d.ts +7 -0
  674. package/types/brush.types.js +1 -0
  675. package/types/brush.types.js.map +1 -0
  676. package/types/cartesianGrid.types.js +1 -0
  677. package/types/cartesianGrid.types.js.map +1 -0
  678. package/types/chart.types.js +1 -0
  679. package/types/chart.types.js.map +1 -0
  680. package/types/composedChart.types.js +1 -0
  681. package/types/composedChart.types.js.map +1 -0
  682. package/types/index.js +1 -0
  683. package/types/index.js.map +1 -0
  684. package/types/labelList.types.js +1 -0
  685. package/types/labelList.types.js.map +1 -0
  686. package/types/legend.types.js +1 -0
  687. package/types/legend.types.js.map +1 -0
  688. package/types/options.types.js +1 -0
  689. package/types/options.types.js.map +1 -0
  690. package/types/payload.types.js +1 -0
  691. package/types/payload.types.js.map +1 -0
  692. package/types/responsiveContainer.types.js +1 -0
  693. package/types/responsiveContainer.types.js.map +1 -0
  694. package/types/seria.types.js +1 -0
  695. package/types/seria.types.js.map +1 -0
  696. package/types/tooltip.types.js +1 -0
  697. package/types/tooltip.types.js.map +1 -0
  698. package/types/utils/axis.types.js +1 -0
  699. package/types/utils/axis.types.js.map +1 -0
  700. package/types/utils/coordinates.types.js +1 -0
  701. package/types/utils/coordinates.types.js.map +1 -0
  702. package/types/utils/data.types.js +1 -0
  703. package/types/utils/data.types.js.map +1 -0
  704. package/types/utils/dot.types.js +1 -0
  705. package/types/utils/dot.types.js.map +1 -0
  706. package/types/utils/gradient.types.js +1 -0
  707. package/types/utils/gradient.types.js.map +1 -0
  708. package/types/utils/index.js +1 -0
  709. package/types/utils/index.js.map +1 -0
  710. package/types/utils/tick.types.js +1 -0
  711. package/types/utils/tick.types.js.map +1 -0
  712. package/types/xAxis.types.js +1 -0
  713. package/types/xAxis.types.js.map +1 -0
  714. package/types/yAxis.types.js +1 -0
  715. package/types/yAxis.types.js.map +1 -0
  716. package/Component.d.ts +0 -8
  717. package/components/CustomizedLabel.d.ts +0 -4
  718. package/components/Dot/index.d.ts +0 -5
  719. package/components/Legends/index.d.ts +0 -14
  720. package/components/LinearGradient.d.ts +0 -5
  721. package/components/RectBar.d.ts +0 -3
  722. package/components/Tick/index.d.ts +0 -5
  723. package/components/TooltipContent/index.d.ts +0 -11
  724. package/cssm/Component.d.ts +0 -8
  725. package/cssm/components/CustomizedLabel.d.ts +0 -4
  726. package/cssm/components/Dot/index.d.ts +0 -5
  727. package/cssm/components/Legends/index.d.ts +0 -14
  728. package/cssm/components/LinearGradient.d.ts +0 -5
  729. package/cssm/components/RectBar.d.ts +0 -3
  730. package/cssm/components/Tick/index.d.ts +0 -5
  731. package/cssm/components/TooltipContent/index.d.ts +0 -11
  732. package/cssm/hooks/usePathBar/index.d.ts +0 -14
  733. package/cssm/hooks/usePathBar/utils/getRadius.d.ts +0 -2
  734. package/cssm/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
  735. package/cssm/hooks/useSettings/utils/setDatas.d.ts +0 -5
  736. package/cssm/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
  737. package/cssm/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
  738. package/cssm/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
  739. package/cssm/icons/Circle.d.ts +0 -8
  740. package/cssm/icons/CircleLine.d.ts +0 -8
  741. package/cssm/icons/FilledCircle.d.ts +0 -8
  742. package/cssm/icons/Point.d.ts +0 -8
  743. package/cssm/icons/StrokeCircle.d.ts +0 -8
  744. package/cssm/index.d.ts +0 -2
  745. package/cssm/types/index.d.ts +0 -14
  746. package/cssm/types/labelList.types.d.ts +0 -5
  747. package/cssm/types/utils/index.d.ts +0 -7
  748. package/cssm/types/yAxis.types.d.ts +0 -8
  749. package/esm/Component.d.ts +0 -8
  750. package/esm/components/CustomizedLabel.d.ts +0 -4
  751. package/esm/components/Dot/index.d.ts +0 -5
  752. package/esm/components/Legends/index.d.ts +0 -14
  753. package/esm/components/LinearGradient.d.ts +0 -5
  754. package/esm/components/RectBar.d.ts +0 -3
  755. package/esm/components/Tick/index.d.ts +0 -5
  756. package/esm/components/TooltipContent/index.d.ts +0 -11
  757. package/esm/hooks/usePathBar/index.d.ts +0 -14
  758. package/esm/hooks/usePathBar/utils/getRadius.d.ts +0 -2
  759. package/esm/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
  760. package/esm/hooks/useSettings/utils/setDatas.d.ts +0 -5
  761. package/esm/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
  762. package/esm/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
  763. package/esm/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
  764. package/esm/icons/Circle.d.ts +0 -8
  765. package/esm/icons/CircleLine.d.ts +0 -8
  766. package/esm/icons/FilledCircle.d.ts +0 -8
  767. package/esm/icons/Point.d.ts +0 -8
  768. package/esm/icons/StrokeCircle.d.ts +0 -8
  769. package/esm/index.d.ts +0 -2
  770. package/esm/types/index.d.ts +0 -14
  771. package/esm/types/labelList.types.d.ts +0 -5
  772. package/esm/types/utils/index.d.ts +0 -7
  773. package/esm/types/yAxis.types.d.ts +0 -8
  774. package/hooks/usePathBar/index.d.ts +0 -14
  775. package/hooks/usePathBar/utils/getRadius.d.ts +0 -2
  776. package/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
  777. package/hooks/useSettings/utils/setDatas.d.ts +0 -5
  778. package/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
  779. package/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
  780. package/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
  781. package/icons/Circle.d.ts +0 -8
  782. package/icons/CircleLine.d.ts +0 -8
  783. package/icons/FilledCircle.d.ts +0 -8
  784. package/icons/Point.d.ts +0 -8
  785. package/icons/StrokeCircle.d.ts +0 -8
  786. package/index.d.ts +0 -2
  787. package/modern/Component.d.ts +0 -8
  788. package/modern/components/CustomizedLabel.d.ts +0 -4
  789. package/modern/components/Dot/index.d.ts +0 -5
  790. package/modern/components/Legends/index.d.ts +0 -14
  791. package/modern/components/LinearGradient.d.ts +0 -5
  792. package/modern/components/RectBar.d.ts +0 -3
  793. package/modern/components/Tick/index.d.ts +0 -5
  794. package/modern/components/TooltipContent/index.d.ts +0 -11
  795. package/modern/hooks/usePathBar/index.d.ts +0 -14
  796. package/modern/hooks/usePathBar/utils/getRadius.d.ts +0 -2
  797. package/modern/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
  798. package/modern/hooks/useSettings/utils/setDatas.d.ts +0 -5
  799. package/modern/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
  800. package/modern/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
  801. package/modern/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
  802. package/modern/icons/Circle.d.ts +0 -8
  803. package/modern/icons/CircleLine.d.ts +0 -8
  804. package/modern/icons/FilledCircle.d.ts +0 -8
  805. package/modern/icons/Point.d.ts +0 -8
  806. package/modern/icons/StrokeCircle.d.ts +0 -8
  807. package/modern/index.d.ts +0 -2
  808. package/modern/types/index.d.ts +0 -14
  809. package/modern/types/labelList.types.d.ts +0 -5
  810. package/modern/types/utils/index.d.ts +0 -7
  811. package/modern/types/yAxis.types.d.ts +0 -8
  812. package/moderncssm/Component.d.ts +0 -8
  813. package/moderncssm/components/CustomizedLabel.d.ts +0 -4
  814. package/moderncssm/components/Dot/index.d.ts +0 -5
  815. package/moderncssm/components/Legends/index.d.ts +0 -14
  816. package/moderncssm/components/LinearGradient.d.ts +0 -5
  817. package/moderncssm/components/RectBar.d.ts +0 -3
  818. package/moderncssm/components/Tick/index.d.ts +0 -5
  819. package/moderncssm/components/TooltipContent/index.d.ts +0 -11
  820. package/moderncssm/hooks/usePathBar/index.d.ts +0 -14
  821. package/moderncssm/hooks/usePathBar/utils/getRadius.d.ts +0 -2
  822. package/moderncssm/hooks/useSettings/index.d.ts +0 -19
  823. package/moderncssm/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
  824. package/moderncssm/hooks/useSettings/utils/setDatas.d.ts +0 -5
  825. package/moderncssm/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
  826. package/moderncssm/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
  827. package/moderncssm/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
  828. package/moderncssm/icons/Circle.d.ts +0 -8
  829. package/moderncssm/icons/CircleLine.d.ts +0 -8
  830. package/moderncssm/icons/FilledCircle.d.ts +0 -8
  831. package/moderncssm/icons/Point.d.ts +0 -8
  832. package/moderncssm/icons/StrokeCircle.d.ts +0 -8
  833. package/moderncssm/index.d.ts +0 -2
  834. package/moderncssm/types/index.d.ts +0 -14
  835. package/moderncssm/types/labelList.types.d.ts +0 -5
  836. package/moderncssm/types/utils/index.d.ts +0 -7
  837. package/moderncssm/types/yAxis.types.d.ts +0 -8
  838. package/src/hoc/Customized.jsx +0 -7
  839. package/types/brush.types.d.ts +0 -41
  840. package/types/cartesianGrid.types.d.ts +0 -23
  841. package/types/chart.types.d.ts +0 -61
  842. package/types/composedChart.types.d.ts +0 -33
  843. package/types/index.d.ts +0 -14
  844. package/types/labelList.types.d.ts +0 -5
  845. package/types/legend.types.d.ts +0 -30
  846. package/types/options.types.d.ts +0 -59
  847. package/types/payload.types.d.ts +0 -29
  848. package/types/responsiveContainer.types.d.ts +0 -10
  849. package/types/seria.types.d.ts +0 -72
  850. package/types/tooltip.types.d.ts +0 -70
  851. package/types/utils/axis.types.d.ts +0 -68
  852. package/types/utils/coordinates.types.d.ts +0 -11
  853. package/types/utils/data.types.d.ts +0 -17
  854. package/types/utils/dot.types.d.ts +0 -73
  855. package/types/utils/gradient.types.d.ts +0 -29
  856. package/types/utils/index.d.ts +0 -7
  857. package/types/utils/tick.types.d.ts +0 -19
  858. package/types/xAxis.types.d.ts +0 -16
  859. package/types/yAxis.types.d.ts +0 -8
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
-
3
- export const CustomizedHOC = (Component, options) => {
4
- const NewComponent = (props) => <Component {...props} {...options} />;
5
-
6
- return NewComponent;
7
- };
@@ -1,41 +0,0 @@
1
- import { ReactText } from 'react';
2
- import { DataKey } from 'recharts/types/util/types';
3
- interface BrushProps {
4
- /**
5
- * Ключ данных
6
- */
7
- dataKey?: DataKey<string>;
8
- /**
9
- * Ширина ползунков
10
- */
11
- travallerWidth?: number;
12
- /**
13
- * Начальный индекс интервала показа
14
- */
15
- startIndex?: number;
16
- /**
17
- * Конечный индекс интервала показа
18
- */
19
- endIndex?: number;
20
- /**
21
- * Отступ
22
- */
23
- brushMargin?: number;
24
- /**
25
- * Высота
26
- */
27
- height: number;
28
- /**
29
- * Форматирование значений
30
- */
31
- tickFormatter?: (value: any, index: number) => ReactText;
32
- /**
33
- * Всегда показывать значение текущего интервала
34
- */
35
- alwaysShowText?: boolean;
36
- /**
37
- * Цвет
38
- */
39
- stroke?: string;
40
- }
41
- export { BrushProps };
@@ -1,23 +0,0 @@
1
- interface CartesianGridProps {
2
- /**
3
- * Отображение горизонтальной сетки
4
- */
5
- horizontal?: boolean;
6
- /**
7
- * Отображение вертикальной сетки
8
- */
9
- vertical?: boolean;
10
- /**
11
- * Штрихи для осей
12
- */
13
- strokeDasharray?: string;
14
- /**
15
- * Цвет разметки сетки
16
- */
17
- stroke?: string;
18
- /**
19
- * Цвет заливки графика
20
- */
21
- fill?: string;
22
- }
23
- export { CartesianGridProps };
@@ -1,61 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { RectangleProps } from 'recharts';
3
- import { DataKey } from 'recharts/types/util/types';
4
- import { DataProps } from "./utils/data.types";
5
- import { DotSettingProps } from "./utils/dot.types";
6
- type CurveType = 'linear' | 'monotone' | 'step';
7
- type RectangleShapeType = ReactElement<SVGElement> | ((props: any) => ReactElement<SVGElement>) | RectangleProps | boolean;
8
- interface ChartProps {
9
- /**
10
- * Название графика (отображается в легендах и тултипе)
11
- */
12
- name?: string;
13
- /**
14
- * Ключ данных
15
- */
16
- dataKey: DataKey<number | string>;
17
- /**
18
- * Цвет заливки графика
19
- */
20
- fill?: string;
21
- /**
22
- * Цвет линии графика
23
- */
24
- stroke?: string;
25
- /**
26
- * Отображение точек на графике
27
- */
28
- dot?: boolean;
29
- /**
30
- * Параметры для точек грфика (если dot: true)
31
- */
32
- dotSettings?: DotSettingProps[] | DotSettingProps;
33
- /**
34
- * Наследование цвета
35
- */
36
- inheritStroke?: boolean;
37
- /**
38
- * Форматирование значения графика для тултипа
39
- */
40
- formatter?: Function;
41
- /**
42
- * Тип линии
43
- */
44
- type?: CurveType;
45
- /**
46
- * Толщина линии
47
- */
48
- strokeWidth?: number;
49
- /**
50
- * Прерывистость линии
51
- */
52
- strokeDasharray?: string | number;
53
- }
54
- interface ToggleChartProps {
55
- chart?: 'line' | 'area' | 'bar' | 'gradient';
56
- data?: DataProps[];
57
- icon?: 'circleLine' | 'filledCircle' | 'strokeCircle' | 'circle';
58
- order?: number;
59
- properties: ChartProps;
60
- }
61
- export { RectangleShapeType, ChartProps, ToggleChartProps };
@@ -1,33 +0,0 @@
1
- interface ComposedChartProps {
2
- /**
3
- * Отступы графика на момент инициализации компонента
4
- */
5
- initMargin?: {
6
- top?: number;
7
- bottom?: number;
8
- left?: number;
9
- right?: number;
10
- };
11
- /**
12
- * Отступы которые высчитываются автоматически, основаны на initMargin и отступах разных елементов
13
- */
14
- margin?: {
15
- top?: number;
16
- right?: number;
17
- left?: number;
18
- bottom?: number;
19
- };
20
- /**
21
- * Максимальная ширина графиков типа bar
22
- */
23
- maxBarSize?: number;
24
- /**
25
- * Разрыв между двумя категориями столбцов, который может быть процентным или фиксированным значением
26
- */
27
- barCategoryGap?: string | number;
28
- /**
29
- * Разрыв между двумя столбцами одной категории
30
- */
31
- barGap?: number;
32
- }
33
- export { ComposedChartProps };
package/types/index.d.ts DELETED
@@ -1,14 +0,0 @@
1
- export * from "./utils/index";
2
- export * from "./brush.types";
3
- export * from "./cartesianGrid.types";
4
- export * from "./chart.types";
5
- export * from "./composedChart.types";
6
- export * from "./labelList.types";
7
- export * from "./legend.types";
8
- export * from "./options.types";
9
- export * from "./payload.types";
10
- export * from "./responsiveContainer.types";
11
- export * from "./seria.types";
12
- export * from "./tooltip.types";
13
- export * from "./xAxis.types";
14
- export * from "./yAxis.types";
@@ -1,5 +0,0 @@
1
- interface LabelListProps {
2
- formatter: Function;
3
- ofsset: number;
4
- }
5
- export { LabelListProps };
@@ -1,30 +0,0 @@
1
- import { Formatter } from 'recharts/types/component/DefaultLegendContent';
2
- interface LegendProps {
3
- /**
4
- * Выравнивание элементов легенды в вертикальном направлении.
5
- */
6
- verticalAlign?: 'top' | 'middle' | 'bottom';
7
- /**
8
- * Функция форматирования каждого текста в легенде.
9
- */
10
- formatter?: Formatter;
11
- /**
12
- * Выравнивание элементов легенды в горизонтальном направлении.
13
- */
14
- align?: 'left' | 'center' | 'right';
15
- /**
16
- * Вертикальный отступ
17
- */
18
- marginTop?: number;
19
- /**
20
- * Выщитывается автоматически
21
- */
22
- margin?: {
23
- top?: number;
24
- };
25
- /**
26
- * Высота иконок
27
- */
28
- iconHeight?: number;
29
- }
30
- export { LegendProps };
@@ -1,59 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { BrushProps } from "./brush.types";
4
- import { CartesianGridProps } from "./cartesianGrid.types";
5
- import { ComposedChartProps } from "./composedChart.types";
6
- import { LegendProps } from "./legend.types";
7
- import { ResponsiveContainerProps } from "./responsiveContainer.types";
8
- import { SeriaProps } from "./seria.types";
9
- import { TooltipProps } from "./tooltip.types";
10
- import { XAxisProps } from "./xAxis.types";
11
- import { YAxisProps } from "./yAxis.types";
12
- interface OptionsProps {
13
- /**
14
- * Индефикатор графика
15
- */
16
- id: string;
17
- /**
18
- * Компонент контейнера, позволяющий адаптировать диаграммы к размеру родительского контейнера
19
- */
20
- responsiveContainer?: ResponsiveContainerProps;
21
- /**
22
- * Диаграмма, состоящая из bar, linear и area диаграмм
23
- */
24
- composeChart: ComposedChartProps;
25
- /**
26
- * Отображение линий осей графика
27
- */
28
- cartesianGrid?: CartesianGridProps;
29
- /**
30
- * Настройки оси Х
31
- */
32
- xAxis: XAxisProps;
33
- /**
34
- * Настройки оси У
35
- */
36
- yAxis: YAxisProps;
37
- /**
38
- * Всплывающаяся подсказка
39
- */
40
- tooltip?: TooltipProps;
41
- /**
42
- * Компонент маштабирования графика
43
- */
44
- brush?: BrushProps;
45
- /**
46
- * Компонент подписи графиков
47
- */
48
- legend?: LegendProps;
49
- /**
50
- * Mассив объектов с параметрами грaфиков с обязательным полем
51
- */
52
- series: SeriaProps[];
53
- /**
54
- * Mассив меток
55
- */
56
- labels: Array<string | number>;
57
- children?: React.ReactNode;
58
- }
59
- export { OptionsProps };
@@ -1,29 +0,0 @@
1
- /// <reference types="react" />
2
- import { DataDynamicBooleanProps } from "./utils/data.types";
3
- interface PayloadProps {
4
- /**
5
- * Цвет графика
6
- */
7
- color: string;
8
- /**
9
- * Ключ графика
10
- */
11
- dataKey: string;
12
- /**
13
- * Форматирование значения графика
14
- */
15
- formatter: (value: number | string) => React.ReactText;
16
- /**
17
- * Имя графика
18
- */
19
- name: string;
20
- /**
21
- * Полезная нагрузка
22
- */
23
- payload: DataDynamicBooleanProps;
24
- /**
25
- * Значение графика
26
- */
27
- value: number;
28
- }
29
- export { PayloadProps };
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- interface ResponsiveContainerProps {
4
- /**
5
- * Debounce функция при ресайзе
6
- */
7
- debounce?: number;
8
- children?: React.ReactNode;
9
- }
10
- export { ResponsiveContainerProps };
@@ -1,72 +0,0 @@
1
- import { DataProps } from "./utils/data.types";
2
- import { GradientProps } from "./utils/gradient.types";
3
- import { ChartProps } from "./chart.types";
4
- import { LabelListProps } from "./labelList.types";
5
- type RadiusProp = {
6
- top?: number;
7
- bottom?: number;
8
- };
9
- interface SeriaProps {
10
- /**
11
- * Скрыть график
12
- */
13
- hide?: boolean;
14
- /**
15
- * Скрыть график в легенде
16
- */
17
- hideLegend?: boolean;
18
- /**
19
- * Скрыть график в тултипe
20
- */
21
- hideTooltip?: boolean;
22
- /**
23
- * Z-index графика
24
- */
25
- zIndex?: number;
26
- /**
27
- * Тип графика
28
- */
29
- chart: 'line' | 'area' | 'bar' | 'gradient';
30
- /**
31
- * Радиус закругления углов графика типа bar
32
- */
33
- radius?: RadiusProp;
34
- /**
35
- * Тип иконки для графика
36
- */
37
- icon: 'circleLine' | 'filledCircle' | 'strokeCircle' | 'circle';
38
- /**
39
- * Оффсет для градиента (только для типа area)
40
- */
41
- offset: number;
42
- /**
43
- * Заливка графика
44
- */
45
- fill?: string;
46
- /**
47
- * Прозрачность
48
- */
49
- gradient: {
50
- /**
51
- * Индефикатор градиента
52
- */
53
- gid: string;
54
- /**
55
- * Параметра точек для градиента
56
- */
57
- points: GradientProps[];
58
- };
59
- /**
60
- * Параметры labels для графика типа bar
61
- */
62
- labelList?: LabelListProps;
63
- /**
64
- * Параметры графика
65
- */
66
- properties: ChartProps;
67
- /**
68
- * Данные для построения графика
69
- */
70
- data: DataProps[];
71
- }
72
- export { RadiusProp, SeriaProps };
@@ -1,70 +0,0 @@
1
- import { ReactElement, ReactText, SVGProps } from 'react';
2
- import { AnimationTiming } from 'recharts/types/util/types';
3
- interface TooltipProps {
4
- /**
5
- * Разделитель между именем и значением.
6
- */
7
- separator?: string;
8
- /**
9
- * Размер смещения между положением всплывающей подсказки и активной позицией.
10
- */
11
- offset?: number;
12
- /**
13
- * Когда элемент полезной нагрузки имеет значение null или undefined, этот элемент не отображается.
14
- */
15
- filterNull?: boolean;
16
- /**
17
- * Если установлено false, курсор не будет отображаться, когда всплывающая подсказка активна.
18
- * Если установлен объект, опция - это конфигурация курсора.
19
- * Если установлен элемент React, опция является настраиваемым элементом реакции курсора рисования.
20
- */
21
- cursor?: boolean | ReactElement | SVGProps<SVGElement>;
22
- /**
23
- * Если это поле установлено, положение всплывающей подсказки будет фиксированным и больше не будет перемещаться.
24
- */
25
- position?: {
26
- x: number;
27
- y: number;
28
- };
29
- /**
30
- * Если установлено false, анимация всплывающей подсказки будет отключена.
31
- */
32
- isAnimationActive?: boolean;
33
- /**
34
- * Указывает, когда должна начинаться анимация, единица измерения этого параметра - мс.
35
- */
36
- animationBegin?: number;
37
- /**
38
- * Определяет продолжительность анимации, единица измерения этого параметра - мс.
39
- */
40
- animationDuration?: number;
41
- /**
42
- * Тип функции плавности.
43
- */
44
- animationEasing?: AnimationTiming;
45
- /**
46
- * Отображение стрелки тултипа
47
- */
48
- arrow: boolean;
49
- /**
50
- * Высчитывается автоматичекси, направление стрелки
51
- */
52
- tooltipArrowSide?: boolean;
53
- /**
54
- * Функция форматирования метки во всплывающей подсказке.
55
- */
56
- labelFormatter?: (value: any) => ReactText;
57
- /**
58
- * Стиль метки всплывающей подсказки по умолчанию, которая является элементом p.
59
- */
60
- labelStyle?: Record<string, unknown>;
61
- /**
62
- * Значение метки, которое сейчас активно, обычно рассчитывается внутри компании.
63
- */
64
- label?: string | number;
65
- /**
66
- * Контент для тултипа
67
- */
68
- content?: any;
69
- }
70
- export { TooltipProps };
@@ -1,68 +0,0 @@
1
- import { ReactElement, SVGProps } from 'react';
2
- interface AxisProps {
3
- /**
4
- * Скрыть ось
5
- */
6
- hide?: boolean;
7
- /**
8
- * Отображение линии оси.
9
- */
10
- axisLine: boolean;
11
- /**
12
- * Тип оси.
13
- */
14
- type: 'number' | 'category';
15
- /**
16
- * Разрешить значениям оси быть десятичными или нет.
17
- */
18
- allowDecimals?: boolean;
19
- /**
20
- * Разрешить или нет на оси дублировать категории, если "type" оси - "category".
21
- */
22
- allowDuplicatedCategory?: boolean;
23
- /**
24
- * Угол наклона значений оси.
25
- */
26
- angle?: number;
27
- /**
28
- * Количество делений оси. Не используется, если "тип" - "категория".
29
- */
30
- tickCount?: number;
31
- /**
32
- * Интревал линий деления оси
33
- */
34
- interval?: 'preserveStart' | 'preserveEnd' | 'preserveStartEnd' | number;
35
- /**
36
- * Минимальный зазор между двумя соседними делениями оси.
37
- */
38
- minTickGap?: number;
39
- /**
40
- * Отображение линий деления оси
41
- */
42
- tickLine?: boolean;
43
- /**
44
- * Размер линий деления оси
45
- */
46
- tickSize?: number;
47
- /**
48
- * Если установлено значение true, галочки переворачиваются вокруг оси, отображая метки внутри диаграммы, а не снаружи.
49
- */
50
- mirror?: boolean;
51
- /**
52
- * Отображение горизонтальной сетки
53
- */
54
- reversed?: boolean;
55
- /**
56
- * Реверсировать ось или нет
57
- */
58
- tickMargin?: number;
59
- /**
60
- * Функция форматирования значения деления оси.
61
- */
62
- tickFormatter?: (value: any, index: number) => string;
63
- /**
64
- * Присваивается автоматически в зависимости от переданных данных
65
- */
66
- tick?: SVGProps<SVGTextElement> | ReactElement<SVGElement> | ((props: any) => ReactElement<SVGElement>) | boolean;
67
- }
68
- export { AxisProps };
@@ -1,11 +0,0 @@
1
- interface CoordinatesProps {
2
- /**
3
- * Значение координаты х.
4
- */
5
- x: number;
6
- /**
7
- * Значение координаты у.
8
- */
9
- y: number;
10
- }
11
- export { CoordinatesProps };
@@ -1,17 +0,0 @@
1
- interface DataProps {
2
- /**
3
- * Метка
4
- */
5
- label: string | number;
6
- /**
7
- * Значение
8
- */
9
- value: number;
10
- }
11
- interface DataDynamicProps {
12
- [key: string]: number | string;
13
- }
14
- interface DataDynamicBooleanProps {
15
- [key: string]: boolean;
16
- }
17
- export { DataProps, DataDynamicProps, DataDynamicBooleanProps };
@@ -1,73 +0,0 @@
1
- import { CoordinatesProps } from "./coordinates.types";
2
- import { DataProps } from "./data.types";
3
- interface DotSettingProps {
4
- /**
5
- * Значение media query.
6
- */
7
- media?: number;
8
- /**
9
- * Значение маштаба при ховере.
10
- */
11
- scale: number;
12
- /**
13
- * Начальный значения маштаба.
14
- */
15
- initScale: number;
16
- /**
17
- * Ширина точки.
18
- */
19
- width: number;
20
- /**
21
- * Высота точки.
22
- */
23
- height: number;
24
- }
25
- interface ActiveDotProps {
26
- /**
27
- * Индекс предыдущей точки.
28
- */
29
- prev: number | null;
30
- /**
31
- * Индекс активной точки.
32
- */
33
- active: number | null;
34
- }
35
- interface PointProps extends CoordinatesProps {
36
- value: string | number;
37
- payload: DataProps;
38
- }
39
- interface DotProps {
40
- /**
41
- * Индекс активной точки на графике.
42
- */
43
- activeDot: null | number;
44
- /**
45
- * Координата Х.
46
- */
47
- cx: number;
48
- /**
49
- * Координата У.
50
- */
51
- cy: number;
52
- /**
53
- * Ключ данных.
54
- */
55
- dataKey: string;
56
- /**
57
- * Параметры точки.
58
- */
59
- dotSettings?: DotSettingProps;
60
- /**
61
- * Индекс.
62
- */
63
- index: number;
64
- /**
65
- * Цвет линии.
66
- */
67
- stroke: string;
68
- /**
69
- * Значения по этим координатам.
70
- */
71
- value: number;
72
- }
73
- export { DotSettingProps, ActiveDotProps, PointProps, DotProps };
@@ -1,29 +0,0 @@
1
- interface GradientProps {
2
- /**
3
- * Отступ.
4
- */
5
- offset: number;
6
- /**
7
- * Цвет.
8
- */
9
- stopColor: string;
10
- /**
11
- * Значение празрачности.
12
- */
13
- stopOpacity: number;
14
- }
15
- interface LinearGradientProps {
16
- /**
17
- * Индефикатор графика.
18
- */
19
- id: string;
20
- /**
21
- * Индефикатор градиента.
22
- */
23
- gid: string;
24
- /**
25
- * Массив настроек градинта.
26
- */
27
- points: GradientProps[];
28
- }
29
- export { GradientProps, LinearGradientProps };
@@ -1,7 +0,0 @@
1
- export * from "./axis.types";
2
- export * from "./coordinates.types";
3
- export * from "./data.types";
4
- export * from "./dot.types";
5
- export * from "./gradient.types";
6
- export * from "./tick.types";
7
- export {};