@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.
- package/Component.js +23 -28
- package/Component.js.map +1 -0
- package/components/CustomizedLabel.js +3 -2
- package/components/CustomizedLabel.js.map +1 -0
- package/components/Dot/index.css +7 -8
- package/components/Dot/index.js +8 -9
- package/components/Dot/index.js.map +1 -0
- package/components/Dot/index.module.css.js +8 -0
- package/components/Dot/index.module.css.js.map +1 -0
- package/components/Legends/index.css +9 -31
- package/components/Legends/index.js +16 -17
- package/components/Legends/index.js.map +1 -0
- package/components/Legends/index.module.css.js +8 -0
- package/components/Legends/index.module.css.js.map +1 -0
- package/components/LinearGradient.js +1 -0
- package/components/LinearGradient.js.map +1 -0
- package/components/RectBar.js +3 -2
- package/components/RectBar.js.map +1 -0
- package/components/Tick/index.css +5 -27
- package/components/Tick/index.js +5 -6
- package/components/Tick/index.js.map +1 -0
- package/components/Tick/index.module.css.js +8 -0
- package/components/Tick/index.module.css.js.map +1 -0
- package/components/TooltipContent/index.css +14 -33
- package/components/TooltipContent/index.js +10 -11
- package/components/TooltipContent/index.js.map +1 -0
- package/components/TooltipContent/index.module.css.js +8 -0
- package/components/TooltipContent/index.module.css.js.map +1 -0
- package/cssm/Component.js +19 -22
- package/cssm/Component.js.map +1 -0
- package/cssm/components/CustomizedLabel.js +3 -2
- package/cssm/components/CustomizedLabel.js.map +1 -0
- package/cssm/components/Dot/index.js +3 -2
- package/cssm/components/Dot/index.js.map +1 -0
- package/cssm/components/Legends/index.js +12 -11
- package/cssm/components/Legends/index.js.map +1 -0
- package/cssm/components/Legends/index.module.css +3 -24
- package/cssm/components/LinearGradient.js +1 -0
- package/cssm/components/LinearGradient.js.map +1 -0
- package/cssm/components/RectBar.js +3 -2
- package/cssm/components/RectBar.js.map +1 -0
- package/cssm/components/Tick/index.js +1 -0
- package/cssm/components/Tick/index.js.map +1 -0
- package/cssm/components/Tick/index.module.css +3 -24
- package/cssm/components/TooltipContent/index.js +5 -4
- package/cssm/components/TooltipContent/index.js.map +1 -0
- package/cssm/components/TooltipContent/index.module.css +9 -27
- package/cssm/hoc/Customized.js +18 -0
- package/cssm/hoc/Customized.js.map +1 -0
- package/cssm/hooks/usePathBar/index.js +4 -3
- package/cssm/hooks/usePathBar/index.js.map +1 -0
- package/cssm/hooks/usePathBar/utils/getRadius.js +1 -0
- package/cssm/hooks/usePathBar/utils/getRadius.js.map +1 -0
- package/cssm/hooks/useSettings/index.js +11 -10
- package/cssm/hooks/useSettings/index.js.map +1 -0
- package/cssm/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
- package/cssm/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
- package/cssm/hooks/useSettings/utils/setDatas.js +1 -0
- package/cssm/hooks/useSettings/utils/setDatas.js.map +1 -0
- package/cssm/hooks/useSettings/utils/setGradientCharts.js +1 -0
- package/cssm/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
- package/cssm/hooks/useSettings/utils/setLegendMargin.js +1 -0
- package/cssm/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
- package/cssm/hooks/useSettings/utils/sortByIndex.js +1 -0
- package/cssm/hooks/useSettings/utils/sortByIndex.js.map +1 -0
- package/cssm/icons/Circle.js +1 -0
- package/cssm/icons/Circle.js.map +1 -0
- package/cssm/icons/CircleLine.js +1 -0
- package/cssm/icons/CircleLine.js.map +1 -0
- package/cssm/icons/FilledCircle.js +1 -0
- package/cssm/icons/FilledCircle.js.map +1 -0
- package/cssm/icons/Point.js +1 -0
- package/cssm/icons/Point.js.map +1 -0
- package/cssm/icons/StrokeCircle.js +1 -0
- package/cssm/icons/StrokeCircle.js.map +1 -0
- package/cssm/index.js +1 -0
- package/cssm/index.js.map +1 -0
- package/cssm/index.module.css +3 -24
- package/cssm/src/Component.d.ts +6 -0
- package/cssm/src/components/CustomizedLabel.d.ts +2 -0
- package/cssm/src/components/Dot/index.d.ts +3 -0
- package/cssm/src/components/Legends/index.d.ts +13 -0
- package/cssm/src/components/LinearGradient.d.ts +3 -0
- package/cssm/src/components/RectBar.d.ts +2 -0
- package/cssm/src/components/Tick/index.d.ts +3 -0
- package/cssm/src/components/TooltipContent/index.d.ts +9 -0
- package/cssm/src/hoc/Customized.d.ts +2 -0
- package/cssm/src/hooks/usePathBar/index.d.ts +13 -0
- package/cssm/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
- package/cssm/{hooks → src/hooks}/useSettings/index.d.ts +5 -5
- package/cssm/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
- package/cssm/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
- package/cssm/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
- package/cssm/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
- package/cssm/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
- package/cssm/src/icons/Circle.d.ts +7 -0
- package/cssm/src/icons/CircleLine.d.ts +7 -0
- package/cssm/src/icons/FilledCircle.d.ts +7 -0
- package/cssm/src/icons/Point.d.ts +7 -0
- package/cssm/src/icons/StrokeCircle.d.ts +7 -0
- package/cssm/src/index.d.ts +2 -0
- package/cssm/{types → src/types}/brush.types.d.ts +1 -2
- package/{esm → cssm/src}/types/cartesianGrid.types.d.ts +1 -2
- package/{modern → cssm/src}/types/chart.types.d.ts +7 -7
- package/cssm/{types → src/types}/composedChart.types.d.ts +1 -2
- package/cssm/src/types/index.d.ts +14 -0
- package/cssm/src/types/labelList.types.d.ts +4 -0
- package/{modern → cssm/src}/types/legend.types.d.ts +1 -2
- package/{esm → cssm/src}/types/options.types.d.ts +10 -12
- package/{modern → cssm/src}/types/payload.types.d.ts +2 -3
- package/{esm → cssm/src}/types/responsiveContainer.types.d.ts +1 -3
- package/{modern → cssm/src}/types/seria.types.d.ts +6 -7
- package/{esm → cssm/src}/types/tooltip.types.d.ts +1 -2
- package/{modern → cssm/src}/types/utils/axis.types.d.ts +1 -2
- package/{esm → cssm/src}/types/utils/coordinates.types.d.ts +1 -2
- package/{esm → cssm/src}/types/utils/data.types.d.ts +3 -4
- package/{modern → cssm/src}/types/utils/dot.types.d.ts +6 -7
- package/cssm/{types → src/types}/utils/gradient.types.d.ts +2 -3
- package/cssm/src/types/utils/index.d.ts +6 -0
- package/{modern → cssm/src}/types/utils/tick.types.d.ts +2 -3
- package/{esm → cssm/src}/types/xAxis.types.d.ts +2 -3
- package/cssm/src/types/yAxis.types.d.ts +7 -0
- package/cssm/types/brush.types.js +1 -0
- package/cssm/types/brush.types.js.map +1 -0
- package/cssm/types/cartesianGrid.types.js +1 -0
- package/cssm/types/cartesianGrid.types.js.map +1 -0
- package/cssm/types/chart.types.js +1 -0
- package/cssm/types/chart.types.js.map +1 -0
- package/cssm/types/composedChart.types.js +1 -0
- package/cssm/types/composedChart.types.js.map +1 -0
- package/cssm/types/index.js +1 -0
- package/cssm/types/index.js.map +1 -0
- package/cssm/types/labelList.types.js +1 -0
- package/cssm/types/labelList.types.js.map +1 -0
- package/cssm/types/legend.types.js +1 -0
- package/cssm/types/legend.types.js.map +1 -0
- package/cssm/types/options.types.js +1 -0
- package/cssm/types/options.types.js.map +1 -0
- package/cssm/types/payload.types.js +1 -0
- package/cssm/types/payload.types.js.map +1 -0
- package/cssm/types/responsiveContainer.types.js +1 -0
- package/cssm/types/responsiveContainer.types.js.map +1 -0
- package/cssm/types/seria.types.js +1 -0
- package/cssm/types/seria.types.js.map +1 -0
- package/cssm/types/tooltip.types.js +1 -0
- package/cssm/types/tooltip.types.js.map +1 -0
- package/cssm/types/utils/axis.types.js +1 -0
- package/cssm/types/utils/axis.types.js.map +1 -0
- package/cssm/types/utils/coordinates.types.js +1 -0
- package/cssm/types/utils/coordinates.types.js.map +1 -0
- package/cssm/types/utils/data.types.js +1 -0
- package/cssm/types/utils/data.types.js.map +1 -0
- package/cssm/types/utils/dot.types.js +1 -0
- package/cssm/types/utils/dot.types.js.map +1 -0
- package/cssm/types/utils/gradient.types.js +1 -0
- package/cssm/types/utils/gradient.types.js.map +1 -0
- package/cssm/types/utils/index.js +1 -0
- package/cssm/types/utils/index.js.map +1 -0
- package/cssm/types/utils/tick.types.js +1 -0
- package/cssm/types/utils/tick.types.js.map +1 -0
- package/cssm/types/xAxis.types.js +1 -0
- package/cssm/types/xAxis.types.js.map +1 -0
- package/cssm/types/yAxis.types.js +1 -0
- package/cssm/types/yAxis.types.js.map +1 -0
- package/esm/Component.js +3 -8
- package/esm/Component.js.map +1 -0
- package/esm/components/CustomizedLabel.js +1 -0
- package/esm/components/CustomizedLabel.js.map +1 -0
- package/esm/components/Dot/index.css +7 -8
- package/esm/components/Dot/index.js +2 -3
- package/esm/components/Dot/index.js.map +1 -0
- package/esm/components/Dot/index.module.css.js +6 -0
- package/esm/components/Dot/index.module.css.js.map +1 -0
- package/esm/components/Legends/index.css +9 -31
- package/esm/components/Legends/index.js +2 -3
- package/esm/components/Legends/index.js.map +1 -0
- package/esm/components/Legends/index.module.css.js +6 -0
- package/esm/components/Legends/index.module.css.js.map +1 -0
- package/esm/components/LinearGradient.js +1 -0
- package/esm/components/LinearGradient.js.map +1 -0
- package/esm/components/RectBar.js +1 -0
- package/esm/components/RectBar.js.map +1 -0
- package/esm/components/Tick/index.css +5 -27
- package/esm/components/Tick/index.js +2 -3
- package/esm/components/Tick/index.js.map +1 -0
- package/esm/components/Tick/index.module.css.js +6 -0
- package/esm/components/Tick/index.module.css.js.map +1 -0
- package/esm/components/TooltipContent/index.css +14 -33
- package/esm/components/TooltipContent/index.js +2 -3
- package/esm/components/TooltipContent/index.js.map +1 -0
- package/esm/components/TooltipContent/index.module.css.js +6 -0
- package/esm/components/TooltipContent/index.module.css.js.map +1 -0
- package/esm/hoc/Customized.js +10 -0
- package/esm/hoc/Customized.js.map +1 -0
- package/esm/hooks/usePathBar/index.js +1 -0
- package/esm/hooks/usePathBar/index.js.map +1 -0
- package/esm/hooks/usePathBar/utils/getRadius.js +1 -0
- package/esm/hooks/usePathBar/utils/getRadius.js.map +1 -0
- package/esm/hooks/useSettings/index.js +1 -0
- package/esm/hooks/useSettings/index.js.map +1 -0
- package/esm/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
- package/esm/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
- package/esm/hooks/useSettings/utils/setDatas.js +1 -0
- package/esm/hooks/useSettings/utils/setDatas.js.map +1 -0
- package/esm/hooks/useSettings/utils/setGradientCharts.js +1 -0
- package/esm/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
- package/esm/hooks/useSettings/utils/setLegendMargin.js +1 -0
- package/esm/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
- package/esm/hooks/useSettings/utils/sortByIndex.js +1 -0
- package/esm/hooks/useSettings/utils/sortByIndex.js.map +1 -0
- package/esm/icons/Circle.js +1 -0
- package/esm/icons/Circle.js.map +1 -0
- package/esm/icons/CircleLine.js +1 -0
- package/esm/icons/CircleLine.js.map +1 -0
- package/esm/icons/FilledCircle.js +1 -0
- package/esm/icons/FilledCircle.js.map +1 -0
- package/esm/icons/Point.js +1 -0
- package/esm/icons/Point.js.map +1 -0
- package/esm/icons/StrokeCircle.js +1 -0
- package/esm/icons/StrokeCircle.js.map +1 -0
- package/esm/index.css +6 -28
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -0
- package/esm/index.module.css.js +6 -0
- package/esm/index.module.css.js.map +1 -0
- package/esm/src/Component.d.ts +6 -0
- package/esm/src/components/CustomizedLabel.d.ts +2 -0
- package/esm/src/components/Dot/index.d.ts +3 -0
- package/esm/src/components/Legends/index.d.ts +13 -0
- package/esm/src/components/LinearGradient.d.ts +3 -0
- package/esm/src/components/RectBar.d.ts +2 -0
- package/esm/src/components/Tick/index.d.ts +3 -0
- package/esm/src/components/TooltipContent/index.d.ts +9 -0
- package/esm/src/hoc/Customized.d.ts +2 -0
- package/esm/src/hooks/usePathBar/index.d.ts +13 -0
- package/esm/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
- package/{hooks → esm/src/hooks}/useSettings/index.d.ts +5 -5
- package/esm/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
- package/esm/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
- package/esm/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
- package/esm/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
- package/esm/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
- package/esm/src/icons/Circle.d.ts +7 -0
- package/esm/src/icons/CircleLine.d.ts +7 -0
- package/esm/src/icons/FilledCircle.d.ts +7 -0
- package/esm/src/icons/Point.d.ts +7 -0
- package/esm/src/icons/StrokeCircle.d.ts +7 -0
- package/esm/src/index.d.ts +2 -0
- package/{modern → esm/src}/types/brush.types.d.ts +1 -2
- package/{modern → esm/src}/types/cartesianGrid.types.d.ts +1 -2
- package/{cssm → esm/src}/types/chart.types.d.ts +7 -7
- package/{modern → esm/src}/types/composedChart.types.d.ts +1 -2
- package/esm/src/types/index.d.ts +14 -0
- package/esm/src/types/labelList.types.d.ts +4 -0
- package/esm/{types → src/types}/legend.types.d.ts +1 -2
- package/{modern → esm/src}/types/options.types.d.ts +10 -12
- package/esm/{types → src/types}/payload.types.d.ts +2 -3
- package/{modern → esm/src}/types/responsiveContainer.types.d.ts +1 -3
- package/{moderncssm → esm/src}/types/seria.types.d.ts +6 -7
- package/{modern → esm/src}/types/tooltip.types.d.ts +1 -2
- package/esm/{types → src/types}/utils/axis.types.d.ts +1 -2
- package/{modern → esm/src}/types/utils/coordinates.types.d.ts +1 -2
- package/{modern → esm/src}/types/utils/data.types.d.ts +3 -4
- package/{cssm → esm/src}/types/utils/dot.types.d.ts +6 -7
- package/{modern → esm/src}/types/utils/gradient.types.d.ts +2 -3
- package/esm/src/types/utils/index.d.ts +6 -0
- package/esm/{types → src/types}/utils/tick.types.d.ts +2 -3
- package/{modern → esm/src}/types/xAxis.types.d.ts +2 -3
- package/esm/src/types/yAxis.types.d.ts +7 -0
- package/esm/types/brush.types.js +1 -0
- package/esm/types/brush.types.js.map +1 -0
- package/esm/types/cartesianGrid.types.js +1 -0
- package/esm/types/cartesianGrid.types.js.map +1 -0
- package/esm/types/chart.types.js +1 -0
- package/esm/types/chart.types.js.map +1 -0
- package/esm/types/composedChart.types.js +1 -0
- package/esm/types/composedChart.types.js.map +1 -0
- package/esm/types/index.js +1 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/labelList.types.js +1 -0
- package/esm/types/labelList.types.js.map +1 -0
- package/esm/types/legend.types.js +1 -0
- package/esm/types/legend.types.js.map +1 -0
- package/esm/types/options.types.js +1 -0
- package/esm/types/options.types.js.map +1 -0
- package/esm/types/payload.types.js +1 -0
- package/esm/types/payload.types.js.map +1 -0
- package/esm/types/responsiveContainer.types.js +1 -0
- package/esm/types/responsiveContainer.types.js.map +1 -0
- package/esm/types/seria.types.js +1 -0
- package/esm/types/seria.types.js.map +1 -0
- package/esm/types/tooltip.types.js +1 -0
- package/esm/types/tooltip.types.js.map +1 -0
- package/esm/types/utils/axis.types.js +1 -0
- package/esm/types/utils/axis.types.js.map +1 -0
- package/esm/types/utils/coordinates.types.js +1 -0
- package/esm/types/utils/coordinates.types.js.map +1 -0
- package/esm/types/utils/data.types.js +1 -0
- package/esm/types/utils/data.types.js.map +1 -0
- package/esm/types/utils/dot.types.js +1 -0
- package/esm/types/utils/dot.types.js.map +1 -0
- package/esm/types/utils/gradient.types.js +1 -0
- package/esm/types/utils/gradient.types.js.map +1 -0
- package/esm/types/utils/index.js +1 -0
- package/esm/types/utils/index.js.map +1 -0
- package/esm/types/utils/tick.types.js +1 -0
- package/esm/types/utils/tick.types.js.map +1 -0
- package/esm/types/xAxis.types.js +1 -0
- package/esm/types/xAxis.types.js.map +1 -0
- package/esm/types/yAxis.types.js +1 -0
- package/esm/types/yAxis.types.js.map +1 -0
- package/hoc/Customized.js +18 -0
- package/hoc/Customized.js.map +1 -0
- package/hooks/usePathBar/index.js +4 -3
- package/hooks/usePathBar/index.js.map +1 -0
- package/hooks/usePathBar/utils/getRadius.js +1 -0
- package/hooks/usePathBar/utils/getRadius.js.map +1 -0
- package/hooks/useSettings/index.js +11 -10
- package/hooks/useSettings/index.js.map +1 -0
- package/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
- package/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
- package/hooks/useSettings/utils/setDatas.js +1 -0
- package/hooks/useSettings/utils/setDatas.js.map +1 -0
- package/hooks/useSettings/utils/setGradientCharts.js +1 -0
- package/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
- package/hooks/useSettings/utils/setLegendMargin.js +1 -0
- package/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
- package/hooks/useSettings/utils/sortByIndex.js +1 -0
- package/hooks/useSettings/utils/sortByIndex.js.map +1 -0
- package/icons/Circle.js +1 -0
- package/icons/Circle.js.map +1 -0
- package/icons/CircleLine.js +1 -0
- package/icons/CircleLine.js.map +1 -0
- package/icons/FilledCircle.js +1 -0
- package/icons/FilledCircle.js.map +1 -0
- package/icons/Point.js +1 -0
- package/icons/Point.js.map +1 -0
- package/icons/StrokeCircle.js +1 -0
- package/icons/StrokeCircle.js.map +1 -0
- package/index.css +6 -28
- package/index.js +1 -0
- package/index.js.map +1 -0
- package/index.module.css.js +8 -0
- package/index.module.css.js.map +1 -0
- package/modern/Component.js +3 -8
- package/modern/Component.js.map +1 -0
- package/modern/components/CustomizedLabel.js +1 -0
- package/modern/components/CustomizedLabel.js.map +1 -0
- package/modern/components/Dot/index.css +7 -8
- package/modern/components/Dot/index.js +2 -3
- package/modern/components/Dot/index.js.map +1 -0
- package/modern/components/Dot/index.module.css.js +6 -0
- package/modern/components/Dot/index.module.css.js.map +1 -0
- package/modern/components/Legends/index.css +9 -31
- package/modern/components/Legends/index.js +2 -3
- package/modern/components/Legends/index.js.map +1 -0
- package/modern/components/Legends/index.module.css.js +6 -0
- package/modern/components/Legends/index.module.css.js.map +1 -0
- package/modern/components/LinearGradient.js +1 -0
- package/modern/components/LinearGradient.js.map +1 -0
- package/modern/components/RectBar.js +1 -0
- package/modern/components/RectBar.js.map +1 -0
- package/modern/components/Tick/index.css +5 -27
- package/modern/components/Tick/index.js +2 -3
- package/modern/components/Tick/index.js.map +1 -0
- package/modern/components/Tick/index.module.css.js +6 -0
- package/modern/components/Tick/index.module.css.js.map +1 -0
- package/modern/components/TooltipContent/index.css +14 -33
- package/modern/components/TooltipContent/index.js +2 -3
- package/modern/components/TooltipContent/index.js.map +1 -0
- package/modern/components/TooltipContent/index.module.css.js +6 -0
- package/modern/components/TooltipContent/index.module.css.js.map +1 -0
- package/modern/hoc/Customized.js +10 -0
- package/modern/hoc/Customized.js.map +1 -0
- package/modern/hooks/usePathBar/index.js +1 -0
- package/modern/hooks/usePathBar/index.js.map +1 -0
- package/modern/hooks/usePathBar/utils/getRadius.js +1 -0
- package/modern/hooks/usePathBar/utils/getRadius.js.map +1 -0
- package/modern/hooks/useSettings/index.js +1 -0
- package/modern/hooks/useSettings/index.js.map +1 -0
- package/modern/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
- package/modern/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
- package/modern/hooks/useSettings/utils/setDatas.js +1 -0
- package/modern/hooks/useSettings/utils/setDatas.js.map +1 -0
- package/modern/hooks/useSettings/utils/setGradientCharts.js +1 -0
- package/modern/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
- package/modern/hooks/useSettings/utils/setLegendMargin.js +1 -0
- package/modern/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
- package/modern/hooks/useSettings/utils/sortByIndex.js +1 -0
- package/modern/hooks/useSettings/utils/sortByIndex.js.map +1 -0
- package/modern/icons/Circle.js +1 -0
- package/modern/icons/Circle.js.map +1 -0
- package/modern/icons/CircleLine.js +1 -0
- package/modern/icons/CircleLine.js.map +1 -0
- package/modern/icons/FilledCircle.js +1 -0
- package/modern/icons/FilledCircle.js.map +1 -0
- package/modern/icons/Point.js +1 -0
- package/modern/icons/Point.js.map +1 -0
- package/modern/icons/StrokeCircle.js +1 -0
- package/modern/icons/StrokeCircle.js.map +1 -0
- package/modern/index.css +6 -28
- package/modern/index.js +1 -0
- package/modern/index.js.map +1 -0
- package/modern/index.module.css.js +6 -0
- package/modern/index.module.css.js.map +1 -0
- package/modern/src/Component.d.ts +6 -0
- package/modern/src/components/CustomizedLabel.d.ts +2 -0
- package/modern/src/components/Dot/index.d.ts +3 -0
- package/modern/src/components/Legends/index.d.ts +13 -0
- package/modern/src/components/LinearGradient.d.ts +3 -0
- package/modern/src/components/RectBar.d.ts +2 -0
- package/modern/src/components/Tick/index.d.ts +3 -0
- package/modern/src/components/TooltipContent/index.d.ts +9 -0
- package/modern/src/hoc/Customized.d.ts +2 -0
- package/modern/src/hooks/usePathBar/index.d.ts +13 -0
- package/modern/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
- package/{esm → modern/src}/hooks/useSettings/index.d.ts +5 -5
- package/modern/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
- package/modern/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
- package/modern/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
- package/modern/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
- package/modern/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
- package/modern/src/icons/Circle.d.ts +7 -0
- package/modern/src/icons/CircleLine.d.ts +7 -0
- package/modern/src/icons/FilledCircle.d.ts +7 -0
- package/modern/src/icons/Point.d.ts +7 -0
- package/modern/src/icons/StrokeCircle.d.ts +7 -0
- package/modern/src/index.d.ts +2 -0
- package/{moderncssm → modern/src}/types/brush.types.d.ts +1 -2
- package/{cssm → modern/src}/types/cartesianGrid.types.d.ts +1 -2
- package/{moderncssm → modern/src}/types/chart.types.d.ts +7 -7
- package/{esm → modern/src}/types/composedChart.types.d.ts +1 -2
- package/modern/src/types/index.d.ts +14 -0
- package/modern/src/types/labelList.types.d.ts +4 -0
- package/{moderncssm → modern/src}/types/legend.types.d.ts +1 -2
- package/{moderncssm → modern/src}/types/options.types.d.ts +10 -12
- package/{cssm → modern/src}/types/payload.types.d.ts +2 -3
- package/{cssm → modern/src}/types/responsiveContainer.types.d.ts +1 -3
- package/{esm → modern/src}/types/seria.types.d.ts +6 -7
- package/{moderncssm → modern/src}/types/tooltip.types.d.ts +1 -2
- package/{moderncssm → modern/src}/types/utils/axis.types.d.ts +1 -2
- package/{cssm → modern/src}/types/utils/coordinates.types.d.ts +1 -2
- package/{moderncssm → modern/src}/types/utils/data.types.d.ts +3 -4
- package/{esm → modern/src}/types/utils/dot.types.d.ts +6 -7
- package/{moderncssm → modern/src}/types/utils/gradient.types.d.ts +2 -3
- package/modern/src/types/utils/index.d.ts +6 -0
- package/{moderncssm → modern/src}/types/utils/tick.types.d.ts +2 -3
- package/{cssm → modern/src}/types/xAxis.types.d.ts +2 -3
- package/modern/src/types/yAxis.types.d.ts +7 -0
- package/modern/types/brush.types.js +1 -0
- package/modern/types/brush.types.js.map +1 -0
- package/modern/types/cartesianGrid.types.js +1 -0
- package/modern/types/cartesianGrid.types.js.map +1 -0
- package/modern/types/chart.types.js +1 -0
- package/modern/types/chart.types.js.map +1 -0
- package/modern/types/composedChart.types.js +1 -0
- package/modern/types/composedChart.types.js.map +1 -0
- package/modern/types/index.js +1 -0
- package/modern/types/index.js.map +1 -0
- package/modern/types/labelList.types.js +1 -0
- package/modern/types/labelList.types.js.map +1 -0
- package/modern/types/legend.types.js +1 -0
- package/modern/types/legend.types.js.map +1 -0
- package/modern/types/options.types.js +1 -0
- package/modern/types/options.types.js.map +1 -0
- package/modern/types/payload.types.js +1 -0
- package/modern/types/payload.types.js.map +1 -0
- package/modern/types/responsiveContainer.types.js +1 -0
- package/modern/types/responsiveContainer.types.js.map +1 -0
- package/modern/types/seria.types.js +1 -0
- package/modern/types/seria.types.js.map +1 -0
- package/modern/types/tooltip.types.js +1 -0
- package/modern/types/tooltip.types.js.map +1 -0
- package/modern/types/utils/axis.types.js +1 -0
- package/modern/types/utils/axis.types.js.map +1 -0
- package/modern/types/utils/coordinates.types.js +1 -0
- package/modern/types/utils/coordinates.types.js.map +1 -0
- package/modern/types/utils/data.types.js +1 -0
- package/modern/types/utils/data.types.js.map +1 -0
- package/modern/types/utils/dot.types.js +1 -0
- package/modern/types/utils/dot.types.js.map +1 -0
- package/modern/types/utils/gradient.types.js +1 -0
- package/modern/types/utils/gradient.types.js.map +1 -0
- package/modern/types/utils/index.js +1 -0
- package/modern/types/utils/index.js.map +1 -0
- package/modern/types/utils/tick.types.js +1 -0
- package/modern/types/utils/tick.types.js.map +1 -0
- package/modern/types/xAxis.types.js +1 -0
- package/modern/types/xAxis.types.js.map +1 -0
- package/modern/types/yAxis.types.js +1 -0
- package/modern/types/yAxis.types.js.map +1 -0
- package/moderncssm/Component.js +2 -5
- package/moderncssm/Component.js.map +1 -0
- package/moderncssm/components/CustomizedLabel.js +1 -0
- package/moderncssm/components/CustomizedLabel.js.map +1 -0
- package/moderncssm/components/Dot/index.js +1 -0
- package/moderncssm/components/Dot/index.js.map +1 -0
- package/moderncssm/components/Legends/index.js +1 -0
- package/moderncssm/components/Legends/index.js.map +1 -0
- package/moderncssm/components/Legends/index.module.css +0 -2
- package/moderncssm/components/LinearGradient.js +1 -0
- package/moderncssm/components/LinearGradient.js.map +1 -0
- package/moderncssm/components/RectBar.js +1 -0
- package/moderncssm/components/RectBar.js.map +1 -0
- package/moderncssm/components/Tick/index.js +1 -0
- package/moderncssm/components/Tick/index.js.map +1 -0
- package/moderncssm/components/Tick/index.module.css +0 -2
- package/moderncssm/components/TooltipContent/index.js +1 -0
- package/moderncssm/components/TooltipContent/index.js.map +1 -0
- package/moderncssm/components/TooltipContent/index.module.css +0 -2
- package/moderncssm/hoc/Customized.js +10 -0
- package/moderncssm/hoc/Customized.js.map +1 -0
- package/moderncssm/hooks/usePathBar/index.js +1 -0
- package/moderncssm/hooks/usePathBar/index.js.map +1 -0
- package/moderncssm/hooks/usePathBar/utils/getRadius.js +1 -0
- package/moderncssm/hooks/usePathBar/utils/getRadius.js.map +1 -0
- package/moderncssm/hooks/useSettings/index.js +1 -0
- package/moderncssm/hooks/useSettings/index.js.map +1 -0
- package/moderncssm/hooks/useSettings/utils/setComposedChartsMargin.js +1 -0
- package/moderncssm/hooks/useSettings/utils/setComposedChartsMargin.js.map +1 -0
- package/moderncssm/hooks/useSettings/utils/setDatas.js +1 -0
- package/moderncssm/hooks/useSettings/utils/setDatas.js.map +1 -0
- package/moderncssm/hooks/useSettings/utils/setGradientCharts.js +1 -0
- package/moderncssm/hooks/useSettings/utils/setGradientCharts.js.map +1 -0
- package/moderncssm/hooks/useSettings/utils/setLegendMargin.js +1 -0
- package/moderncssm/hooks/useSettings/utils/setLegendMargin.js.map +1 -0
- package/moderncssm/hooks/useSettings/utils/sortByIndex.js +1 -0
- package/moderncssm/hooks/useSettings/utils/sortByIndex.js.map +1 -0
- package/moderncssm/icons/Circle.js +1 -0
- package/moderncssm/icons/Circle.js.map +1 -0
- package/moderncssm/icons/CircleLine.js +1 -0
- package/moderncssm/icons/CircleLine.js.map +1 -0
- package/moderncssm/icons/FilledCircle.js +1 -0
- package/moderncssm/icons/FilledCircle.js.map +1 -0
- package/moderncssm/icons/Point.js +1 -0
- package/moderncssm/icons/Point.js.map +1 -0
- package/moderncssm/icons/StrokeCircle.js +1 -0
- package/moderncssm/icons/StrokeCircle.js.map +1 -0
- package/moderncssm/index.js +1 -0
- package/moderncssm/index.js.map +1 -0
- package/moderncssm/index.module.css +0 -2
- package/moderncssm/src/Component.d.ts +6 -0
- package/moderncssm/src/components/CustomizedLabel.d.ts +2 -0
- package/moderncssm/src/components/Dot/index.d.ts +3 -0
- package/moderncssm/src/components/Legends/index.d.ts +13 -0
- package/moderncssm/src/components/LinearGradient.d.ts +3 -0
- package/moderncssm/src/components/RectBar.d.ts +2 -0
- package/moderncssm/src/components/Tick/index.d.ts +3 -0
- package/moderncssm/src/components/TooltipContent/index.d.ts +9 -0
- package/moderncssm/src/hoc/Customized.d.ts +2 -0
- package/moderncssm/src/hooks/usePathBar/index.d.ts +13 -0
- package/moderncssm/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
- package/{modern → moderncssm/src}/hooks/useSettings/index.d.ts +5 -5
- package/moderncssm/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
- package/moderncssm/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
- package/moderncssm/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
- package/moderncssm/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
- package/moderncssm/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
- package/moderncssm/src/icons/Circle.d.ts +7 -0
- package/moderncssm/src/icons/CircleLine.d.ts +7 -0
- package/moderncssm/src/icons/FilledCircle.d.ts +7 -0
- package/moderncssm/src/icons/Point.d.ts +7 -0
- package/moderncssm/src/icons/StrokeCircle.d.ts +7 -0
- package/moderncssm/src/index.d.ts +2 -0
- package/{esm → moderncssm/src}/types/brush.types.d.ts +1 -2
- package/moderncssm/{types → src/types}/cartesianGrid.types.d.ts +1 -2
- package/{esm → moderncssm/src}/types/chart.types.d.ts +7 -7
- package/moderncssm/{types → src/types}/composedChart.types.d.ts +1 -2
- package/moderncssm/src/types/index.d.ts +14 -0
- package/moderncssm/src/types/labelList.types.d.ts +4 -0
- package/{cssm → moderncssm/src}/types/legend.types.d.ts +1 -2
- package/{cssm → moderncssm/src}/types/options.types.d.ts +10 -12
- package/moderncssm/{types → src/types}/payload.types.d.ts +2 -3
- package/moderncssm/{types → src/types}/responsiveContainer.types.d.ts +1 -3
- package/{cssm → moderncssm/src}/types/seria.types.d.ts +6 -7
- package/{cssm → moderncssm/src}/types/tooltip.types.d.ts +1 -2
- package/{cssm → moderncssm/src}/types/utils/axis.types.d.ts +1 -2
- package/moderncssm/{types → src/types}/utils/coordinates.types.d.ts +1 -2
- package/{cssm → moderncssm/src}/types/utils/data.types.d.ts +3 -4
- package/moderncssm/{types → src/types}/utils/dot.types.d.ts +6 -7
- package/{esm → moderncssm/src}/types/utils/gradient.types.d.ts +2 -3
- package/moderncssm/src/types/utils/index.d.ts +6 -0
- package/{cssm → moderncssm/src}/types/utils/tick.types.d.ts +2 -3
- package/moderncssm/{types → src/types}/xAxis.types.d.ts +2 -3
- package/moderncssm/src/types/yAxis.types.d.ts +7 -0
- package/moderncssm/types/brush.types.js +1 -0
- package/moderncssm/types/brush.types.js.map +1 -0
- package/moderncssm/types/cartesianGrid.types.js +1 -0
- package/moderncssm/types/cartesianGrid.types.js.map +1 -0
- package/moderncssm/types/chart.types.js +1 -0
- package/moderncssm/types/chart.types.js.map +1 -0
- package/moderncssm/types/composedChart.types.js +1 -0
- package/moderncssm/types/composedChart.types.js.map +1 -0
- package/moderncssm/types/index.js +1 -0
- package/moderncssm/types/index.js.map +1 -0
- package/moderncssm/types/labelList.types.js +1 -0
- package/moderncssm/types/labelList.types.js.map +1 -0
- package/moderncssm/types/legend.types.js +1 -0
- package/moderncssm/types/legend.types.js.map +1 -0
- package/moderncssm/types/options.types.js +1 -0
- package/moderncssm/types/options.types.js.map +1 -0
- package/moderncssm/types/payload.types.js +1 -0
- package/moderncssm/types/payload.types.js.map +1 -0
- package/moderncssm/types/responsiveContainer.types.js +1 -0
- package/moderncssm/types/responsiveContainer.types.js.map +1 -0
- package/moderncssm/types/seria.types.js +1 -0
- package/moderncssm/types/seria.types.js.map +1 -0
- package/moderncssm/types/tooltip.types.js +1 -0
- package/moderncssm/types/tooltip.types.js.map +1 -0
- package/moderncssm/types/utils/axis.types.js +1 -0
- package/moderncssm/types/utils/axis.types.js.map +1 -0
- package/moderncssm/types/utils/coordinates.types.js +1 -0
- package/moderncssm/types/utils/coordinates.types.js.map +1 -0
- package/moderncssm/types/utils/data.types.js +1 -0
- package/moderncssm/types/utils/data.types.js.map +1 -0
- package/moderncssm/types/utils/dot.types.js +1 -0
- package/moderncssm/types/utils/dot.types.js.map +1 -0
- package/moderncssm/types/utils/gradient.types.js +1 -0
- package/moderncssm/types/utils/gradient.types.js.map +1 -0
- package/moderncssm/types/utils/index.js +1 -0
- package/moderncssm/types/utils/index.js.map +1 -0
- package/moderncssm/types/utils/tick.types.js +1 -0
- package/moderncssm/types/utils/tick.types.js.map +1 -0
- package/moderncssm/types/xAxis.types.js +1 -0
- package/moderncssm/types/xAxis.types.js.map +1 -0
- package/moderncssm/types/yAxis.types.js +1 -0
- package/moderncssm/types/yAxis.types.js.map +1 -0
- package/package.json +4 -7
- package/src/Component.d.ts +6 -0
- package/src/components/CustomizedLabel.d.ts +2 -0
- package/src/components/Dot/index.d.ts +3 -0
- package/src/components/Legends/index.d.ts +13 -0
- package/src/components/LinearGradient.d.ts +3 -0
- package/src/components/RectBar.d.ts +2 -0
- package/src/components/Tick/index.d.ts +3 -0
- package/src/components/TooltipContent/index.d.ts +9 -0
- package/src/hoc/Customized.d.ts +2 -0
- package/src/hoc/Customized.tsx +8 -0
- package/src/hooks/usePathBar/index.d.ts +13 -0
- package/src/hooks/usePathBar/utils/getRadius.d.ts +1 -0
- package/src/hooks/useSettings/index.d.ts +19 -0
- package/src/hooks/useSettings/utils/setComposedChartsMargin.d.ts +12 -0
- package/src/hooks/useSettings/utils/setDatas.d.ts +5 -0
- package/src/hooks/useSettings/utils/setGradientCharts.d.ts +2 -0
- package/src/hooks/useSettings/utils/setLegendMargin.d.ts +3 -0
- package/src/hooks/useSettings/utils/sortByIndex.d.ts +2 -0
- package/src/icons/Circle.d.ts +7 -0
- package/src/icons/CircleLine.d.ts +7 -0
- package/src/icons/FilledCircle.d.ts +7 -0
- package/src/icons/Point.d.ts +7 -0
- package/src/icons/StrokeCircle.d.ts +7 -0
- package/src/index.d.ts +2 -0
- package/src/types/brush.types.d.ts +40 -0
- package/src/types/cartesianGrid.types.d.ts +22 -0
- package/src/types/chart.types.d.ts +61 -0
- package/src/types/composedChart.types.d.ts +32 -0
- package/src/types/index.d.ts +14 -0
- package/src/types/labelList.types.d.ts +4 -0
- package/src/types/legend.types.d.ts +29 -0
- package/src/types/options.types.d.ts +57 -0
- package/src/types/payload.types.d.ts +28 -0
- package/src/types/responsiveContainer.types.d.ts +8 -0
- package/src/types/seria.types.d.ts +71 -0
- package/src/types/tooltip.types.d.ts +69 -0
- package/src/types/utils/axis.types.d.ts +67 -0
- package/src/types/utils/coordinates.types.d.ts +10 -0
- package/src/types/utils/data.types.d.ts +16 -0
- package/src/types/utils/dot.types.d.ts +72 -0
- package/src/types/utils/gradient.types.d.ts +28 -0
- package/src/types/utils/index.d.ts +6 -0
- package/src/types/utils/tick.types.d.ts +18 -0
- package/src/types/xAxis.types.d.ts +15 -0
- package/src/types/yAxis.types.d.ts +7 -0
- package/types/brush.types.js +1 -0
- package/types/brush.types.js.map +1 -0
- package/types/cartesianGrid.types.js +1 -0
- package/types/cartesianGrid.types.js.map +1 -0
- package/types/chart.types.js +1 -0
- package/types/chart.types.js.map +1 -0
- package/types/composedChart.types.js +1 -0
- package/types/composedChart.types.js.map +1 -0
- package/types/index.js +1 -0
- package/types/index.js.map +1 -0
- package/types/labelList.types.js +1 -0
- package/types/labelList.types.js.map +1 -0
- package/types/legend.types.js +1 -0
- package/types/legend.types.js.map +1 -0
- package/types/options.types.js +1 -0
- package/types/options.types.js.map +1 -0
- package/types/payload.types.js +1 -0
- package/types/payload.types.js.map +1 -0
- package/types/responsiveContainer.types.js +1 -0
- package/types/responsiveContainer.types.js.map +1 -0
- package/types/seria.types.js +1 -0
- package/types/seria.types.js.map +1 -0
- package/types/tooltip.types.js +1 -0
- package/types/tooltip.types.js.map +1 -0
- package/types/utils/axis.types.js +1 -0
- package/types/utils/axis.types.js.map +1 -0
- package/types/utils/coordinates.types.js +1 -0
- package/types/utils/coordinates.types.js.map +1 -0
- package/types/utils/data.types.js +1 -0
- package/types/utils/data.types.js.map +1 -0
- package/types/utils/dot.types.js +1 -0
- package/types/utils/dot.types.js.map +1 -0
- package/types/utils/gradient.types.js +1 -0
- package/types/utils/gradient.types.js.map +1 -0
- package/types/utils/index.js +1 -0
- package/types/utils/index.js.map +1 -0
- package/types/utils/tick.types.js +1 -0
- package/types/utils/tick.types.js.map +1 -0
- package/types/xAxis.types.js +1 -0
- package/types/xAxis.types.js.map +1 -0
- package/types/yAxis.types.js +1 -0
- package/types/yAxis.types.js.map +1 -0
- package/Component.d.ts +0 -8
- package/components/CustomizedLabel.d.ts +0 -4
- package/components/Dot/index.d.ts +0 -5
- package/components/Legends/index.d.ts +0 -14
- package/components/LinearGradient.d.ts +0 -5
- package/components/RectBar.d.ts +0 -3
- package/components/Tick/index.d.ts +0 -5
- package/components/TooltipContent/index.d.ts +0 -11
- package/cssm/Component.d.ts +0 -8
- package/cssm/components/CustomizedLabel.d.ts +0 -4
- package/cssm/components/Dot/index.d.ts +0 -5
- package/cssm/components/Legends/index.d.ts +0 -14
- package/cssm/components/LinearGradient.d.ts +0 -5
- package/cssm/components/RectBar.d.ts +0 -3
- package/cssm/components/Tick/index.d.ts +0 -5
- package/cssm/components/TooltipContent/index.d.ts +0 -11
- package/cssm/hooks/usePathBar/index.d.ts +0 -14
- package/cssm/hooks/usePathBar/utils/getRadius.d.ts +0 -2
- package/cssm/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
- package/cssm/hooks/useSettings/utils/setDatas.d.ts +0 -5
- package/cssm/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
- package/cssm/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
- package/cssm/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
- package/cssm/icons/Circle.d.ts +0 -8
- package/cssm/icons/CircleLine.d.ts +0 -8
- package/cssm/icons/FilledCircle.d.ts +0 -8
- package/cssm/icons/Point.d.ts +0 -8
- package/cssm/icons/StrokeCircle.d.ts +0 -8
- package/cssm/index.d.ts +0 -2
- package/cssm/types/index.d.ts +0 -14
- package/cssm/types/labelList.types.d.ts +0 -5
- package/cssm/types/utils/index.d.ts +0 -7
- package/cssm/types/yAxis.types.d.ts +0 -8
- package/esm/Component.d.ts +0 -8
- package/esm/components/CustomizedLabel.d.ts +0 -4
- package/esm/components/Dot/index.d.ts +0 -5
- package/esm/components/Legends/index.d.ts +0 -14
- package/esm/components/LinearGradient.d.ts +0 -5
- package/esm/components/RectBar.d.ts +0 -3
- package/esm/components/Tick/index.d.ts +0 -5
- package/esm/components/TooltipContent/index.d.ts +0 -11
- package/esm/hooks/usePathBar/index.d.ts +0 -14
- package/esm/hooks/usePathBar/utils/getRadius.d.ts +0 -2
- package/esm/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
- package/esm/hooks/useSettings/utils/setDatas.d.ts +0 -5
- package/esm/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
- package/esm/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
- package/esm/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
- package/esm/icons/Circle.d.ts +0 -8
- package/esm/icons/CircleLine.d.ts +0 -8
- package/esm/icons/FilledCircle.d.ts +0 -8
- package/esm/icons/Point.d.ts +0 -8
- package/esm/icons/StrokeCircle.d.ts +0 -8
- package/esm/index.d.ts +0 -2
- package/esm/types/index.d.ts +0 -14
- package/esm/types/labelList.types.d.ts +0 -5
- package/esm/types/utils/index.d.ts +0 -7
- package/esm/types/yAxis.types.d.ts +0 -8
- package/hooks/usePathBar/index.d.ts +0 -14
- package/hooks/usePathBar/utils/getRadius.d.ts +0 -2
- package/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
- package/hooks/useSettings/utils/setDatas.d.ts +0 -5
- package/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
- package/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
- package/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
- package/icons/Circle.d.ts +0 -8
- package/icons/CircleLine.d.ts +0 -8
- package/icons/FilledCircle.d.ts +0 -8
- package/icons/Point.d.ts +0 -8
- package/icons/StrokeCircle.d.ts +0 -8
- package/index.d.ts +0 -2
- package/modern/Component.d.ts +0 -8
- package/modern/components/CustomizedLabel.d.ts +0 -4
- package/modern/components/Dot/index.d.ts +0 -5
- package/modern/components/Legends/index.d.ts +0 -14
- package/modern/components/LinearGradient.d.ts +0 -5
- package/modern/components/RectBar.d.ts +0 -3
- package/modern/components/Tick/index.d.ts +0 -5
- package/modern/components/TooltipContent/index.d.ts +0 -11
- package/modern/hooks/usePathBar/index.d.ts +0 -14
- package/modern/hooks/usePathBar/utils/getRadius.d.ts +0 -2
- package/modern/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
- package/modern/hooks/useSettings/utils/setDatas.d.ts +0 -5
- package/modern/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
- package/modern/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
- package/modern/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
- package/modern/icons/Circle.d.ts +0 -8
- package/modern/icons/CircleLine.d.ts +0 -8
- package/modern/icons/FilledCircle.d.ts +0 -8
- package/modern/icons/Point.d.ts +0 -8
- package/modern/icons/StrokeCircle.d.ts +0 -8
- package/modern/index.d.ts +0 -2
- package/modern/types/index.d.ts +0 -14
- package/modern/types/labelList.types.d.ts +0 -5
- package/modern/types/utils/index.d.ts +0 -7
- package/modern/types/yAxis.types.d.ts +0 -8
- package/moderncssm/Component.d.ts +0 -8
- package/moderncssm/components/CustomizedLabel.d.ts +0 -4
- package/moderncssm/components/Dot/index.d.ts +0 -5
- package/moderncssm/components/Legends/index.d.ts +0 -14
- package/moderncssm/components/LinearGradient.d.ts +0 -5
- package/moderncssm/components/RectBar.d.ts +0 -3
- package/moderncssm/components/Tick/index.d.ts +0 -5
- package/moderncssm/components/TooltipContent/index.d.ts +0 -11
- package/moderncssm/hooks/usePathBar/index.d.ts +0 -14
- package/moderncssm/hooks/usePathBar/utils/getRadius.d.ts +0 -2
- package/moderncssm/hooks/useSettings/index.d.ts +0 -19
- package/moderncssm/hooks/useSettings/utils/setComposedChartsMargin.d.ts +0 -12
- package/moderncssm/hooks/useSettings/utils/setDatas.d.ts +0 -5
- package/moderncssm/hooks/useSettings/utils/setGradientCharts.d.ts +0 -3
- package/moderncssm/hooks/useSettings/utils/setLegendMargin.d.ts +0 -4
- package/moderncssm/hooks/useSettings/utils/sortByIndex.d.ts +0 -3
- package/moderncssm/icons/Circle.d.ts +0 -8
- package/moderncssm/icons/CircleLine.d.ts +0 -8
- package/moderncssm/icons/FilledCircle.d.ts +0 -8
- package/moderncssm/icons/Point.d.ts +0 -8
- package/moderncssm/icons/StrokeCircle.d.ts +0 -8
- package/moderncssm/index.d.ts +0 -2
- package/moderncssm/types/index.d.ts +0 -14
- package/moderncssm/types/labelList.types.d.ts +0 -5
- package/moderncssm/types/utils/index.d.ts +0 -7
- package/moderncssm/types/yAxis.types.d.ts +0 -8
- package/src/hoc/Customized.jsx +0 -7
- package/types/brush.types.d.ts +0 -41
- package/types/cartesianGrid.types.d.ts +0 -23
- package/types/chart.types.d.ts +0 -61
- package/types/composedChart.types.d.ts +0 -33
- package/types/index.d.ts +0 -14
- package/types/labelList.types.d.ts +0 -5
- package/types/legend.types.d.ts +0 -30
- package/types/options.types.d.ts +0 -59
- package/types/payload.types.d.ts +0 -29
- package/types/responsiveContainer.types.d.ts +0 -10
- package/types/seria.types.d.ts +0 -72
- package/types/tooltip.types.d.ts +0 -70
- package/types/utils/axis.types.d.ts +0 -68
- package/types/utils/coordinates.types.d.ts +0 -11
- package/types/utils/data.types.d.ts +0 -17
- package/types/utils/dot.types.d.ts +0 -73
- package/types/utils/gradient.types.d.ts +0 -29
- package/types/utils/index.d.ts +0 -7
- package/types/utils/tick.types.d.ts +0 -19
- package/types/xAxis.types.d.ts +0 -16
- package/types/yAxis.types.d.ts +0 -8
package/esm/index.css
CHANGED
|
@@ -1,35 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
:
|
|
3
|
-
}
|
|
4
|
-
--color-light-text-primary: rgba(3, 3, 6, 0.88); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
5
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
6
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
7
|
-
} :root {
|
|
8
|
-
|
|
9
|
-
/* Hard */
|
|
10
|
-
|
|
11
|
-
/* Up */
|
|
12
|
-
|
|
13
|
-
/* Hard up */
|
|
14
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
15
|
-
|
|
16
|
-
/* новые значения, используйте их */
|
|
17
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
18
|
-
|
|
19
|
-
/* новые значения, используйте их */
|
|
20
|
-
|
|
21
|
-
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
22
|
-
/* stylelint-disable-next-line length-zero-no-unit */
|
|
23
|
-
} :root {
|
|
24
|
-
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
25
|
-
} /* сбрасывает синюю подсветку при нажатии */ .chart__coreChart_nclsv .recharts-line path {
|
|
1
|
+
:root {
|
|
2
|
+
--color-light-text-primary: rgba(3, 3, 6, 0.88);
|
|
3
|
+
} .chart__coreChart_13mga .recharts-line path {
|
|
26
4
|
transition: d 0.2s ease-out;
|
|
27
|
-
} .
|
|
5
|
+
} .chart__coreChart_13mga .recharts-text tspan {
|
|
28
6
|
fill: var(--color-light-text-primary);
|
|
29
7
|
font-size: 16px;
|
|
30
8
|
line-height: 22px;
|
|
31
|
-
} .
|
|
9
|
+
} .chart__bar_13mga {
|
|
32
10
|
transition: opacity 0.2s ease-out, d 0.2s ease-out;
|
|
33
|
-
} .
|
|
11
|
+
} .chart__unfocused_13mga {
|
|
34
12
|
opacity: 0.3;
|
|
35
13
|
}
|
package/esm/index.js
CHANGED
package/esm/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '../../vars/src/index.css';\n\n.coreChart {\n & :global(.recharts-line path) {\n transition: d 0.2s ease-out;\n }\n\n & :global(.recharts-text tspan) {\n fill: var(--color-light-text-primary);\n font-size: 16px;\n line-height: 22px;\n }\n}\n\n.bar {\n transition: opacity 0.2s ease-out, d 0.2s ease-out;\n}\n\n.unfocused {\n opacity: 0.3;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,wBAAwB,CAAC,KAAK,CAAC,kBAAkB,CAAC,WAAW,CAAC,wBAAwB,CAAC;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LegendProps } from '../../types/legend.types';
|
|
3
|
+
import { SeriaProps } from '../../types/seria.types';
|
|
4
|
+
import { DataDynamicBooleanProps } from '../../types/utils/data.types';
|
|
5
|
+
interface Props {
|
|
6
|
+
legend: LegendProps;
|
|
7
|
+
series: SeriaProps[];
|
|
8
|
+
id: string;
|
|
9
|
+
charts: DataDynamicBooleanProps;
|
|
10
|
+
toggleChart(item: SeriaProps): void;
|
|
11
|
+
}
|
|
12
|
+
export declare const Legends: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLUListElement>>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PayloadProps } from '../../types/payload.types';
|
|
3
|
+
import { SeriaProps } from '../../types/seria.types';
|
|
4
|
+
import { TooltipProps } from '../../types/tooltip.types';
|
|
5
|
+
export interface TooltipContentProps extends TooltipProps {
|
|
6
|
+
payload: PayloadProps[];
|
|
7
|
+
series: SeriaProps[];
|
|
8
|
+
}
|
|
9
|
+
export declare const TooltipContent: ({ payload, separator, label, tooltipArrowSide, arrow, series, labelFormatter, labelStyle, }: TooltipContentProps) => React.JSX.Element | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RadiusProp } from '../../types/seria.types';
|
|
2
|
+
export declare type usePathBarProps = {
|
|
3
|
+
radius?: RadiusProp;
|
|
4
|
+
height: number;
|
|
5
|
+
background?: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
height: number;
|
|
9
|
+
width: number;
|
|
10
|
+
};
|
|
11
|
+
y?: number;
|
|
12
|
+
};
|
|
13
|
+
export declare const usePathBar: (props: usePathBarProps) => number[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getRadius: (height: number, radius: number) => number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { OptionsProps } from
|
|
3
|
-
import { DataDynamicBooleanProps, DataDynamicProps } from
|
|
4
|
-
type Settings = [
|
|
2
|
+
import { OptionsProps } from '../../types/options.types';
|
|
3
|
+
import { DataDynamicBooleanProps, DataDynamicProps } from '../../types/utils/data.types';
|
|
4
|
+
declare type Settings = [
|
|
5
5
|
{
|
|
6
6
|
state: OptionsProps | null;
|
|
7
7
|
data: DataDynamicProps[];
|
|
@@ -15,5 +15,5 @@ type Settings = [
|
|
|
15
15
|
setFilterCount: Dispatch<SetStateAction<number>>;
|
|
16
16
|
}
|
|
17
17
|
];
|
|
18
|
-
declare const useSettings: (options: OptionsProps) => Settings;
|
|
19
|
-
export {
|
|
18
|
+
export declare const useSettings: (options: OptionsProps) => Settings;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BrushProps } from '../../../types/brush.types';
|
|
2
|
+
import { ComposedChartProps } from '../../../types/composedChart.types';
|
|
3
|
+
import { LegendProps } from '../../../types/legend.types';
|
|
4
|
+
import { XAxisProps } from '../../../types/xAxis.types';
|
|
5
|
+
declare type ComposedChartsMarginResultProps = {
|
|
6
|
+
top: number;
|
|
7
|
+
bottom: number;
|
|
8
|
+
left: number;
|
|
9
|
+
right: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const setComposedChartsMargin: (composeChart: ComposedChartProps, legend: LegendProps | undefined, brush: BrushProps | undefined, xAxis: XAxisProps) => ComposedChartsMarginResultProps;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SeriaProps } from '../../../types/seria.types';
|
|
2
|
+
import { DataDynamicBooleanProps, DataDynamicProps } from '../../../types/utils/data.types';
|
|
3
|
+
declare type DatasResultProps = [DataDynamicProps[], DataDynamicBooleanProps, number];
|
|
4
|
+
export declare const setDatas: (series: SeriaProps[], labels: Array<string | number>) => DatasResultProps;
|
|
5
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactText } from 'react';
|
|
2
2
|
import { DataKey } from 'recharts/types/util/types';
|
|
3
|
-
interface BrushProps {
|
|
3
|
+
export interface BrushProps {
|
|
4
4
|
/**
|
|
5
5
|
* Ключ данных
|
|
6
6
|
*/
|
|
@@ -38,4 +38,3 @@ interface BrushProps {
|
|
|
38
38
|
*/
|
|
39
39
|
stroke?: string;
|
|
40
40
|
}
|
|
41
|
-
export { BrushProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { RectangleProps } from 'recharts';
|
|
3
3
|
import { DataKey } from 'recharts/types/util/types';
|
|
4
|
-
import { DataProps } from
|
|
5
|
-
import { DotSettingProps } from
|
|
6
|
-
type CurveType = 'linear' | 'monotone' | 'step';
|
|
7
|
-
type RectangleShapeType = ReactElement<SVGElement> | ((props: any) => ReactElement<SVGElement>) | RectangleProps | boolean;
|
|
8
|
-
interface ChartProps {
|
|
4
|
+
import { DataProps } from './utils/data.types';
|
|
5
|
+
import { DotSettingProps } from './utils/dot.types';
|
|
6
|
+
declare type CurveType = 'linear' | 'monotone' | 'step';
|
|
7
|
+
export declare type RectangleShapeType = ReactElement<SVGElement> | ((props: any) => ReactElement<SVGElement>) | RectangleProps | boolean;
|
|
8
|
+
export interface ChartProps {
|
|
9
9
|
/**
|
|
10
10
|
* Название графика (отображается в легендах и тултипе)
|
|
11
11
|
*/
|
|
@@ -51,11 +51,11 @@ interface ChartProps {
|
|
|
51
51
|
*/
|
|
52
52
|
strokeDasharray?: string | number;
|
|
53
53
|
}
|
|
54
|
-
interface ToggleChartProps {
|
|
54
|
+
export interface ToggleChartProps {
|
|
55
55
|
chart?: 'line' | 'area' | 'bar' | 'gradient';
|
|
56
56
|
data?: DataProps[];
|
|
57
57
|
icon?: 'circleLine' | 'filledCircle' | 'strokeCircle' | 'circle';
|
|
58
58
|
order?: number;
|
|
59
59
|
properties: ChartProps;
|
|
60
60
|
}
|
|
61
|
-
export {
|
|
61
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './utils';
|
|
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 +1,5 @@
|
|
|
1
1
|
import { Formatter } from 'recharts/types/component/DefaultLegendContent';
|
|
2
|
-
interface LegendProps {
|
|
2
|
+
export interface LegendProps {
|
|
3
3
|
/**
|
|
4
4
|
* Выравнивание элементов легенды в вертикальном направлении.
|
|
5
5
|
*/
|
|
@@ -27,4 +27,3 @@ interface LegendProps {
|
|
|
27
27
|
*/
|
|
28
28
|
iconHeight?: number;
|
|
29
29
|
}
|
|
30
|
-
export { LegendProps };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import { BrushProps } from
|
|
4
|
-
import { CartesianGridProps } from
|
|
5
|
-
import { ComposedChartProps } from
|
|
6
|
-
import { LegendProps } from
|
|
7
|
-
import { ResponsiveContainerProps } from
|
|
8
|
-
import { SeriaProps } from
|
|
9
|
-
import { TooltipProps } from
|
|
10
|
-
import { XAxisProps } from
|
|
11
|
-
import { YAxisProps } from
|
|
12
|
-
interface OptionsProps {
|
|
2
|
+
import { BrushProps } from './brush.types';
|
|
3
|
+
import { CartesianGridProps } from './cartesianGrid.types';
|
|
4
|
+
import { ComposedChartProps } from './composedChart.types';
|
|
5
|
+
import { LegendProps } from './legend.types';
|
|
6
|
+
import { ResponsiveContainerProps } from './responsiveContainer.types';
|
|
7
|
+
import { SeriaProps } from './seria.types';
|
|
8
|
+
import { TooltipProps } from './tooltip.types';
|
|
9
|
+
import { XAxisProps } from './xAxis.types';
|
|
10
|
+
import { YAxisProps } from './yAxis.types';
|
|
11
|
+
export interface OptionsProps {
|
|
13
12
|
/**
|
|
14
13
|
* Индефикатор графика
|
|
15
14
|
*/
|
|
@@ -56,4 +55,3 @@ interface OptionsProps {
|
|
|
56
55
|
labels: Array<string | number>;
|
|
57
56
|
children?: React.ReactNode;
|
|
58
57
|
}
|
|
59
|
-
export { OptionsProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DataDynamicBooleanProps } from
|
|
3
|
-
interface PayloadProps {
|
|
2
|
+
import { DataDynamicBooleanProps } from './utils/data.types';
|
|
3
|
+
export interface PayloadProps {
|
|
4
4
|
/**
|
|
5
5
|
* Цвет графика
|
|
6
6
|
*/
|
|
@@ -26,4 +26,3 @@ interface PayloadProps {
|
|
|
26
26
|
*/
|
|
27
27
|
value: number;
|
|
28
28
|
}
|
|
29
|
-
export { PayloadProps };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import React from 'react';
|
|
3
|
-
interface ResponsiveContainerProps {
|
|
2
|
+
export interface ResponsiveContainerProps {
|
|
4
3
|
/**
|
|
5
4
|
* Debounce функция при ресайзе
|
|
6
5
|
*/
|
|
7
6
|
debounce?: number;
|
|
8
7
|
children?: React.ReactNode;
|
|
9
8
|
}
|
|
10
|
-
export { ResponsiveContainerProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DataProps } from
|
|
2
|
-
import { GradientProps } from
|
|
3
|
-
import { ChartProps } from
|
|
4
|
-
import { LabelListProps } from
|
|
5
|
-
type RadiusProp = {
|
|
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
|
+
export declare type RadiusProp = {
|
|
6
6
|
top?: number;
|
|
7
7
|
bottom?: number;
|
|
8
8
|
};
|
|
9
|
-
interface SeriaProps {
|
|
9
|
+
export interface SeriaProps {
|
|
10
10
|
/**
|
|
11
11
|
* Скрыть график
|
|
12
12
|
*/
|
|
@@ -69,4 +69,3 @@ interface SeriaProps {
|
|
|
69
69
|
*/
|
|
70
70
|
data: DataProps[];
|
|
71
71
|
}
|
|
72
|
-
export { RadiusProp, SeriaProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactText, SVGProps } from 'react';
|
|
2
2
|
import { AnimationTiming } from 'recharts/types/util/types';
|
|
3
|
-
interface TooltipProps {
|
|
3
|
+
export interface TooltipProps {
|
|
4
4
|
/**
|
|
5
5
|
* Разделитель между именем и значением.
|
|
6
6
|
*/
|
|
@@ -67,4 +67,3 @@ interface TooltipProps {
|
|
|
67
67
|
*/
|
|
68
68
|
content?: any;
|
|
69
69
|
}
|
|
70
|
-
export { TooltipProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement, SVGProps } from 'react';
|
|
2
|
-
interface AxisProps {
|
|
2
|
+
export interface AxisProps {
|
|
3
3
|
/**
|
|
4
4
|
* Скрыть ось
|
|
5
5
|
*/
|
|
@@ -65,4 +65,3 @@ interface AxisProps {
|
|
|
65
65
|
*/
|
|
66
66
|
tick?: SVGProps<SVGTextElement> | ReactElement<SVGElement> | ((props: any) => ReactElement<SVGElement>) | boolean;
|
|
67
67
|
}
|
|
68
|
-
export { AxisProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface DataProps {
|
|
1
|
+
export interface DataProps {
|
|
2
2
|
/**
|
|
3
3
|
* Метка
|
|
4
4
|
*/
|
|
@@ -8,10 +8,9 @@ interface DataProps {
|
|
|
8
8
|
*/
|
|
9
9
|
value: number;
|
|
10
10
|
}
|
|
11
|
-
interface DataDynamicProps {
|
|
11
|
+
export interface DataDynamicProps {
|
|
12
12
|
[key: string]: number | string;
|
|
13
13
|
}
|
|
14
|
-
interface DataDynamicBooleanProps {
|
|
14
|
+
export interface DataDynamicBooleanProps {
|
|
15
15
|
[key: string]: boolean;
|
|
16
16
|
}
|
|
17
|
-
export { DataProps, DataDynamicProps, DataDynamicBooleanProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CoordinatesProps } from
|
|
2
|
-
import { DataProps } from
|
|
3
|
-
interface DotSettingProps {
|
|
1
|
+
import { CoordinatesProps } from './coordinates.types';
|
|
2
|
+
import { DataProps } from './data.types';
|
|
3
|
+
export interface DotSettingProps {
|
|
4
4
|
/**
|
|
5
5
|
* Значение media query.
|
|
6
6
|
*/
|
|
@@ -22,7 +22,7 @@ interface DotSettingProps {
|
|
|
22
22
|
*/
|
|
23
23
|
height: number;
|
|
24
24
|
}
|
|
25
|
-
interface ActiveDotProps {
|
|
25
|
+
export interface ActiveDotProps {
|
|
26
26
|
/**
|
|
27
27
|
* Индекс предыдущей точки.
|
|
28
28
|
*/
|
|
@@ -32,11 +32,11 @@ interface ActiveDotProps {
|
|
|
32
32
|
*/
|
|
33
33
|
active: number | null;
|
|
34
34
|
}
|
|
35
|
-
interface PointProps extends CoordinatesProps {
|
|
35
|
+
export interface PointProps extends CoordinatesProps {
|
|
36
36
|
value: string | number;
|
|
37
37
|
payload: DataProps;
|
|
38
38
|
}
|
|
39
|
-
interface DotProps {
|
|
39
|
+
export interface DotProps {
|
|
40
40
|
/**
|
|
41
41
|
* Индекс активной точки на графике.
|
|
42
42
|
*/
|
|
@@ -70,4 +70,3 @@ interface DotProps {
|
|
|
70
70
|
*/
|
|
71
71
|
value: number;
|
|
72
72
|
}
|
|
73
|
-
export { DotSettingProps, ActiveDotProps, PointProps, DotProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface GradientProps {
|
|
1
|
+
export interface GradientProps {
|
|
2
2
|
/**
|
|
3
3
|
* Отступ.
|
|
4
4
|
*/
|
|
@@ -12,7 +12,7 @@ interface GradientProps {
|
|
|
12
12
|
*/
|
|
13
13
|
stopOpacity: number;
|
|
14
14
|
}
|
|
15
|
-
interface LinearGradientProps {
|
|
15
|
+
export interface LinearGradientProps {
|
|
16
16
|
/**
|
|
17
17
|
* Индефикатор графика.
|
|
18
18
|
*/
|
|
@@ -26,4 +26,3 @@ interface LinearGradientProps {
|
|
|
26
26
|
*/
|
|
27
27
|
points: GradientProps[];
|
|
28
28
|
}
|
|
29
|
-
export { GradientProps, LinearGradientProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { XAxisProps } from
|
|
3
|
-
interface TickProps {
|
|
2
|
+
import { XAxisProps } from '../xAxis.types';
|
|
3
|
+
export interface TickProps {
|
|
4
4
|
payload: {
|
|
5
5
|
coordinate: number;
|
|
6
6
|
value: number;
|
|
@@ -16,4 +16,3 @@ interface TickProps {
|
|
|
16
16
|
*/
|
|
17
17
|
xAxis: XAxisProps;
|
|
18
18
|
}
|
|
19
|
-
export { TickProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AxisProps } from
|
|
2
|
-
interface XAxisProps extends AxisProps {
|
|
1
|
+
import { AxisProps } from './utils/axis.types';
|
|
2
|
+
export interface XAxisProps extends AxisProps {
|
|
3
3
|
/**
|
|
4
4
|
* Ключ данных, отображаемых на оси.
|
|
5
5
|
*/
|
|
@@ -13,4 +13,3 @@ interface XAxisProps extends AxisProps {
|
|
|
13
13
|
*/
|
|
14
14
|
tickType?: 'point';
|
|
15
15
|
}
|
|
16
|
-
export { XAxisProps };
|