@evergis/charts 3.1.1 → 3.1.2

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 (185) hide show
  1. package/dist/charts/BarChart/drawLines/index.d.ts +3 -4
  2. package/dist/charts/BarChart/getBars/index.d.ts +1 -1
  3. package/dist/charts/BarChart/index.d.ts +2 -2
  4. package/dist/charts/BarChart/styled.d.ts +3 -2
  5. package/dist/charts/BarChart/types.d.ts +8 -8
  6. package/dist/charts/BubbleChart/index.d.ts +3 -3
  7. package/dist/charts/BubbleChart/styled.d.ts +2 -1
  8. package/dist/charts/BubbleChart/types.d.ts +5 -5
  9. package/dist/charts/BubbleChart/unmount.d.ts +1 -1
  10. package/dist/charts/CalendarChart/index.d.ts +3 -3
  11. package/dist/charts/CalendarChart/types.d.ts +5 -5
  12. package/dist/charts/HorizontalBarChart/hooks/useStackWrapper.d.ts +4 -4
  13. package/dist/charts/HorizontalBarChart/index.d.ts +3 -3
  14. package/dist/charts/HorizontalBarChart/types.d.ts +3 -3
  15. package/dist/charts/LineChart/index.d.ts +3 -3
  16. package/dist/charts/LineChart/styled.d.ts +2 -1
  17. package/dist/charts/LineChart/types.d.ts +3 -3
  18. package/dist/charts/PieChart/index.d.ts +3 -3
  19. package/dist/charts/PieChart/types.d.ts +4 -4
  20. package/dist/charts.cjs.development.js +241 -451
  21. package/dist/charts.cjs.development.js.map +1 -1
  22. package/dist/charts.cjs.production.min.js +1 -1
  23. package/dist/charts.cjs.production.min.js.map +1 -1
  24. package/dist/charts.esm.js +241 -451
  25. package/dist/charts.esm.js.map +1 -1
  26. package/dist/common/components/SwipeScroll/index.d.ts +2 -2
  27. package/dist/common/components/SwipeScroll/types.d.ts +4 -3
  28. package/dist/common/components/labels/index.d.ts +1 -1
  29. package/dist/common/components/labels/types.d.ts +2 -2
  30. package/dist/hooks/useNode.d.ts +1 -1
  31. package/dist/hooks/useResize.d.ts +1 -1
  32. package/dist/index.d.ts +26 -26
  33. package/dist/jest.config.d.ts +14 -0
  34. package/dist/stories/Bar/Examples.stories.d.ts +23 -0
  35. package/dist/stories/Bar/HorizontalBar.stories.d.ts +25 -0
  36. package/dist/stories/Bar/Statistics.stories.d.ts +7 -0
  37. package/dist/stories/Bar/VerticalBar.stories.d.ts +41 -0
  38. package/dist/stories/Bubble/Bubble.stories.d.ts +23 -0
  39. package/dist/stories/Bubble/Examples.stories.d.ts +4 -0
  40. package/dist/stories/Bubble/examples/VEB/InvestBubble.d.ts +5 -0
  41. package/dist/stories/Bubble/examples/VEB/hooks/useCustomize.d.ts +3 -0
  42. package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/index.d.ts +4 -0
  43. package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/styled.d.ts +8 -0
  44. package/dist/stories/Bubble/examples/VEB/styled.d.ts +1 -0
  45. package/dist/stories/Calendar/Calendar.stories.d.ts +23 -0
  46. package/dist/stories/Calendar/ColorScheme.stories.d.ts +7 -0
  47. package/dist/stories/Calendar/Examples.stories.d.ts +11 -0
  48. package/dist/stories/Calendar/Legend.stories.d.ts +30 -0
  49. package/dist/stories/Common/SwipeScroll/SwipeScroll.stories.d.ts +13 -0
  50. package/dist/stories/Common/SwipeScroll/hooks/useSwipe.d.ts +1 -0
  51. package/dist/stories/Line/Examples.stories.d.ts +7 -0
  52. package/dist/stories/Line/Line.stories.d.ts +48 -0
  53. package/dist/stories/Line/examples/Beeline.d.ts +5 -0
  54. package/dist/stories/Line/examples/GeoVeb.d.ts +5 -0
  55. package/dist/stories/Line/examples/GeoVebInterval/data.d.ts +9 -0
  56. package/dist/stories/Line/examples/GeoVebInterval/index.d.ts +5 -0
  57. package/dist/stories/Line/examples/GeoVebInterval/styled.d.ts +4 -0
  58. package/dist/stories/Line/examples/Msp.d.ts +5 -0
  59. package/dist/stories/Pie/ColorScheme.stories.d.ts +7 -0
  60. package/dist/stories/Pie/Examples.stories.d.ts +7 -0
  61. package/dist/stories/Pie/Pie.stories.d.ts +47 -0
  62. package/dist/stories/Radar/Chart.stories.d.ts +38 -0
  63. package/dist/stories/Radar/Github.stories.d.ts +7 -0
  64. package/dist/stories/Radar/Gradient.stories.d.ts +7 -0
  65. package/dist/stories/Radar/Veb.stories.d.ts +7 -0
  66. package/dist/stories/Sankey/Examples.stories.d.ts +4 -0
  67. package/dist/stories/Sankey/examples/RelatedIndustries/data.d.ts +2 -0
  68. package/dist/stories/Sankey/examples/RelatedIndustries/index.d.ts +5 -0
  69. package/dist/stories/__internal__/colors.d.ts +40 -0
  70. package/dist/stories/__internal__/components/BeelineLineChart/hooks/useCustomize.d.ts +11 -0
  71. package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/index.d.ts +5 -0
  72. package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/styled.d.ts +5 -0
  73. package/dist/stories/__internal__/components/BeelineLineChart/index.d.ts +3 -0
  74. package/dist/stories/__internal__/components/BeelineLineChart/styled.d.ts +3 -0
  75. package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/index.d.ts +7 -0
  76. package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/styled.d.ts +3 -0
  77. package/dist/stories/__internal__/components/BeelineRangeLineChart/hooks/useChange.d.ts +8 -0
  78. package/dist/stories/__internal__/components/BeelineRangeLineChart/index.d.ts +2 -0
  79. package/dist/stories/__internal__/components/BeelineRangeLineChart/styled.d.ts +4 -0
  80. package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/data.d.ts +5 -0
  81. package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/hooks/useRenderDataTable.d.ts +2 -0
  82. package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/index.d.ts +2 -0
  83. package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/styled.d.ts +3 -0
  84. package/dist/stories/__internal__/components/Divider.d.ts +6 -0
  85. package/dist/stories/__internal__/components/GeoVebBarCharts.d.ts +2 -0
  86. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/data.d.ts +47 -0
  87. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useRenderTooltip.d.ts +3 -0
  88. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useSimpleRenderTooltip.d.ts +3 -0
  89. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/index.d.ts +4 -0
  90. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/styled.d.ts +4 -0
  91. package/dist/stories/__internal__/components/GeoYearsBarChart/index.d.ts +2 -0
  92. package/dist/stories/__internal__/components/GeoYearsBarChart/styled.d.ts +4 -0
  93. package/dist/stories/__internal__/components/MixedTableChart/Chart/index.d.ts +3 -0
  94. package/dist/stories/__internal__/components/MixedTableChart/Chart/styled.d.ts +2 -0
  95. package/dist/stories/__internal__/components/MixedTableChart/index.d.ts +3 -0
  96. package/dist/stories/__internal__/components/MixedTableChart/styled.d.ts +5 -0
  97. package/dist/stories/__internal__/components/MixedTableChart/types.d.ts +21 -0
  98. package/dist/stories/__internal__/components/MspDashboardChart/hooks/useAnimation.d.ts +5 -0
  99. package/dist/stories/__internal__/components/MspDashboardChart/index.d.ts +3 -0
  100. package/dist/stories/__internal__/components/MspDashboardChart/styled.d.ts +5 -0
  101. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationAreas.d.ts +6 -0
  102. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationBars.d.ts +5 -0
  103. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useCustomize.d.ts +4 -0
  104. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useData.d.ts +8 -0
  105. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useMarshalledMap.d.ts +1 -0
  106. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useRenderTooltip.d.ts +2 -0
  107. package/dist/stories/__internal__/components/MspPromSupplyBarChart/index.d.ts +9 -0
  108. package/dist/stories/__internal__/components/MspPromSupplyBarChart/styled.d.ts +22 -0
  109. package/dist/stories/__internal__/components/SankeyTriChart/Groups/getCSSProperties.d.ts +4 -0
  110. package/dist/stories/__internal__/components/SankeyTriChart/Groups/helpers.d.ts +1 -0
  111. package/dist/stories/__internal__/components/SankeyTriChart/Groups/index.d.ts +5 -0
  112. package/dist/stories/__internal__/components/SankeyTriChart/Groups/styled.d.ts +1 -0
  113. package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/getCSSProperties.d.ts +3 -0
  114. package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/index.d.ts +5 -0
  115. package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/styled.d.ts +8 -0
  116. package/dist/stories/__internal__/components/SankeyTriChart/draw.d.ts +2 -0
  117. package/dist/stories/__internal__/components/SankeyTriChart/helpers.d.ts +9 -0
  118. package/dist/stories/__internal__/components/SankeyTriChart/index.d.ts +10 -0
  119. package/dist/stories/__internal__/components/SankeyTriChart/marshaling.d.ts +6 -0
  120. package/dist/stories/__internal__/components/SankeyTriChart/styled.d.ts +1 -0
  121. package/dist/stories/__internal__/components/SankeyTriChart/types.d.ts +40 -0
  122. package/dist/stories/__internal__/components/SberBarMixChart/colors.d.ts +3 -0
  123. package/dist/stories/__internal__/components/SberBarMixChart/data.d.ts +8 -0
  124. package/dist/stories/__internal__/components/SberBarMixChart/hooks/styled.d.ts +3 -0
  125. package/dist/stories/__internal__/components/SberBarMixChart/hooks/useRenderTooltip.d.ts +2 -0
  126. package/dist/stories/__internal__/components/SberBarMixChart/index.d.ts +2 -0
  127. package/dist/stories/__internal__/components/SberBarMixChart/styled.d.ts +1 -0
  128. package/dist/stories/__internal__/components/StatisticsBarCharts/NumbersStatistics.d.ts +2 -0
  129. package/dist/stories/__internal__/components/StatisticsBarCharts/StringsStatistics.d.ts +2 -0
  130. package/dist/stories/__internal__/components/StatisticsBarCharts/index.d.ts +2 -0
  131. package/dist/stories/__internal__/components/StatisticsBarCharts/styled.d.ts +1 -0
  132. package/dist/stories/__internal__/components/VebEstimationBarChart/data.d.ts +38 -0
  133. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useCustomize.d.ts +5 -0
  134. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useDrawBars.d.ts +4 -0
  135. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/index.d.ts +9 -0
  136. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/styled.d.ts +1 -0
  137. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/index.d.ts +8 -0
  138. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/styled.d.ts +13 -0
  139. package/dist/stories/__internal__/components/VebEstimationBarChart/index.d.ts +3 -0
  140. package/dist/stories/__internal__/components/VebEstimationBarChart/styled.d.ts +2 -0
  141. package/dist/stories/__internal__/components/VebFilterBarChart/index.d.ts +2 -0
  142. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/index.d.ts +3 -0
  143. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/styled.d.ts +1 -0
  144. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/index.d.ts +1 -0
  145. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/styled.d.ts +5 -0
  146. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/index.d.ts +3 -0
  147. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/styled.d.ts +5 -0
  148. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/types.d.ts +11 -0
  149. package/dist/stories/__internal__/curves.d.ts +8 -0
  150. package/dist/stories/__internal__/data/msp.d.ts +14 -0
  151. package/dist/stories/__internal__/data/mspDashboard.d.ts +1 -0
  152. package/dist/stories/__internal__/data/mspPromSupply.d.ts +11 -0
  153. package/dist/stories/__internal__/data/population.d.ts +4 -0
  154. package/dist/stories/__internal__/data/veb.d.ts +31 -0
  155. package/dist/stories/__internal__/helpers/Path.d.ts +10 -0
  156. package/dist/stories/__internal__/helpers/Vector.d.ts +9 -0
  157. package/dist/stories/__internal__/helpers/animation.d.ts +15 -0
  158. package/dist/stories/__internal__/helpers/hexToRGB.d.ts +1 -0
  159. package/dist/stories/__internal__/helpers/random.d.ts +1 -0
  160. package/dist/stories/__internal__/helpers/randomData.d.ts +14 -0
  161. package/dist/stories/__internal__/helpers/randomHorizontalBarData.d.ts +5 -0
  162. package/dist/stories/__internal__/helpers/randomIntervalData.d.ts +11 -0
  163. package/dist/stories/__internal__/helpers/randomLineData.d.ts +8 -0
  164. package/dist/stories/__internal__/helpers/randomText.d.ts +1 -0
  165. package/dist/stories/__internal__/helpers/roundedRect.d.ts +10 -0
  166. package/dist/stories/__internal__/helpers/shuffleArray.d.ts +1 -0
  167. package/dist/stories/__internal__/hooks/useBarData.d.ts +10 -0
  168. package/dist/stories/__internal__/hooks/useLegend.d.ts +1 -0
  169. package/dist/stories/__internal__/hooks/useMinMaxValue.d.ts +4 -0
  170. package/dist/stories/__internal__/interpolates.d.ts +23 -0
  171. package/dist/storybook-static/1.05dfd83c.iframe.bundle.d.ts +0 -0
  172. package/dist/storybook-static/189.8c077122866758d3cf20.manager.bundle.d.ts +0 -0
  173. package/dist/storybook-static/190.58050c9beb344d4cefd9.manager.bundle.d.ts +2 -0
  174. package/dist/storybook-static/191.b202c06c72968435b80b.manager.bundle.d.ts +0 -0
  175. package/dist/storybook-static/192.83987c5b15f8a80893c5.manager.bundle.d.ts +0 -0
  176. package/dist/storybook-static/193.8a12aa992b466e778018.manager.bundle.d.ts +2 -0
  177. package/dist/storybook-static/2.0231c7b6.iframe.bundle.d.ts +0 -0
  178. package/dist/storybook-static/6.6185fd0d.iframe.bundle.d.ts +0 -0
  179. package/dist/storybook-static/7.0ede09e9.iframe.bundle.d.ts +0 -0
  180. package/dist/storybook-static/8.6f0230ef.iframe.bundle.d.ts +2 -0
  181. package/dist/storybook-static/main.6b7543c14993fcfcab71.manager.bundle.d.ts +2 -0
  182. package/dist/storybook-static/main.724b5942.iframe.bundle.d.ts +9 -0
  183. package/dist/storybook-static/runtime~main.92273705.iframe.bundle.d.ts +1 -0
  184. package/dist/storybook-static/runtime~main.c89e55a461c11ef29193.manager.bundle.d.ts +1 -0
  185. package/package.json +12 -11
@@ -0,0 +1,40 @@
1
+ export declare const colorSchemes: ({
2
+ name: string;
3
+ colors: readonly string[];
4
+ } | {
5
+ name: string;
6
+ colors: readonly (readonly string[])[];
7
+ })[];
8
+ export declare const colorScheme: {
9
+ colorScheme: {
10
+ type: {
11
+ name: string;
12
+ required: boolean;
13
+ };
14
+ description: string;
15
+ table: {
16
+ type: {
17
+ summary: string;
18
+ };
19
+ };
20
+ control: {
21
+ type: string;
22
+ options: string[];
23
+ };
24
+ };
25
+ backgroundColor: {
26
+ type: {
27
+ name: string;
28
+ required: boolean;
29
+ };
30
+ description: string;
31
+ table: {
32
+ type: {
33
+ summary: string;
34
+ };
35
+ };
36
+ control: {
37
+ type: string;
38
+ };
39
+ };
40
+ };
@@ -0,0 +1,11 @@
1
+ export declare const margin: {
2
+ top: number;
3
+ right: number;
4
+ bottom: number;
5
+ left: number;
6
+ };
7
+ export declare const height = 140;
8
+ export declare const yAxisPadding = 26;
9
+ export declare const useCustomize: () => ({ svg }: {
10
+ svg: any;
11
+ }) => void;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { LineChartDatas } from '../../../../../../src';
3
+ export declare const useLineRenderTooltip: (dates: Date[]) => (datas: LineChartDatas[], { indexX }: {
4
+ indexX: any;
5
+ }) => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const Tooltip: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const TooltipItemRow: import("styled-components").StyledComponent<"tr", any, {}, never>;
3
+ export declare const PrefixTd: import("styled-components").StyledComponent<"td", any, {}, never>;
4
+ export declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const Circle: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const timeFormat: (date: Date) => string;
3
+ export declare const BeelineLineChart: () => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const tooltipClassName = "tooltipClassName";
2
+ export declare const LineChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").LineChartProps>, any, {}, never>;
3
+ export declare const TooltipStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare type RangeProps = {
3
+ onRange: any;
4
+ rangeValue: [number, number];
5
+ };
6
+ export declare const Range: React.FC<RangeProps>;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const RangeInput: import("styled-components").StyledComponent<"input", any, {
2
+ type: string;
3
+ }, "type">;
@@ -0,0 +1,8 @@
1
+ import * as d3 from 'd3';
2
+ import { LineChartProps } from '../../../../../src';
3
+ export declare const height = 54;
4
+ export declare const useChange: (rangeValue: [number, number], width: number) => [(args: {
5
+ svg: d3.Selection<SVGSVGElement, unknown, null, undefined>;
6
+ yScale: d3.ScaleLinear<number, number, never>;
7
+ xScale: d3.ScaleLinear<number, number, never>;
8
+ }) => void, (range: [number, number]) => void];
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const BeelineRangeLineChart: () => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const width = 444;
2
+ export declare const Blank: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const BeelineLineChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").LineChartProps>, any, {}, never>;
4
+ export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
@@ -0,0 +1,5 @@
1
+ export declare const data: {
2
+ name: string;
3
+ value: number;
4
+ color: string;
5
+ }[][];
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const useRenderDataTable: () => (_: any, stackSum: number) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const BeelineTrafficHorizontalBarChart: React.FC;
@@ -0,0 +1,3 @@
1
+ export declare const HorizontalBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").HorizontalBarChartProps>, any, {}, never>;
2
+ export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const StackSumTd: import("styled-components").StyledComponent<"td", any, {}, never>;
@@ -0,0 +1,6 @@
1
+ export interface DividerProps {
2
+ vertical?: boolean;
3
+ horizontal?: boolean;
4
+ size?: number;
5
+ }
6
+ export declare const Divider: import("styled-components").StyledComponent<"div", any, DividerProps, never>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GeoVebBarCharts: () => React.JSX.Element;
@@ -0,0 +1,47 @@
1
+ export declare const legend: {
2
+ name: string;
3
+ color: string;
4
+ }[];
5
+ export declare const data: {
6
+ name: string;
7
+ value: number;
8
+ color: string;
9
+ }[][];
10
+ export declare const secondData: {
11
+ name: string;
12
+ value: number;
13
+ color: string;
14
+ }[][];
15
+ export declare const osen: {
16
+ name: string;
17
+ value: number;
18
+ color: string;
19
+ }[][];
20
+ export declare const newBuildings: ({
21
+ type: any;
22
+ label: string;
23
+ values: {
24
+ name: string;
25
+ value: number;
26
+ color: string;
27
+ }[];
28
+ unit?: undefined;
29
+ } | {
30
+ type: any;
31
+ unit: string;
32
+ label: string;
33
+ values: {
34
+ name: string;
35
+ value: number;
36
+ color: string;
37
+ }[];
38
+ } | {
39
+ unit: string;
40
+ label: string;
41
+ values: {
42
+ name: string;
43
+ value: number;
44
+ color: string;
45
+ }[];
46
+ type?: undefined;
47
+ })[];
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { HorizontalBarChartMarshalingData } from '../../../../../src';
3
+ export declare const useRenderTooltip: () => (bar: HorizontalBarChartMarshalingData[]) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { HorizontalBarChartMarshalingData } from '../../../../../src';
3
+ export declare const useSimpleRenderTooltip: () => (bar: HorizontalBarChartMarshalingData[]) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const HorizontalChart: import("styled-components").StyledComponent<React.FC<import("../../../../src").HorizontalBarChartProps>, any, {}, never>;
3
+ export declare const SimpleHorizontalChart: import("styled-components").StyledComponent<React.FC<import("../../../../src").HorizontalBarChartProps>, any, {}, never>;
4
+ export declare const GeoVebHorizontalBarCharts: React.FC;
@@ -0,0 +1,4 @@
1
+ export declare const Legend: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const LegendItem: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const ColorBox: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const Flex: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GeoYearsBarChart: React.FC;
@@ -0,0 +1,4 @@
1
+ export declare const Flex: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Blank: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const BarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
4
+ export declare const CurrentYearBox: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { MixedData, MixedTableChartProps } from '../types';
3
+ export declare const Chart: React.FC<MixedData & Pick<MixedTableChartProps, 'tooltipStyle'>>;
@@ -0,0 +1,2 @@
1
+ export declare const HorizontalBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../../src").HorizontalBarChartProps>, any, {}, never>;
2
+ export declare const PieChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../../src").PieChartProps>, any, {}, never>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { MixedTableChartProps } from './types';
3
+ export declare const MixedTableChart: React.FC<MixedTableChartProps>;
@@ -0,0 +1,5 @@
1
+ export declare const MixedTableChartContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const SumValue: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const Unit: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,21 @@
1
+ import { ReactNode, CSSProperties } from 'react';
2
+ export declare enum MixedType {
3
+ Bar = "bar",
4
+ Pie = "pie"
5
+ }
6
+ export declare type MixedData = {
7
+ type?: MixedType;
8
+ unit?: string;
9
+ label?: ReactNode;
10
+ values: {
11
+ name: ReactNode;
12
+ color: string;
13
+ value: number;
14
+ }[];
15
+ };
16
+ export declare type MixedTableChartProps = {
17
+ title?: ReactNode;
18
+ style?: CSSProperties;
19
+ data: MixedData[];
20
+ tooltipStyle?: CSSProperties;
21
+ };
@@ -0,0 +1,5 @@
1
+ export declare const useAnimation: (excludedNames: string[]) => ({ bars, yScale, marshalledData }: {
2
+ bars: any;
3
+ yScale: any;
4
+ marshalledData: any;
5
+ }) => void;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const barWidth = 19;
3
+ export declare const MspDashboardChart: () => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const MspDashboardBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
2
+ export declare const Flex: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const LegendItem: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const VerticalText: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const ColorBox: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,6 @@
1
+ export declare const useAnimationAreas: (excludedNames: string[]) => ({ lines: { areasSelection, area } }: {
2
+ lines: {
3
+ areasSelection: any;
4
+ area: any;
5
+ };
6
+ }) => void;
@@ -0,0 +1,5 @@
1
+ export declare const transitionTime = 100;
2
+ export declare const useAnimationBars: (excludedNames: string[]) => ({ groups, marshalledData }: {
3
+ groups: any;
4
+ marshalledData: any;
5
+ }) => any;
@@ -0,0 +1,4 @@
1
+ export declare const useCustomize: () => ({ svg, yScale }: {
2
+ svg: any;
3
+ yScale: any;
4
+ }) => void;
@@ -0,0 +1,8 @@
1
+ export declare const datas: {
2
+ [key: string]: number[];
3
+ };
4
+ export declare const useData: (excludedNames: string[]) => {
5
+ data: any;
6
+ minValue: number;
7
+ maxValue: number;
8
+ };
@@ -0,0 +1 @@
1
+ export declare const useMarshalledMap: () => (marshalled: any) => any;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const useRenderTooltip: (excludedNames: string[]) => (marshalled: any) => React.JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export declare const colors: {
3
+ [key: string]: string;
4
+ };
5
+ export declare const names: {
6
+ [key: string]: string;
7
+ };
8
+ export declare const barWidth = 6;
9
+ export declare const MspPromSupplyBarChart: () => React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ export declare const PromAnalyticBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
2
+ export declare const promTooltipClassName = "promTooltipClassName";
3
+ export declare const PromAnalyticBarChartRight: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
4
+ export declare const Block: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const CardFlex: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const CardTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const ChartFlex: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const Tooltip: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const GroupName: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export declare const TooltipItem: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const RightCol: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export declare const Circle: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ export declare const SvgArea: import("styled-components").StyledComponent<"svg", any, {}, never>;
14
+ export declare const SvgAreaPath: import("styled-components").StyledComponent<"polygon", any, {
15
+ points: string;
16
+ }, "points">;
17
+ export declare const TooltipValue: import("styled-components").StyledComponent<"div", any, {}, never>;
18
+ export declare const Legend: import("styled-components").StyledComponent<"div", any, {}, never>;
19
+ export declare const LegendItem: import("styled-components").StyledComponent<"div", any, {}, never>;
20
+ export declare const LegendName: import("styled-components").StyledComponent<"div", any, {}, never>;
21
+ export declare const LineThrough: import("styled-components").StyledComponent<"div", any, {}, never>;
22
+ export declare const TooltipStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
@@ -0,0 +1,4 @@
1
+ import { CSSProperties } from 'react';
2
+ import { SankeyTriChartMarshalingData } from '../types';
3
+ export declare const height = 24;
4
+ export declare const getCSSProperties: (group: SankeyTriChartMarshalingData[]) => CSSProperties;
@@ -0,0 +1 @@
1
+ export declare const groupBy: (array: any, key: string) => any;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SankeyTriChartMarshalingData } from '../types';
3
+ export declare const Groups: React.FC<{
4
+ data: null | SankeyTriChartMarshalingData[];
5
+ }>;
@@ -0,0 +1 @@
1
+ export declare const GroupBadge: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,3 @@
1
+ import { CSSProperties } from 'react';
2
+ import { SankeyTriChartMarshalingData } from '../types';
3
+ export declare const getCSSProperties: (item: SankeyTriChartMarshalingData) => CSSProperties;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SankeyTriChartMarshalingData } from '../types';
3
+ export declare const ItemContent: React.FC<{
4
+ data: null | SankeyTriChartMarshalingData[];
5
+ }>;
@@ -0,0 +1,8 @@
1
+ export declare const Name: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Description: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const ValueContainer: import("styled-components").StyledComponent<"span", any, {}, never>;
4
+ export declare const Value: import("styled-components").StyledComponent<"span", any, {}, never>;
5
+ export declare const Unit: import("styled-components").StyledComponent<"span", any, {}, never>;
6
+ export declare const LeftContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const CenterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const RightContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import { SankeyTriChartMarshalingData, SankeyTriChartProps } from './types';
2
+ export declare const draw: (node: HTMLElement | null, props: SankeyTriChartProps, setData: (data: SankeyTriChartMarshalingData[]) => void) => void;
@@ -0,0 +1,9 @@
1
+ import { RelatedIndustrySectionEnum } from './types';
2
+ export declare const sectionWidthPercent: {
3
+ [key in RelatedIndustrySectionEnum]: number;
4
+ };
5
+ export declare const getSectionWidth: ({ section, width, sectionMargin, }: {
6
+ section?: RelatedIndustrySectionEnum;
7
+ width: number;
8
+ sectionMargin: number;
9
+ }) => number;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { SankeyTriChartProps } from './types';
3
+ export declare const SankeyTriChart: React.FC<SankeyTriChartProps>;
4
+ export declare const defaultProps: {
5
+ height: number;
6
+ sectionMargin: number;
7
+ itemMinHeight: number;
8
+ curveMarginTop: number;
9
+ curveMarginBottom: number;
10
+ };
@@ -0,0 +1,6 @@
1
+ import { SankeyTriChartProps, SankeyTriChartMarshalingData, RelatedIndustrySectionEnum } from './types';
2
+ export declare const sectionsIndex: {
3
+ [key in RelatedIndustrySectionEnum]: number;
4
+ };
5
+ export declare const soloBlockId = 4444;
6
+ export declare const marshaling: ({ data, width, height, sectionMargin, itemMinHeight, curveMarginTop, curveMarginBottom, }: Required<SankeyTriChartProps>) => SankeyTriChartMarshalingData[][];
@@ -0,0 +1 @@
1
+ export declare const SvgWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,40 @@
1
+ import { DefaultLinkObject } from 'd3-shape';
2
+ export declare enum RelatedIndustrySectionEnum {
3
+ Left = "left",
4
+ Center = "center",
5
+ Right = "right"
6
+ }
7
+ export declare type RelatedIndustryItemDc = {
8
+ id?: number;
9
+ name?: string;
10
+ description?: string;
11
+ nameColor?: string;
12
+ tooltip?: string;
13
+ unit?: string;
14
+ value?: number;
15
+ isSolo?: boolean;
16
+ groupId?: number;
17
+ groupName?: string;
18
+ groupNameColor?: string;
19
+ groupTooltip?: string;
20
+ backgroundColor?: string;
21
+ gradient?: string[];
22
+ section?: RelatedIndustrySectionEnum;
23
+ };
24
+ export declare type SankeyTriChartProps = {
25
+ data: RelatedIndustryItemDc[];
26
+ width?: number;
27
+ height?: number;
28
+ sectionMargin?: number;
29
+ itemMinHeight?: number;
30
+ curveMarginTop?: number;
31
+ curveMarginBottom?: number;
32
+ };
33
+ export declare type SankeyTriChartMarshalingData = RelatedIndustryItemDc & {
34
+ sectionWidth: number;
35
+ itemHeight: number;
36
+ sectionIndex: number;
37
+ source: DefaultLinkObject['source'];
38
+ target: DefaultLinkObject['target'];
39
+ };
40
+ export declare type SectionWithoutCenter = Exclude<RelatedIndustrySectionEnum, RelatedIndustrySectionEnum.Center>;
@@ -0,0 +1,3 @@
1
+ export declare const colors: {
2
+ [key: string]: string;
3
+ };
@@ -0,0 +1,8 @@
1
+ export declare const data: {
2
+ groupName: string;
3
+ values: {
4
+ fact: number;
5
+ potencial: number;
6
+ };
7
+ }[];
8
+ export declare const lineData: number[];
@@ -0,0 +1,3 @@
1
+ export declare const TooltipContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const ValueItem: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const Triangle: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const useRenderTooltip: () => (marshalled: any) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const SberBarMixChart: React.FC;
@@ -0,0 +1 @@
1
+ export declare const BarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const NumbersStatistics: FC;
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const StringsStatistics: FC;
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const StatisticsBarCharts: FC;
@@ -0,0 +1 @@
1
+ export declare const BarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
@@ -0,0 +1,38 @@
1
+ export declare const lineValues: number[];
2
+ export declare const lineValues2: number[];
3
+ export declare enum CashFlow {
4
+ Revenue = "revenue",
5
+ Income = "income",
6
+ Depreciation = "depreciation",
7
+ Phot = "phot",
8
+ Administrative = "administrative",
9
+ Interest = "interest",
10
+ Investments = "investments",
11
+ Other = "other",
12
+ DCF = "dsf"
13
+ }
14
+ export declare const data: {
15
+ left: {
16
+ revenue: number;
17
+ depreciation: number;
18
+ phot: number;
19
+ administrative: number;
20
+ interest: number;
21
+ investments: number;
22
+ other: number;
23
+ };
24
+ right: {
25
+ income: number;
26
+ };
27
+ groupName: number;
28
+ }[];
29
+ export declare const colors: {
30
+ revenue: string;
31
+ income: string;
32
+ depreciation: string;
33
+ phot: string;
34
+ administrative: string;
35
+ interest: string;
36
+ investments: string;
37
+ other: string;
38
+ };
@@ -0,0 +1,5 @@
1
+ export declare const useCustomize: () => ({ svg, lineData, xScale }: {
2
+ svg: any;
3
+ lineData: any;
4
+ xScale: any;
5
+ }) => void;
@@ -0,0 +1,4 @@
1
+ export declare const useDrawBars: () => ({ groups, barWidth }: {
2
+ groups: any;
3
+ barWidth: any;
4
+ }) => any;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export declare const colors: {
3
+ red: string;
4
+ blue: string;
5
+ };
6
+ export declare const useRenderLabel: () => ({ name, value }: {
7
+ name: any;
8
+ value: any;
9
+ }) => React.JSX.Element | "";
@@ -0,0 +1 @@
1
+ export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { BarChartMergedData } from '../../../../../../src';
3
+ export declare const useRenderTooltip: () => (data: BarChartMergedData, { left, tooltip, top, svgWidth }: {
4
+ left: any;
5
+ tooltip: any;
6
+ top: any;
7
+ svgWidth: any;
8
+ }, barWidth: any) => React.JSX.Element;